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: reduce the default workspace name for a task#18193

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
BrunoQuaresma merged 1 commit intomainfrombq/fix-subdomain-size
Jun 2, 2025

Conversation

BrunoQuaresma
Copy link
Collaborator

Subdomains should have 63 max characters, so we don't want to have a long default workspace name that could overflow this limit. With that in mind, I'm reducing 3 characters from the default name.

PS: I've been facing issues with that already. Eg:

claude-code-web--dev--ai-task-1748889021126--brunoquaresma--apps.sao-paulo.fly.dev.coder.com

@BrunoQuaresma
Copy link
CollaboratorAuthor

@hugodutka just to keep in mind when creating modules, we want to keep the app names smaller as possible.

@bpmct
Copy link
Member

Can we AI generate the name based on the task using aisdk-go if configured?

@BrunoQuaresma
Copy link
CollaboratorAuthor

Can we AI generate the name based on the task using aisdk-go if configured?

Probably yes, but you are probably talking about a diff prop. In this PR we are talking about the unique workspace name that is used as a slug. In this case, we can't simply only generate it with AI, we need to make sure it is unique and handle possible database errors.

I see AI generated value for the display name 👍

@hugodutka
Copy link
Contributor

We could generate the slug with AI too. If it's already taken then append-2 or something like that.

BrunoQuaresma reacted with thumbs up emoji

@BrunoQuaresmaBrunoQuaresma merged commit1d27d4f intomainJun 2, 2025
35 checks passed
@BrunoQuaresmaBrunoQuaresma deleted the bq/fix-subdomain-size branchJune 2, 2025 18:51
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 2, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@hugodutkahugodutkahugodutka approved these changes

@bpmctbpmctAwaiting requested review from bpmct

Assignees

@BrunoQuaresmaBrunoQuaresma

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@BrunoQuaresma@bpmct@hugodutka

[8]ページ先頭

©2009-2025 Movatter.jp