Repository navigation
Changed
- A sync exports only what a change reaches. Adding, removing or moving
a document no longer exports the whole corpus again, nor does renaming a
folder. A document is exported again when its own file changed, when a
folder above it was renamed or moved, or when an item it links to
started or stopped being published; a full sync and a converter upgrade
still export everything. A narrow run produces the same bytes a full
run would, which a property test checks over random corpora and changes
(ADR-053). - A sync runs the content gate, not the project's full gate. When
anything changed, it validates the output, builds once, and runs the
denial suite and the search check; with nothing changed it checks
nothing. Formatting, lint, types, unit tests and the browser suite are
code checks and no longer run on every sync, nor does the denial suite
run twice (ADR-053). - Callers: drafts wait, merges are verified once. The
NEW_PROJECT.md
templates runci.ymlon pull requests that are not drafts and weekly,
and verify a merge indeploy.ymlbefore deploying it, instead of
verifying it in both. The platform's own CI skips drafts too. - Eight exports at a time.
SYNC_CONCURRENCYdefaults to 8 instead of
4: most of a full export is waiting on Google, so this about halves it.
Upgrade note
Replace .github/workflows/ci.yml and deploy.yml with the templates in
docs/NEW_PROJECT.md. Until then, a merge is still verified twice.