Skip to content

Preserve documentation entry queries during the site cutover - #9

Merged
zayenz merged 1 commit into
mainfrom
codex/docs-entry-routes
Sep 5, 2026
Merged

Preserve documentation entry queries during the site cutover#9
zayenz merged 1 commit into
mainfrom
codex/docs-entry-routes

Conversation

@zayenz

@zayenz zayenz commented Sep 5, 2026

Copy link
Copy Markdown
Member

Requests such as /doc?view=1 bypassed the exact Cloudflare route, and the Worker's /documentation/ redirect target is unavailable while Jekyll remains live. Use trailing-wildcard routes so queries reach the Worker, with an explicit namespace guard that passes ordinary production website pages through unchanged. Redirect the documentation entry point to /documentation.html, which works during the classic-site soak and through Astro's fallback afterward.

Add smoke checks for queried robots rules and the actual landing page. Unknown staging paths return 404 without fetching back into the custom-domain Worker. Validation: 21 Worker tests and both environment dry runs pass; final CI and staging verification required before production redeployment. The indexing policy and immutable R2 content are unchanged.

@zayenz
zayenz deployed to cloudflare-staging September 5, 2026 14:02 — with GitHub Actions Active
@zayenz
zayenz merged commit f4051a2 into main Sep 5, 2026
5 checks passed
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