Skip to content

Stop publishing unused release archives - #869

Merged
SaladDay merged 2 commits into
mainfrom
stop-publishing-unused-release-archives
Oct 25, 2026
Merged

SaladDay merged 2 commits into
mainfrom
stop-publishing-unused-release-archives

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

The last size items of #802, measured against v0.0.13-rc.2.

  • Control archives are no longer release assets. Nothing installs from oac-<commit>-linux-{amd64,arm64}.tar.gz: install.sh, install.ps1 and oac install fetch the oac binary, compose.yaml and the checksums and pull images from GHCR. The archives are still built, because they carry the Core, Web and ingress images and the native catalog from the build job to the publisher, which pushes the images to GHCR; the publisher just no longer uploads them. Saves 336,667,754 bytes per release (230,149,377 + 106,518,377).
  • Build-only files are left out of the native installers. The node component no longer carries the CI runner's global pnpm, and minimax no longer carries better-sqlite3's compiler inputs (deps/ with the 9 MiB sqlite3.c, src/, binding.gyp); it loads only build/Release/better_sqlite3.node. Checked on the unpacked rc.2 components: npm and npx run without pnpm; MiniMax Code --version, its compatibility check and a better-sqlite3 insert and select work without the inputs. linux-amd64 node 61,763,516 → 57,124,910 bytes and minimax 23,842,332 → 21,177,411 bytes compressed, about 7.3 MB per installer.
  • codex-code-mode-host (66 MiB) stays: since Ship the Codex code-mode host in the Runtime image #865 Codex's native code mode runs scripts in it.

Closes #802.

Checks: python3 -I scripts/publish-core-release.test.py, python3 -I scripts/core-distribution-manifest.test.py, node --test scripts/build-native-installer.test.mjs scripts/build-native-catalog.test.mjs, bash -n scripts/build-core-distribution.sh. The Windows and macOS node layouts are covered by the omit list but were not unpacked here.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

The node component omits the CI runner's global pnpm and the minimax component omits better-sqlite3's deps, src and binding.gyp. Neither is loaded at run time. linux-amd64 archives shrink by 4.6 MB (node) and 2.7 MB (minimax) compressed.
The control archives carry the Core, Web and ingress images and the native catalog from the build to the publisher, which pushes the images to GHCR. No install path downloads them, so the publisher no longer uploads them as release assets (337 MB per release).
@SaladDay
SaladDay merged commit da66c0b into main Oct 25, 2026
21 checks passed
@SaladDay
SaladDay deleted the stop-publishing-unused-release-archives branch October 25, 2026 05:54
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.

Release archives are heavy: offline archive 1.46 GiB, native installers ~300 MB each

1 participant