1.16 part 3/11: Tools, CI and packaging

Closed
EP
12d ago
+4661-380

Part 3 of 11 of Zimi 1.16: tools, CI and packaging.

The release is split into 11 parts so each one can be reviewed whole. Each part's base is the part before it, so this diff is only its own files; a part on its own is not a running state. CI runs once, on the release PR that carries every part into main.

Every part was reviewed before it was opened, and the full suite (quick tier, node tests, every browser test under software GL) ran on the combined tree.


Summary by cubic

Part 3 of 11 of Zimi 1.16: tools, CI and packaging. The release ships in 11 reviewable parts — each diff is only its own files, so a part on its own is not a running state. CI runs once, on the release PR that carries every part into main.

The Docker image is now a lean core under 1 GB: the browser, SingleFile, video tools, warc2zim and the Reddit helper are add-ons installed on demand, letting the build drop its Python 3.14 sidecar stage. The NAS deploy moved out of the repo to the operator's own files, and scripts/bake.sh rolls every topic branch, rebuilds Zimi's own ZIMs and deploys the result in one command.

Packaging and CI

  • macOS desktop signing gains disable-library-validation so add-ons can load unsigned compiled packages; both PyInstaller specs include stdlib modules the add-on wheels import.
  • CI adds pyflakes, spreads the browser tests over one Chromium per runner, and checks the built-in ZIMs are current on release branches; CodeRabbit now reviews release-line PRs, skipping merge-ups.
  • Version bumps to 1.16.0 with changelog and what's-new entries for the Games and Almanac.

Tools and dev scripts

  • A pre-commit hook keeps Zimi's own ZIMs out of ordinary commits (they are committed once per release); prepush_check.sh blocks conflict markers and unparseable JS.
  • e2e_addons.py fetches every pinned add-on into a scratch folder and exercises each Create engine; pin_addon_wheels.py regenerates wheel pins from PyPI.
  • scripts/games_bot/ plays the card games on a touch phone and shoots their end sheets; games_red.py generates the Red theme.
  • New builders for Almanac data: land mask, land cover, night lights, spacecraft models and thumbnails, the planets' places, retired spacecraft tracks, rover traverses and the Go sheet discs, with docs/missions.md describing how a mission is fitted; i18n_split.py moves the Almanac's strings into their own files and json_merge3.py is the git merge driver for i18n JSON.
  • A new .ignore file keeps vendored libraries, data and generated art out of agent searches; the community catalog and satellite snapshots ship so offline installs still list them, and map regions now handle countries that cross the antimeridian.