Appearance
Deploy the Cloudflare Worker delivery service
Foliwake can deliver a site's live pages from two Cloudflare Workers instead of the Docker delivery service. The Workers run the same delivery service code as Docker, read the site's R2 bucket directly, and keep their own cache, which every publication purges. Admin, preview, sync and publishing stay where they are.
This page is a runbook: what to create in Cloudflare, how to build and deploy the Workers, how to connect the engine's purges, how to check it, and how to go back.
Status
The Workers are in the repository (packages/worker-origin) and have run on a test Worker with a test bucket. No production site is delivered this way yet.
1. How it fits together
| Worker | Entry | Holds | Reached by |
|---|---|---|---|
| delivery | src/index.js | the public key that checks service tokens | its custom domain |
| read broker | src/broker.js | the read-only R2 key (as Worker secrets) | the delivery Worker only, by service binding |
- Delivery answers every request. It checks the access rules and emergency denies, answers from its cache when it can, and otherwise reads through the broker. It holds no store credential.
- The read broker is the only holder of the R2 key. It has no public route, and it checks the same access rules and token for each read, so a request the delivery Worker would refuse cannot read a closed page through it.
- The Foliwake server stays where it is (for example on your own host in Docker). It edits, previews and publishes into the bucket. The Workers serve the
livechannel only: no preview, no dashboard. - Publish, then purge. A publication commits to the bucket and then sends one purge-by-tag request to Cloudflare. Whatever happens to that purge, a cached page is at most 5 minutes older than the release (see stale content).
- Varnish as a reserve (optional). You can keep the Docker delivery service with Varnish running as a fallback for the Worker. Then every publication purges both caches, so the reserve is never stale when you switch back. See two caches.
2. Before you start
Cloudflare account and zone
- Workers Paid plan (Workers & Pages › Plans). Delivery hashes every byte it serves, and a request on Workers Free gets 10 ms of CPU, which is not enough. Without Paid,
limits.cpu_msin the configuration has no effect. - A zone in that account for the Worker's hostname, for example
example.comwith the Worker onorigin.example.com. Purge by tag works only inside one zone, so the Worker's hostname andCACHE_HOSTmust be in the zone you purge. - An R2 bucket that the site's storage already publishes to (
sites[].storageinfoliwake.config.json, with the R2 S3 endpoint). - Node.js 22 and pnpm, and a checkout of the Foliwake repository at the commit your Foliwake server runs.
Credentials: create new ones, with the smallest scope
Create new tokens and keys for this. Never edit an existing token: a token that other systems use would silently gain or lose rights. Each credential below does one job.
| Credential | Where to create it | Scope | Where it goes | Used by |
|---|---|---|---|---|
| R2 key, read only | R2 › Manage R2 API Tokens › Create API token | Object Read only, applied to this one bucket (not all buckets) | broker secrets S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY | read broker |
| Purge token | My Profile › API Tokens › Create Token › Custom token | Zone › Cache Purge › Purge and Zone › Zone › Read (for the dashboard's Check), Zone Resources: Include › Specific zone › your zone; nothing else | an environment variable on the Foliwake server, named by the site's cache settings | publisher (admin, integration, CLI) |
| Zone ID | the zone's Overview page (not a secret) | — | an environment variable on the Foliwake server | publisher |
| Service-token key pair, ES256 | generated locally (below) | private key signs, public key checks | public key: TOKEN_PUBLIC_JWK of both Workers; private key: only the application server that reads closed pages | your application server |
| Deploy access | wrangler login (OAuth) on the operator's machine | no API token needed | — | the operator |
The R2 key the Foliwake server publishes with can write; never give it to the broker. Create the read-only key above.
The dashboard's Check (Settings › Delivery & cache) reads the token and the zone with two read-only requests and never purges. It uses the site's purge token, so that one token needs Zone › Cache Purge › Purge and Zone › Zone › Read on the zone (one token, not two).
Service token key pair
Closed paths need a short-lived ES256 token (a JWT) from the application server that reads them. Generate a key pair with Node's built-in crypto. The private key goes to a file only you can read; the public key is printed:
sh
node --input-type=module -e '
import { generateKeyPairSync } from "node:crypto";
import { writeFileSync } from "node:fs";
const kid = process.argv[1];
const { publicKey, privateKey } = generateKeyPairSync("ec", { namedCurve: "P-256" });
writeFileSync("signing-key.jwk.json", JSON.stringify({ ...privateKey.export({ format: "jwk" }), kid, alg: "ES256" }), { mode: 0o600 });
console.log(JSON.stringify({ ...publicKey.export({ format: "jwk" }), kid, alg: "ES256", use: "sig" }));
' mysite-app-2026-11The kid (mysite-app-2026-11 here) is required: the Workers refuse a key without one. Keep the private key out of chats, repositories and logs. It goes into the application server's secret store; the printed public JWK goes into TOKEN_PUBLIC_JWK.
What the Workers accept (packages/origin/src/service-token.ts):
| Part | Value |
|---|---|
| Header | Authorization: Bearer <token> |
| Algorithm | ES256, signed by the key whose kid the token names |
iss | equal to TOKEN_ISSUER |
aud | site:<SITE> |
path | the exact path of this request, without the query: a token for /lessons/a does not open /lessons/a.plain.html |
iat, exp | both required; exp - iat at most 120 s; 5 s of clock tolerance |
A token proves which server asks, never who the reader is: the application checks its users before it signs. It can be replayed until it expires, which is why it names one path and lives briefly.
@foliwake/server signs them for you. In the application's foliwake.remote.json, give the live endpoint a service-token auth instead of basic:
json
{
"live": {
"url": "https://mysite.worker.example.com",
"auth": { "type": "service-token", "issuer": "mysite-app", "kid": "mysite-app-2026-11", "privateKeyEnv": "MYSITE_LIVE_SIGNING_KEY" }
}
}Every request to the delivery service then carries Authorization: Bearer <JWT>, signed for that request alone (claims as in the table above, exp = iat + 60). The private key is read from the variable named in privateKeyEnv (a JWK as JSON text) and is never logged; a changed value is picked up without a restart. foliwake dev --remote reads with Basic only and refuses a service-token endpoint. Details: the @foliwake/server README.
TOKEN_PUBLIC_JWK takes a JWK Set ({"keys": [...]}, 1–10 public ES256 keys, each with its own kid), so two keys can be valid during a rotation (rotation). A single JWK is still accepted, as a set of one.
3. Build, configure and deploy
All commands run from the repository root unless they cd.
Build
sh
pnpm install
node packages/worker-origin/scripts/build.mjsThis builds the engine packages if they are stale and bundles both Workers into packages/worker-origin/dist/<worker> with wrangler deploy --dry-run. Nothing is deployed and no account is needed. The script runs Wrangler 4.157.0 through npx (the version the Workers were tested with); set WRANGLER to the path of an installed Wrangler to use that instead. Use the same version for the commands below, for example npx --yes wrangler@4.157.0 … wherever this page says wrangler.
Configure
sh
cd packages/worker-origin
cp wrangler.delivery.example.jsonc wrangler.delivery.jsonc
cp wrangler.broker.example.jsonc wrangler.broker.jsoncBoth copies are ignored by git, because they name your account and hostname. Keep them on the operator's machine and record their non-secret values (hostname, SITE, issuer, kid, bucket) wherever you keep your server notes. There is no wrangler.jsonc in the package, so every Wrangler command names its configuration with --config.
Replace every example name and <...>:
| Setting | Worker | Value |
|---|---|---|
name | both | The Worker's name, for example foliwake-delivery-mysite and foliwake-broker-mysite. |
services[0].service | delivery | The broker's name. The binding itself must stay READ_BROKER. |
routes | delivery | [{ "pattern": "origin.example.com", "custom_domain": true }]: your hostname, in your zone. |
SITE | both | The site id, exactly as in foliwake.config.json. It is part of every cache key and purge tag, and of the token's aud. |
TOKEN_ISSUER | both | The iss your application puts in its tokens, for example mysite-app. |
TOKEN_PUBLIC_JWK | both | The public key set as JSON text: {"keys": [<public JWK with kid>, …]} (a single JWK is accepted too). |
CACHE_HOST | delivery | The hostname cache entries are stored under. Use the Worker's own hostname; it must be in the zone you purge. |
EMERGENCY_DENY | delivery | Optional. JSON text, a list of path globs answered 403 for everyone. Normally "[]". See access rules. |
MAX_ASSET_BYTES | delivery | Optional. The largest code or media file delivered, in bytes. Default 104857600 (100 MiB). A value that is not a whole number over 0 fails the deploy. |
LIVE_URL | delivery | Optional. The site's public address, such as https://www.example.com. Live pages link their canonical address under it (<link rel="canonical">). A value that is not an http(s) address fails the first request. |
S3_ENDPOINT | broker | https://<ACCOUNT_ID>.r2.cloudflarestorage.com, or the endpoint R2 shows for the bucket if it has a jurisdiction. |
S3_BUCKET | broker | The site's bucket. |
S3_REGION | broker | auto for R2. |
Leave these as the examples set them:
| Setting | Why |
|---|---|
"workers_dev": false | No *.workers.dev address: the Worker is reachable only on its custom domain. The Workers have no hostname allow-list of their own. |
"preview_urls": false | No preview-version URLs that would bypass the custom domain. |
"limits": { "cpu_ms": 30000 } | CPU per request, in ms. 30,000 is Cloudflare's default on Paid; it can go up to 300,000. |
"observability": { "enabled": true } | Workers Logs, where refusals and failures are logged. |
compatibility_flags: ["nodejs_compat"] | The delivery service runs as Node code inside the Worker. |
Deploy
The broker goes first, because the delivery Worker binds to it.
sh
cd packages/worker-origin
wrangler login # once, in a browser
wrangler deploy --config wrangler.broker.jsonc
wrangler secret put S3_ACCESS_KEY_ID --config wrangler.broker.jsonc
wrangler secret put S3_SECRET_ACCESS_KEY --config wrangler.broker.jsonc
wrangler deploy --config wrangler.delivery.jsoncwrangler secret put asks for the value; type it there, never in a file or a shell argument. The broker has no route, so it serves nothing before its secrets are set.
custom_domain: true creates the DNS record and the certificate for the hostname. It fails if the hostname already has a DNS record; remove that record first (only if nothing else uses it).
After the first deploy, check in the dashboard (Workers & Pages › each Worker › Settings › Domains & Routes) that the delivery Worker has only its custom domain, the broker has no route, and neither has a workers.dev or preview URL.
For local development Wrangler reads .dev.vars in packages/worker-origin, which is ignored by git.
4. Access rules
What anyone may read is decided by access.yaml at the root of the site's frontend code, next to site.yaml. It is captured into each code release, validated when the code release is prepared (an invalid file refuses the release), and takes effect when that code goes live.
yaml
# access.yaml
version: 1
allow: ["/", "/about", "/blog/**"]
deny: ["/blog/drafts/**", "/lessons/**"]| Rule | Meaning |
|---|---|
| Open path | matches an allow glob and no deny glob. A deny always wins. |
| Closed path | everything else. It needs a valid service token; without one: 401, Cache-Control: no-store, WWW-Authenticate: Bearer. |
No access.yaml | every page path is closed. |
| A damaged file in the store | 503, never "open". |
| Globs | start with /; segments use a-z, 0-9, -, _, . (not first) and *; ** is a whole segment. At most 200 globs per list, 64 KiB per file. |
.plain.html | follows the rule of its page: /a.plain.html is open when /a is. |
Query indexes (query-index.json) | open only if the index path and every page it lists are open. Do not name them in the rules. |
The sitemap (/sitemap.xml, or its sitemap.target) | always closed on the Worker, as is every .xml path. |
Always public, outside the rules: committed code under /code/<code release>/… and media under /media/<hash>.<ext>, also under an asset prefix (/news/_fw/code/…, site settings). They are immutable, content-addressed, and the URLs a page uses anyway. A rule cannot name the reserved prefixes /media, /components, /scripts, /styles, /_dev, /code and /_preview; such a file is refused.
Never served: the site's own access.yaml and site.yaml are not delivered as code files. Preview and branch paths are not served by the Worker at all (it serves the live channel only). Check these in the privacy checks.
Closed responses that pass the token check carry Cache-Control: private, no-store and X-Robots-Tag: noindex, also on 304. They are kept only inside the Worker's cache, where every hit checks the token again.
Changing the rules is a code release of the site's frontend; no Worker deploy. A warm cache sees the new rules after the purge that follows, or within 5 minutes. Opening a path is cheap; what readers already fetched while it was open cannot be taken back.
Emergency deny
EMERGENCY_DENY in the delivery configuration answers 403 to everyone, with or without a token, for every path that matches one of its globs, code and media included. It lives in the Worker's settings, outside any release, so no rollback of the site undoes it. It is checked before any cache lookup. While any emergency deny stands, the sitemap (every .xml path) is refused too, and an index that lists a denied page is refused.
jsonc
"EMERGENCY_DENY": "[\"/lessons/leaked-page\", \"/lessons/leaked-page/**\"]"Then redeploy the delivery Worker (wrangler deploy --config wrangler.delivery.jsonc); it applies within seconds. Set it back to "[]" and redeploy to lift it. If you change the variable in the Cloudflare dashboard instead, copy the change into wrangler.delivery.jsonc too, or the next deploy undoes it. An invalid JSON value fails the Worker at startup, so the deploy is refused.
5. Connect the engine's purges
The Foliwake server purges the Worker's cache after each publication. Name the Cloudflare cache in the site's cache settings in foliwake.config.json, with environment variable names, never values:
json
{
"id": "mysite",
"cache": { "provider": "cloudflare", "zoneIdEnv": "MYSITE_CF_ZONE_ID", "purgeTokenEnv": "MYSITE_CF_PURGE_TOKEN", "plan": "free" }
}Set MYSITE_CF_ZONE_ID (the zone ID) and MYSITE_CF_PURGE_TOKEN (the purge token) in the environment of every process that publishes: the dashboard (admin), the integration service and the CLI. Restart them: they read the configuration when they start.
| Key | Meaning |
|---|---|
provider | "cloudflare". Without it, the site's cache is Varnish. |
zoneIdEnv, purgeTokenEnv | Names of the variables holding the zone ID and the purge token. Both required. |
plan | The zone's plan: free (the default), pro, business or enterprise. It paces purges to Cloudflare's rate limit. free is safe on any plan, only slower. |
If a variable is missing, the cache still counts as configured: every purge fails with that reason and stays pending. It never means "no cache".
What a purge does
One request per publication,
POST /zones/<zone>/purge_cachewith tags. Every cached page carries a site tag (fw:<site>:mutable) and one tag per path; a page and its.plain.htmlshare one. A publication purges the tags of its paths. A purge of all HTML, or of more than 100 paths, purges the site tag instead. Code and media carry no tag and are never purged: they are immutable.Rate limits, per token, as Cloudflare documents them for purge by tag:
planRequests Burst free5 per minute 25 pro5 per second 25 business10 per second 50 enterprise50 per second 500 A wait of up to 10 s happens in place. A longer one, or an answer with
Retry-After, puts the purge back in the queue. Other processes using the same token are not counted, and a429they cause is handled as a failure and retried.Retries. A failed purge keeps its refresh pending; it is never reported as delivered. The dashboard runs the queue of every site that purges Cloudflare every 30 s. Without the dashboard running,
foliwake operation recover --waitruns it.Visibility.
foliwake site statuslists what each cache is owed, with attempts and the last error. A refresh pending over 5 minutes is logged by the dashboard as[cache] ALERT, again every 30 minutes. Nothing is sent outside the log.
Check it
Configuration. The configuration is validated when the server starts: a
cloudflarecache without both variable names is refused. Settings › Delivery & cache lists it with its variable names (set or missing, never the values), its plan, and a read-only Check.A test publication. Publish one page. Then
foliwake site status --site mysiteshows no pending refresh, and the operation isdone. A failed purge shows its error there, for example a missing permission.Through the Worker. Request the page twice (with a token if it is closed):
shcurl -sI https://origin.example.com/about | grep -iE '^(HTTP|cache-control|x-cache|etag|x-code-release)'The second answer carries
X-Cache: HIT; a miss carries noX-Cache. Open pages answerCache-Control: public, max-age=0, must-revalidate; closed onesprivate, no-store. Publish a change and request it again: the newETagshould appear within seconds.
The purge tags (fw:<site>:…) live on the Worker's internal cache entries. A response's Cache-Tag header lists the same tags (fw:<site>:mutable, fw:<site>:p:…) and one naming the page (fw:<site>:page:<id>), so it shows which tags a purge must reach. It does not show that a purge happened: check that with a request after the publication, as below.
Two caches: Worker and Varnish reserve
To keep the Docker delivery service and Varnish as a reserve, list both caches; every publication then purges both:
json
"cache": { "providers": [
{ "provider": "varnish", "purgeTokenEnv": "MYSITE_PURGE_TOKEN" },
{ "provider": "cloudflare", "zoneIdEnv": "MYSITE_CF_ZONE_ID", "purgeTokenEnv": "MYSITE_CF_PURGE_TOKEN", "plan": "free" }
] }providersreplaces the othercachekeys; give the settings in its entries.- Each cache has its own refresh rows: Varnish keeps its two purges with the settle delay, Cloudflare its single purge. A failure of one keeps only its own row pending.
- Back up the state first. The first time a publisher opens a site with several caches, it migrates the state database forward (the refresh table is rebuilt). An older engine cannot use it afterwards; going back means restoring that backup.
- Before removing a provider, run
foliwake operation recover --waituntil nothing is owed to it. A row owed to a cache that is no longer configured waits forever.
A reserve that misses purges serves stale pages exactly when you need it, so watch site status and the [cache] ALERT log line while both run.
6. Updating
Content and code releases need no deploy. Each cache miss reads the live pointer, so a publication or a code release (including a change to access.yaml) reaches the Worker by its purge, or within 5 minutes.
Engine updates need a rebuild and redeploy. The Workers bundle the engine's packages (@foliwake/origin, @foliwake/release-formats, @foliwake/versioned-repository) at build time. When you update the Foliwake server, rebuild the Workers from the same commit and redeploy, broker first:
sh
git checkout <the commit your Foliwake server runs>
pnpm install
node packages/worker-origin/scripts/build.mjs
cd packages/worker-origin
wrangler deploy --config wrangler.broker.jsonc
wrangler deploy --config wrangler.delivery.jsoncRecord the commit next to each deploy. Wrangler keeps the Workers' versions: wrangler deployments list --config <file> shows them, and wrangler rollback --config <file> returns to the previous one if a new build misbehaves. Keep the Wrangler version the build script pins unless you have a reason to change it.
Configuration changes (EMERGENCY_DENY, MAX_ASSET_BYTES, TOKEN_PUBLIC_JWK) are a redeploy of the Worker that holds them; secrets change with wrangler secret put, which deploys the new value by itself.
Rotate the service-token key
A rotation without a gap: generate a new pair with a new kid; put both public keys in TOKEN_PUBLIC_JWK of both Workers and deploy (broker first); switch the application to the new kid and private key; then remove the old public key and deploy again.
7. Verify, troubleshoot, roll back
Before readers use it: a shadow comparison
Run the Worker on its own hostname next to the current delivery service before any reader uses it, and compare. For every page of the site's query index, request the page, its .plain.html and the index itself through both delivery services, and compare status, ETag, X-Code-Release, body, X-Robots-Tag and Content-Security-Policy. Only the cache headers described above may differ. Also measure, from where your application runs: hit and miss latency, a cold start, CPU per request in Workers Logs, and the time from a publication to the new ETag through the Worker.
Privacy checks
Each line is an expected answer through the Worker:
| Request | Expected |
|---|---|
A closed page, its .plain.html, a query index, ?offset=0&limit=1, HEAD, If-None-Match without a token | 401, no body leak |
| A closed page with a valid token | 200, private, no-store, X-Robots-Tag: noindex |
A token for /a used on /a.plain.html | 401 |
A token with another site's aud, exp - iat over 120 s, expired, or an unknown kid | 401 |
/code/<code release>/… and /media/<hash>.<ext> without a token | 200, immutable; Range 206; HEAD without a body; If-None-Match 304 |
| A media hash that does not exist | 404 |
/access.yaml, /site.yaml, /_preview/…, /_dev/… | not 200 |
/sitemap.xml | 401 |
A path in EMERGENCY_DENY, with and without a token | 403 (set it, check, set it back to "[]") |
Troubleshooting
| Symptom | Likely cause | What to do |
|---|---|---|
| Error 1102 (Worker exceeded resource limits) | CPU over limits.cpu_ms, usually a large file. Hashing costs about 18 ms of CPU per MiB in one measurement, so 100 MiB is about 1.8 s. | Check the account is on Workers Paid. Raise limits.cpu_ms (up to 300,000) or lower MAX_ASSET_BYTES. |
| 401 on a closed path the application should read | No Authorization: Bearer, wrong iss or aud, path not the exact request path (.plain.html!), token lifetime over 120 s, clock skew over 5 s, or a kid the Worker does not have. | Compare the token's claims with the table in section 2. |
| 401 on a page that should be open | It is not matched by allow, is matched by a deny, the live code release has no access.yaml, or it is an index that lists a closed page. | Check access.yaml of the live code release. |
| 403 for everyone | EMERGENCY_DENY matches the path. | Remove the glob and redeploy delivery. |
503 Retry-After: 30 on misses | The broker cannot read R2 (secrets missing or wrong, wrong endpoint or bucket), an object over 12 MiB, a site too large (limits), or a file over MAX_ASSET_BYTES. There is no stale grace on the Worker: only cached entries keep working. | Workers Logs of both Workers name the cause and the key. |
| 503 on every closed or open page after a code release | The release's access.yaml in the store fails its digest check. | Fix the store object or release the code again. |
Stale content after a publication
A cached page is at most 5 minutes older than the current release, even if every purge fails: each entry stores its own expiry, and every hit rejects an expired one. If pages stay stale longer, the request is not reaching this Worker (another cache in front, the application's own cache, or the reader's browser). If they are stale for up to 5 minutes, the purge did not arrive: check below.
The bound covers the Worker's cache only. An application that caches what it reads (for example Next's 'use cache') adds its own lifetime on top.
Purge failures
foliwake site status shows each cache's pending refreshes, attempts and last error; the dashboard log shows [cache] ALERT after 5 minutes.
| Last error | Cause |
|---|---|
the Cloudflare purge settings are not available: environment variables … must be set | The variables are not set in that process. Set them and restart it. |
Cloudflare purge failed: HTTP 403 (…) | The token lacks Zone › Cache Purge › Purge on this zone, or the zone ID is of another zone. Create a new token with the right scope. |
Cloudflare purge failed: HTTP 429 or … waits its turn | Rate limit. It retries by itself; set plan to the zone's real plan if it is higher than free. |
Pending refreshes are retried for as long as the dashboard runs; foliwake operation recover --wait finishes them otherwise.
Roll back
The Workers change nothing in the bucket, so going back is a change of where your application reads from.
- Point the application back at the previous delivery service (for an application using
@foliwake/server, thelive.urlandlive.authit had before infoliwake.remote.json) and redeploy it. - Make sure the old cache is current. With the Varnish reserve in
cache.providersit has been purged on every publication; checkfoliwake site statusshows nothing pending for it. Without it, purge Varnish fully before switching back. - Optionally take the Worker off the network: remove its custom domain in Workers & Pages › the delivery Worker › Settings › Domains & Routes. Leave the Workers deployed if you may switch back.
- If you remove the Cloudflare cache from the site's settings, run
foliwake operation recover --waitfirst, so nothing stays owed to it. Revoke the purge token and the R2 key in Cloudflare if you are abandoning the Worker.
For a bad Worker build only, wrangler rollback --config <file> returns to the previous version.
In an emergency (a page that must not be served): set EMERGENCY_DENY and redeploy delivery; it applies in seconds and to cached copies too. Removing the custom domain stops all delivery through the Worker.
8. Limits
| Limit | Value |
|---|---|
| Plan | Workers Paid. CPU per request is limits.cpu_ms (30 s in the examples, up to 5 minutes). |
| Site size | About 18,800 pages. A miss reads the whole content release record, and the largest object read whole is 12 MiB. A larger site answers 503 on misses. |
| Largest code or media file | MAX_ASSET_BYTES, 100 MiB by default. Larger files answer 503 no-store for GET, HEAD and Range alike, before any byte is read. If you raise it, keep limits.cpu_ms above what one read of the largest file costs. |
| Files cached | Up to 16 MiB each (at most 4 copies, 16 MiB together, per isolate at once). Larger files are streamed from R2 on every request and stop working while R2 is down. |
| Range | One range per request, read from R2, never cached. Ranges are length-checked but not hashed. |
| Outage | No stale-if-error grace: with R2 unreachable, only entries within their 5 minutes and cached assets keep working. |
The full delivery contract, including streaming, HEAD and Range, freshness, purges and memory bounds, is §8.6 of releases and delivery. The package's own notes are in packages/worker-origin/README.md.
