Skip to content

fix: Preserve sign-out redirect during Worker migration - #62

Merged
WillieCubed merged 3 commits into
mainfrom
codex/website-cutover-parity
Sep 24, 2026
Merged

WillieCubed merged 3 commits into
mainfrom
codex/website-cutover-parity

Conversation

@WillieCubed

@WillieCubed WillieCubed commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

TL;DR

Keep the public /sign-out redirect permanent when the website runs on Cloudflare Workers.

Overview of Changes

The Pages site responds to /sign-out with a 308 redirect to /sign-in. The Worker candidate returned 307, leaving one live response mismatch during the Pages-to-Workers cutover. This change makes the Worker response match Pages and adds the route to the live parity check. It does not change where sign-out sends visitors or move production traffic.

The current branch passes pnpm check. The live comparison against the currently deployed Worker still reports the expected mismatch until this change is deployed.

Worker preview CI also stops treating the live Worker as a Pages reference. Its pre-cutover comparison uses the Pages hostname, and after Workers is production the preview browser suite remains active without comparing changes against an older release.

Follow-ups

After this fix reaches main, deploy the verified Worker version, repeat the live comparison, and complete the apex and www domain transfer from Pages while retaining the Pages deployment for rollback.

The sign-out URL now redirects permanently to its canonical page on
Workers, matching the public Pages response. Live parity checks cover
the route so the status remains consistent through cutover.

Co-authored-by: Codex <noreply@openai.com>
Only the slashless URL redirects permanently. The canonical page now
serves normally, including in the long-text accessibility check.

Co-authored-by: Codex <noreply@openai.com>
Before production moves to Workers, compare the candidate with the
Pages hostname. Once Workers serves production, skip that stale
reference and rely on preview browser acceptance.

Co-authored-by: Codex <noreply@openai.com>
@github-actions

Copy link
Copy Markdown

@WillieCubed
WillieCubed merged commit 106f237 into main Sep 24, 2026
21 checks passed
@WillieCubed
WillieCubed deleted the codex/website-cutover-parity branch September 24, 2026 17:16

This branch was successfully deployed

1 active deployment
worker-preview — 4bb29a76 Deployed Sep 24, 2026 by WillieCubed via Worker preview #72
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