Skip to content
Docs
Changelog

One Worker on Workers Paid, a docs budget and reserved ADR numbers

Four decision records: production runs on Workers Paid, docs keep compiling into the Worker within a budget, /api stays on the app's host, and the app stays one Worker with four seams that keep a split cheap.

Markdown

  • Production runs on Workers Paid. ADR-0017 states the plan the template assumes. The limits, the cost per daily user and the reason the database is the first bottleneck are on a new page, Limits, cost and when to split. (e906b15)
  • Docs stay in the Worker, with a budget. ADR-0018 answers the question ADR-0010 left open. pnpm --filter web build now prints the size of the docs chunk and fails above 5,500,000 B raw; scripts/measure-worker-build.mjs reports the chunk for the baseline and the working tree. Raise DOCS_CHUNK_BUDGET_BYTES in scripts/docs-chunk.mjs in the change that needs it. (aba3277)
  • The API stays on the app's host. ADR-0019: /api/* is never moved to another origin, so EXPO_PUBLIC_SERVER_URL in a shipped app never changes. (e906b15)
  • One Worker, four seams. ADR-0020 keeps web, API and cron in one Worker, lists the triggers that would justify a second one, and names four seams that make a later split a move. AGENTS.md states them as rules ("Keep the split cheap"). (e906b15, 1ee4502)
  • ADR numbers. 0001 to 0099 belong to the template; a project created from it numbers its own decisions from 0100 (decisions, setup). (1ee4502)
Edit on GitHubDocumentation is in English.
Cookie settings
We use essential cookies to make our app work. With your consent, we also use optional cookies to improve your experience.

Read our Cookie Policy and Privacy Policy.