Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

Docs: describe the nightly size baseline used by the job (#2133)

Aviel Cohen83df4a115de0
diff --git a/docs/RELEASING.md b/docs/RELEASING.md
index ce0a6a06e..2532da50d 100644
--- a/docs/RELEASING.md
+++ b/docs/RELEASING.md
@@ -229,7 +229,10 @@ The gates, in order. The first one that fails ends the night as REFUSED, and not
5. The two WebGL builds, the gzip one and the Pages one (`build-web`), with the nightly version stamped in after the
gates; the tree must be clean afterwards, and the stamp is never committed. Then both zips (`package`).
6. `web_check.py` on both builds (`web-check`).
-7. Download size (`sizes`): the data, wasm and framework files may grow at most 2% over the build that is live.
+7. Download size (`sizes`): compare the combined total of the data, wasm and framework files with this job's last
+ published night (`state.json`'s `last_published`), even if that release is now a draft. On a first night with no
+ saved publication, use the newest non-draft release carrying a `*-web.zip`. The total may grow at most 2%, plus
+ the size budget below.
8. Headless boot time (`boot`): the median of three boots. The first 5 published nights set the baseline; after
that a boot slower than the slowest baseline night plus the spread of the baseline is refused.
@@ -244,7 +247,8 @@ Nightly size budget: +N MB
```
The next nightly allows the growth of the 2% plus the lines of every pull request merged since the last published
-nightly; without the line, an increase beyond 2% refuses the night. The new size is the baseline from then on.
+nightly; without the line, an increase beyond 2% refuses the night. After a night is published, its new total becomes
+this job's baseline for the next night.
**Publishing** (only after every gate): a normal draft release with both zips and notes listing the commits since the
last nightly (the tag points at the commit the night started from, even if `main` moves during the build), the assets