Repository navigation
docs(adr): one hostname for every target, routed by an edge Worker over Worker Previews and decided by Flagship - #207
Merged
Conversation
…er Worker Previews and decided by Flagship ADR-0111 records the owner's decisions of 2026-11-15 for #195, which are: - one hostname, thrust.sow.foo; - any number of live targets (prod, vX.Y.Z, the alias staging, dev-*); - explicit opt-in, with identity from Access on the opt-in path only; - every Flagship flag made by CI/CD; - a reviewer before a shared-data target migrates. It also records the design those decisions led to: - production stays the one thrust Worker, behind a routing-only edge Worker; - every other target is a Worker Preview of thrust, reached only through the edge; - data profiles shared and isolated; - the migration rules for shared data. research/0016 holds the live spike of 2026-11-16 that settled what the documentation did not: - a Preview's custom-domain URL refuses subrequests, so the edge uses workers.dev; - Access can cover one Worker's Previews only; - a script_name room binding from a Preview reaches production's rooms and code; - Flagship works from workers-rs only through extern method imports; - flag changes arrive in about 6 s; - the edge must drop Access's CF_Authorization Set-Cookie and handle redirects itself; - a Preview's version tag is empty. Everything the spike made is deleted. Dated updates, following this repository's amend-not-supersede convention: - ADR-0110: where each kind of deploy lands; - ADR-0092: the environment set; Q-0092.2's answer superseded; - ADR-0090: an edge in front of the one Worker; - ADR-0008: Flagship only at the edge; product flags stay a table; - ADR-0042: the ledger of #201 and contract migrations by name; - ADR-0061: shared targets use production's rooms. New open questions: - Q-0111.1: do Preview URLs open production's Version URLs? - Q-0111.2: does thrust work behind the edge? /api/instances/ builds its origin from Host. Refs: #195 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Stage PR A of #195: the decision record for serving production and any number of other targets from one hostname.
Docs only.
What is in it
adrs/cd/0111-one-hostname-n-targets.md, accepted).thrustWorker, behind a routing-onlythrust-edgeonthrust.sow.foo;thrust, reached only through the edge with an Access service token;sharedandisolated;research/0016-one-hostname-spike.md: the live spike of 2026-11-16, measured on the account, with everything itcreated deleted. It found:
script_nameroom binding from a Preview reaches production's rooms and runs production's code;CF_AuthorizationSet-Cookie and handle redirects itself;preview_urls = trueopen production's Version URLs past the edge?/api/instances/building its origin fromHost.Checks
The
depsjob's guards were run locally (topology, acceptance list, placement, plane-500, render self-test): all exit 0.No code changed.
Refs #195
🤖 Generated with Claude Code