- Notifications
You must be signed in to change notification settings - Fork1k
refactor: generate task name fallback on coderd#19447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
refactor: generate task name fallback on coderd#19447
Uh oh!
There was an error while loading.Please reload this page.
Conversation
f8b0b84
to98633f1
CompareInstead of generating the fallback task name on the website, we insteadgenerate it on coderd.
98633f1
to7cf1815
Compare- 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` |
There was a problem hiding this comment.
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.
Uh oh!
There was an error while loading.Please reload this page.
mafredri left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this 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--
.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
2521e73
intomainUh oh!
There was an error while loading.Please reload this page.
Instead of generating the fallback task name on the website, we instead generate it on coderd.