Skip to content

ci(#288): wire the auth-config drift gate into CI β€” closes #288#350

Merged
TortoiseWolfe merged 1 commit into
mainfrom
feat/288-auth-config-drift-ci
Jul 24, 2026
Merged

ci(#288): wire the auth-config drift gate into CI β€” closes #288#350
TortoiseWolfe merged 1 commit into
mainfrom
feat/288-auth-config-drift-ci

Conversation

@TortoiseWolfe

Copy link
Copy Markdown
Owner

Final #288 item (item 4): fail CI when prod's Supabase auth config drifts from the checked-in scripts/supabase/auth-config.json β€” the #287 class (site_url/uri_allow_list drift no test caught).

Runs pnpm supabase:auth-config:check (read-only dry-run of the Management API, never PATCHes) on push to main, PRs touching the config, daily, and on demand. Uses the SUPABASE_ACCESS_TOKEN + SUPABASE_PROJECT_REF repo secrets that already existed β€” no owner action needed after all.

This PR touches the workflow, so its own pull_request run exercises the drift job with the real secrets β†’ validates the token before merge. Verified locally: exit 0, no drift.

Closes #288 β€” all four items now done (config-validity detector + unit test #346, real-form signup E2E with Mailpit #347, post-deploy @smoke suite #349, this drift gate).

πŸ€– Generated with Claude Code

…ist)

#288 item 4: fail CI if prod's Supabase auth config drifts from the checked-in scripts/supabase/auth-config.json (the #287 class β€” site_url/uri_allow_list drift no test caught). Runs 'pnpm supabase:auth-config:check' (read-only dry-run, never PATCHes) on push to main, PRs touching the config, daily, and on demand.

Uses the SUPABASE_ACCESS_TOKEN + SUPABASE_PROJECT_REF repo secrets that already exist β€” no owner action needed after all. Verified locally: exit 0, no drift.

Closes #288.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@TortoiseWolfe
TortoiseWolfe merged commit 9393848 into main Jul 24, 2026
19 of 21 checks passed
@TortoiseWolfe
TortoiseWolfe deleted the feat/288-auth-config-drift-ci branch July 24, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enterprise-level testing: the suite is green while the deployed product is unusable (a test read the placeholder client_id and passed)

2 participants