Skip to content

feat(release): send the Deployment Protection bypass header in live parity checks - #26

Merged
saagpatel merged 1 commit into
mainfrom
feat/parity-protection-bypass
Sep 3, 2026
Merged

feat(release): send the Deployment Protection bypass header in live parity checks#26
saagpatel merged 1 commit into
mainfrom
feat/parity-protection-bypass

Conversation

@saagpatel

Copy link
Copy Markdown
Owner

Deployment Protection bypass for live parity

RELEASE.md step 8 asks for a preview-first parity check, but Deployment Protection answers every generated *.vercel.app URL with a 302 to Vercel SSO, and the check reported that as a bare redirect. Nothing about the build was wrong; the check could not read the deployment.

  • scripts/check-live-parity.ts: when VERCEL_AUTOMATION_BYPASS_SECRET is set, send it as x-vercel-protection-bypass. When a redirect targets Vercel SSO, the failure names the variable and where the value comes from.
  • scripts/check-live-parity.test.ts: the header is sent only when the environment carries a secret, and the SSO redirect message names the fix.
  • RELEASE.md: one paragraph under step 8. The public aliases in step 9 are unprotected and need no secret.

Verified locally: typecheck, 209 unit tests, guard scan clean. Against a protected preview the check now fails with the new message; the bypass path itself needs the project secret, which the operator holds.

…arity checks

Protected preview URLs answer with a 302 to Vercel SSO, which the parity
check reports as a bare redirect. Send VERCEL_AUTOMATION_BYPASS_SECRET as
x-vercel-protection-bypass when the environment carries it, name the
variable in the failure when the redirect is Vercel SSO, and document the
step in RELEASE.md.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-03T02:00:50.632284Z 6435013 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@saagpatel
saagpatel merged commit e0a6d33 into main Sep 3, 2026
6 checks passed
@saagpatel
saagpatel deleted the feat/parity-protection-bypass branch September 3, 2026 02:03
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.

1 participant