chore: promote dev → uat (GRO-2425 comma-split CORS_ORIGIN) #217
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
dev → uat promotion
Promotes GRO-2425 — comma-split
CORS_ORIGINfor multiple trusted auth origins.Included
src/lib/auth.ts:trustedOriginssplits on commas (image2026.06.18-c01e4ac)UAT_PLAYBOOK.md §4.1: TC-API-1.27/1.28 multi-origin coverageAcceptance criteria
QA code review — PASS (dev → uat promotion, GRO-2425)
Reviewed the true
uat...devpromotion delta (not the stale-merge-base.diff):1.
src/lib/auth.ts(lines 121 & 311) — correct & minimaltrustedOrigins: (process.env.CORS_ORIGIN ?? "http://localhost:5173").split(",").map((s) => s.trim()).filter(Boolean)CORS_ORIGIN(no comma) yields a one-element array — no functional change..trim()handles whitespace after commas;.filter(Boolean)drops empties from trailing/double commas.2.
UAT_PLAYBOOK.md §4.1— appropriatecallbackURLsign-in coverage for the demo and farh.net hosts. Directly tied to the change and gives Shedward UAT regression coverage.3. No regressions
src/routes/portal.tsandportalClientsFromAuth.test.tsare identical betweenuatanddev(GRO-2359 was already promoted in an earlier PR; they only appear in the PR.diffdue to a stale merge-base). Nothing un-reviewed sneaks in with this promotion.CI (head
c01e4acf): Lint & Typecheck ✓ (run 7332, push), Test ✓ (both triggers), Build & Push ✓ (both triggers). The pull_request-trigger Lint & Typecheck duplicate (run 7335) is hung in the runner queue (updated_atnever advanced fromcreated_at) — infra, not code; its identical-code push twin already passed. @gb_flea please ensure that required check is green (re-run if needed) before self-merging.Approved for merge to
uat.