[GH-ISSUE #235] Ensure project and service name uniqueness #158

Open
opened 2026-03-03 11:13:29 +03:00 by kerem · 2 comments
Owner

Originally created by @akhil-naidu on GitHub (Jun 10, 2025).
Original GitHub issue: https://github.com/dflow-sh/dflow/issues/235

Originally assigned to: @pavanbhaskardev on GitHub.

If a project name and service name are not unique, don't throw error and stop the process of creation of project or service, replace the project/service name with a unique name and continue the process.

eg-1: project name => hasura already exists => new project created with hasura => automatically suffix the new project name with hasura-1
eg-2: project name => hasura, and hasura-1 already exists => new project created with hasura or hasura-1 => automatically suffix the new project name with hasura-2

Originally created by @akhil-naidu on GitHub (Jun 10, 2025). Original GitHub issue: https://github.com/dflow-sh/dflow/issues/235 Originally assigned to: @pavanbhaskardev on GitHub. If a project name and service name are not unique, don't throw error and stop the process of creation of project or service, replace the project/service name with a unique name and continue the process. eg-1: project name => hasura already exists => new project created with hasura => automatically suffix the new project name with hasura-1 eg-2: project name => hasura, and hasura-1 already exists => new project created with hasura or hasura-1 => automatically suffix the new project name with hasura-2
Author
Owner

@akhil-naidu commented on GitHub (Jun 10, 2025):

service name max => 8 char from frontend => on db 11
project name max => 8 char => on db 11
total max => 24 char

<!-- gh-comment-id:2957774614 --> @akhil-naidu commented on GitHub (Jun 10, 2025): service name max => 8 char from frontend => on db 11 project name max => 8 char => on db 11 total max => 24 char
Author
Owner

@pavanbhaskardev commented on GitHub (Jun 11, 2025):

Added auto-unique suffix to project name, when it's created using duplicate name, character validation is pending

<!-- gh-comment-id:2962606237 --> @pavanbhaskardev commented on GitHub (Jun 11, 2025): Added auto-unique suffix to project name, when it's created using duplicate name, character validation is pending
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dflow#158
No description provided.