Repository navigation
refactor: generate task name fallback on coderd - #19447
Merged
DanielleMaywood merged 6 commits intoAug 21, 2025
Merged
Conversation
DanielleMaywood
force-pushed
the
danielle/tasks/generate-fallback-name-on-coderd
branch
2 times, most recently
from
August 20, 2025 12:27
f8b0b84 to
98633f1
Compare
Instead of generating the fallback task name on the website, we instead generate it on coderd.
DanielleMaywood
force-pushed
the
danielle/tasks/generate-fallback-name-on-coderd
branch
from
August 20, 2025 12:57
98633f1 to
7cf1815
Compare
DanielleMaywood
commented
Aug 21, 2025
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` |
Contributor
Author
There was a problem hiding this comment.
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
marked this pull request as ready for review
August 21, 2025 08:25
DanielleMaywood
requested review from
johnstcn and
mafredri
and removed request for
aslilac
August 21, 2025 08:26
johnstcn
reviewed
Aug 21, 2025
mafredri
approved these changes
Aug 21, 2025
johnstcn
approved these changes
Aug 21, 2025
DanielleMaywood
deleted the
danielle/tasks/generate-fallback-name-on-coderd
branch
August 21, 2025 10:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Instead of generating the fallback task name on the website, we instead generate it on coderd.