[CUTOVER] Phase 5: Worker + runbook + claim conduction.nl#6
Closed
rubenvdlinde wants to merge 1 commit into
Closed
[CUTOVER] Phase 5: Worker + runbook + claim conduction.nl#6rubenvdlinde wants to merge 1 commit into
rubenvdlinde wants to merge 1 commit into
Conversation
Adds the three artifacts the cutover from connext.conduction.nl to conduction.nl needs: - sites/www/cloudflare/worker.js: Cloudflare Worker that 301-redirects the two vanity hosts (connext.conduction.nl + commonground.conduction.nl) to the canonical site, picking the right locale prefix from the visitor's Accept-Language header. Two-locale aware (en default, /nl prefix for NL). - sites/www/cloudflare/wrangler.toml: route bindings + deploy config. - briefs/cutover-runbook.md: step-by-step ordering of the merge, smoke-test, Worker-deploy, and rollback path. Outage during DNS propagation is acceptable per agreement. Cutover-triggering changes - sites/www/static/CNAME: connext.conduction.nl → conduction.nl. This is the one change in the repo that actually flips the GitHub Pages domain. Merging this PR claims conduction.nl for the design-system GitHub Pages site. - sites/www/docusaurus.config.js: url: https://connext.conduction.nl → https://conduction.nl, so canonical / OpenGraph URLs match production. Hold this PR until Phase 3 (#4) and Phase 4 (#5) are merged, and until the conduction-website CNAME-removal PR is reviewed. The runbook describes the exact merge sequence on cutover day.
6 tasks
Contributor
Author
|
Closing in favour of #8 so we can wrap the conversation that produced this. The |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merging this PR triggers the actual cutover by claiming
conduction.nlfor this repo's GitHub Pages site. Do not merge until:www.conduction.nlclaim from the legacy site)briefs/cutover-runbook.mdis followed in orderSummary
Three artifacts the cutover needs:
sites/www/cloudflare/worker.js— Cloudflare Worker that 301-redirects the two vanity hosts (connext.conduction.nlandcommonground.conduction.nl) to the canonical site atconduction.nl. Picks the locale prefix from the visitor'sAccept-Languageheader (NL →/nl/<section>, otherwise →/<section>). ~100 lines.sites/www/cloudflare/wrangler.toml— route bindings + deploy config for the Worker.briefs/cutover-runbook.md— step-by-step ordering of merge, smoke-test, Worker deploy, and rollback path.Cutover-triggering changes
sites/www/static/CNAME:connext.conduction.nl→conduction.nl. This is the change that flips GitHub Pages. Merging this PR causes the design-system site to claimconduction.nlwithin ~1 minute.sites/www/docusaurus.config.js:url: https://connext.conduction.nl→https://conduction.nl, so canonical / OpenGraph URLs match production.What changed vs Phase 4
Branched from
main(not stacked on Phase 4), since the cutover artifacts are independent of the brand-strip and translations. After Phase 3 + Phase 4 merge intomain, this branch will need a quick rebase on top before the final merge — straightforward, no conflicts expected since this branch only touchescloudflare/,briefs/, the CNAME, and one line indocusaurus.config.js.Outage during cutover
Outage during DNS propagation is acceptable per agreement (we are migrating anyway). Practical window is ~5 minutes of clock time, with a tail of an hour or two of tail-end DNS propagation that's invisible to most visitors. Rollback path documented in the runbook.
Test plan
mainfirstmain, CI greenhttps://conduction.nl/shows the Public Tech landing,/connextand/commongroundwork,/nl/shows Dutch homewrangler deployfromsites/www/cloudflare/to push the Workerhttps://connext.conduction.nl/foo→https://conduction.nl/connext/foo, locale-aware🤖 Generated with Claude Code