File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,9 +146,9 @@ export class UpsertBranchService {
146146 const apiKey = createApiKeyForEnv ( parentEnvironment . type ) ;
147147 const pkApiKey = createPkApiKeyForEnv ( parentEnvironment . type ) ;
148148 const isDevelopmentBranch = parentEnvironment . type === "DEVELOPMENT" ;
149- // Dev branch slugs are member-scoped, but shortcodes remain project- scoped.
150- // The parent shortcode is already unique within the project, so it gives
151- // each member's branch a stable, readable shortcode without a migration .
149+ // Dev branches can share a slug across members, so their identity is scoped by
150+ // orgMemberId. Shortcodes remain project-scoped and use the parent's unique
151+ // shortcode to distinguish otherwise identical branch slugs .
152152 const shortcode = isDevelopmentBranch
153153 ? `${ branchSlug } -${ parentEnvironment . shortcode } `
154154 : branchSlug ;
You can’t perform that action at this time.
0 commit comments