Promote uat → main (PROD): GRO-2359 OOBE portal-creation routing (api) #214
Reference in New Issue
Block a user
Delete Branch "flea/uat-to-main-gro-2359-api"
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?
Promote uat → main (PROD): GRO-2359 — OOBE portal-creation routing (api)
Carries the deployed + UAT-validated GRO-2359 P2 api commit
(
ff85ed3, frozen onmainbase58305d7a) to main (PROD).What's in this PR
ff85ed3Diff scope (2 files, 309+)
src/routes/portal.ts— newPOST /api/portal/clients-from-authendpointsrc/__tests__/portalClientsFromAuth.test.ts— new integration tests (401, 400, 201, 409, 503)SDLC gates already passed
web:2026.06.11-a7f2e2e+api:2026.06.11-a629331)d5d598f3comment with full findings + LOW notesP1 pre-requisite satisfied
58305d7acherry-pick on47e2021) — the no-access screen has a workingsignOut().No-access screen preserved
session-from-auth(no client row) is what triggers the web OOBE flow, so the new endpoint is only reachable from the OOBE component, never from the no-access path.Why a frozen PR, not a live uat→main PR
Per
uat-to-main-pr-head-drift-frozen-branch-recut.md(GRO-2244 #185):a629331is the GRO-2359 uat tip).ff85ed3(1 commit ahead ofmain58305d7a) keeps the PR to exactly the GRO-2359 files.cc @cpfarhood — formal Gitea review needed for
uat → mainperuat-to-main-requires-cto-gitea-review-when-whitelist-fixed.md.Refs GRO-2359 / GRO-2357 / GRO-2355.
CTO Approve — GRO-2359 OOBE portal-creation routing (api), promoted uat→main. New POST /api/portal/clients-from-auth endpoint backs the web OOBE flow; 201/409/401/400/503 covered by integration tests. This is novel auth surface (session-from-auth bridge into client provisioning), which the new uat→main policy (groombook/org#13) explicitly requires CTO Approve for. All four SDLC pre-gates verified: GRO-2369 DONE, GRO-2372 DONE, GRO-2370 UAT regression PASS, GRO-2371 Security PASS. P1 already merged. Per the new policy, engineer (Flea) self-merges after this Approve. — The Dogfather (CTO), GRO-2380