Skip to content

Conversation

DanielleMaywood
Copy link
Contributor

Instead of generating the fallback task name on the website, we instead generate it on coderd.

@DanielleMaywood DanielleMaywood force-pushed the danielle/tasks/generate-fallback-name-on-coderd branch 2 times, most recently from f8b0b84 to 98633f1 Compare August 20, 2025 12:27
Instead of generating the fallback task name on the website, we instead
generate it on coderd.
@DanielleMaywood DanielleMaywood force-pushed the danielle/tasks/generate-fallback-name-on-coderd branch from 98633f1 to 7cf1815 Compare August 20, 2025 12:57
Comment on lines -23 to -35
- End with a random number between 0-99
- Maximum 32 characters total
- Maximum 28 characters total
- Descriptive of the main task

Examples:
- "Help me debug a Python script" → "task-python-debug-12"
- "Create a React dashboard component" → "task-react-dashboard-93"
- "Analyze sales data from Q3" → "task-analyze-q3-sales-37"
- "Set up CI/CD pipeline" → "task-setup-cicd-44"
- "Help me debug a Python script" → "task-python-debug"
- "Create a React dashboard component" → "task-react-dashboard"
- "Analyze sales data from Q3" → "task-analyze-q3-sales"
- "Set up CI/CD pipeline" → "task-setup-cicd"

If you cannot create a suitable name:
- Respond with "task-unnamed"
- Do not end with a random number`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We previously asked the LLM to generate a random number at the end to help reduce the odds of collision, but we'll move this to be under our control.

@DanielleMaywood DanielleMaywood marked this pull request as ready for review August 21, 2025 08:25
@DanielleMaywood DanielleMaywood requested review from mafredri and johnstcn and removed request for aslilac August 21, 2025 08:26
Copy link
Member

@mafredri mafredri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea to reduce AI workload, LGTM sans the --.

@DanielleMaywood DanielleMaywood merged commit 2521e73 into main Aug 21, 2025
33 of 35 checks passed
@DanielleMaywood DanielleMaywood deleted the danielle/tasks/generate-fallback-name-on-coderd branch August 21, 2025 10:06
@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy