Skip to content

1.16 part 1/11: Library, catalog, downloads and add-ons; a lighter Docker image - #160

Closed
epheterson wants to merge 1 commit into
line/1.16from
line/1.16-01-server-lib
Closed

epheterson wants to merge 1 commit into
line/1.16from
line/1.16-01-server-lib

Conversation

@epheterson

@epheterson epheterson commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Part 1 of 11 of Zimi 1.16: library, catalog, downloads and add-ons; a lighter Docker image.

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 1 of 11 of the Zimi 1.16 release: library, catalog, downloads and add-ons, and a lighter Docker image. This part alone is not a running state; each part merges on the one before it, and CI runs once on the release PR that carries every part into main.

Behavior changes

  • Kiwix's community catalog joins the main catalog as its own category; Zimi's own ZIMs now appear under Community, and opening the catalog never fetches, only the update check does.
  • The ZIM checksum check streams the file instead of holding the GIL through libzim, and add-ons are fetched once into the data folder and switched on without a restart, so the Docker image no longer carries them.
  • A place opens on the smallest installed map region that holds it, with the planet map as the fallback; downloads follow the .meta4 mirror order, give failed mirrors a second round, and resume with the same mirror after a pause.
  • Card games end with a detailed score summary in every language, and the auto-update opt-out moved from the card menu to the Manage > Installed row; file sizes below a gigabyte read as whole MB, and an installed app's tile carries a recency dot.
  • Planet positions come from VSOP87D (Mars is ~50,000 km closer at its 2021 arrival than the old approximate elements), an open app re-draws in the language picked in Settings, a long toast stays up until its words are read, and Older copies' Delete removes exactly the listed file.
  • Restore asks merge or replace when a file comes in, and its preview shows what Replace would drop.
  • Upgrading Zimi alone no longer rebuilds a search index, suggestions keep a correctly spelled word, and a manually run health check makes a deep pass.
  • warc2zim runs on machines without libcairo (SVG conversion is imported lazily), and an EPUB with an oversized directory is refused before it is read.

Tests

  • New infrastructure caps concurrent Chromiums per machine so 3D tests stop timing out, finds Chromium off any asyncio loop, probes hit areas against a 44 × 44 px touch target, and flags any shipped JS or Python that references an undefined name.
  • New suites cover add-ons, the community and satellites catalog, checksum streaming, map choice, mirror fallback, capability levels, offline readiness, static asset hashes, per-tier performance budgets, terrain heights from elevation rasters, mission events against their source documents, and planets against JPL Horizons.

Written for commit 871264d. Summary will update on new commits.

View guided diff Turn on auto-fix

@sourcery-ai

sourcery-ai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Sorry @epheterson, your pull request is larger than the review limit of 150,000 diff characters

@epheterson
epheterson force-pushed the line/1.16-01-server-lib branch 2 times, most recently from 448d884 to a972139 Compare November 22, 2026 20:49
@epheterson

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@epheterson

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Action not completed

Review skipped: 131 files exceed the limit of 100.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@epheterson
epheterson force-pushed the line/1.16-01-server-lib branch 2 times, most recently from e8bbe70 to 5ea2a2f Compare November 22, 2026 22:52
@epheterson

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Action not completed

Review skipped: 133 files exceed the limit of 100.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@epheterson
epheterson force-pushed the line/1.16-01-server-lib branch from 5ea2a2f to 05cb42b Compare November 22, 2026 23:52
@epheterson

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@epheterson

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Action not completed

Review skipped: 134 files exceed the limit of 100.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@epheterson
epheterson force-pushed the line/1.16-01-server-lib branch 2 times, most recently from cb6322b to c262eb2 Compare November 23, 2026 01:26
@epheterson

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Action not completed

Review skipped: 135 files exceed the limit of 100.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@epheterson
epheterson force-pushed the line/1.16-01-server-lib branch 5 times, most recently from fbe139c to b70cf7c Compare November 23, 2026 07:54
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@epheterson
epheterson force-pushed the line/1.16-01-server-lib branch from b70cf7c to 871264d Compare November 23, 2026 08:39
@epheterson

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Action not completed

Review skipped: 135 files exceed the limit of 100.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@epheterson

Copy link
Copy Markdown
Owner Author

Replaced by the release PR #189.

@epheterson epheterson closed this Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant