Repository navigation
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Script executed:
Repository: Team-Commonly/commonly
Length of output: 21577
Script executed:
Repository: Team-Commonly/commonly
Length of output: 10658
Script executed:
Repository: Team-Commonly/commonly
Length of output: 8274
The allowlist entry does not let the first-user walk complete on staging.
Staging sets
AUTH_ALLOWED_DOMAINS(values-staging.yaml:186), so the instance gate is on. Staging also has no SMTP2GO key (values-staging.yaml email block,email.enabled: false). Forwalk-<stamp>@example.invalid,POST /api/auth/registerpasses the domain check at authController.ts:421. It then returns 503INSTANCE_VERIFICATION_UNAVAILABLEat lines 426–430, before any user is created. The walk's signup step expects 201, so it stops there. The failure moves from the domain check to the delivery check.Adding a deliverable domain would not fix this. Signup still needs email delivery while the gate is on. Even with SMTP configured,
sendEmailskips reserved-domain recipients (emailService.ts:31–40). The account would stay unverified, and login would refuse it withINSTANCE_ACCESS_RESTRICTED(authController.ts:867). A correct fix needs a design decision: how the walk obtains a usable staging session. The diff alone does not establish that. No patch is proposed.