Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged

Conversation

DanielleMaywood
Copy link
Contributor

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

@DanielleMaywoodDanielleMaywoodforce-pushed thedanielle/tasks/generate-fallback-name-on-coderd branch 2 times, most recently fromf8b0b84 to98633f1CompareAugust 20, 2025 12:27
Instead of generating the fallback task name on the website, we insteadgenerate it on coderd.
@DanielleMaywoodDanielleMaywoodforce-pushed thedanielle/tasks/generate-fallback-name-on-coderd branch from98633f1 to7cf1815CompareAugust 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
ContributorAuthor

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.

@DanielleMaywoodDanielleMaywood marked this pull request as ready for reviewAugust 21, 2025 08:25
@DanielleMaywoodDanielleMaywood requested review fromjohnstcn andmafredri and removed request foraslilacAugust 21, 2025 08:26
Copy link
Member

@mafredrimafredri left a comment
edited
Loading

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--.

@DanielleMaywoodDanielleMaywood merged commit2521e73 intomainAug 21, 2025
28 of 30 checks passed
@DanielleMaywoodDanielleMaywood deleted the danielle/tasks/generate-fallback-name-on-coderd branchAugust 21, 2025 10:06
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 21, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@mafredrimafredrimafredri approved these changes

@johnstcnjohnstcnjohnstcn approved these changes

Assignees

@DanielleMaywoodDanielleMaywood

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@DanielleMaywood@mafredri@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp