feat(installer): read bundles from the branch they are published to #15
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/bundle-branch-url"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What & why
The crate half of installer#13.
mainis protected, so the unattended compose job cannot push a bundle there — the pre-receive hook declines it, which is not something a nightly cron can resolve. Bundles now publish to abundlesbranch, at its root, soBUNDLE_BASEfollows them:Everything the original choice was for survives the move: a reviewable diff, a git history of the compat matrix, and a plain anonymous URL needing no credentials on the shard host.
The test's bundle becomes a frozen fixture (
tests/fixtures/published-bundle.json) rather than aninclude_str!of the published file, which this checkout no longer carries. Frozen is the honest shape anyway — a test that silently re-targeted whatever CI published last would change meaning without a commit. It is still a real CI-emitted document, copied verbatim.bundles/*.jsonis dropped here too, matching installer#13, so the eventualedge → maincutover has nothing to reconcile.bundles/README.mdstays on both.How it was tested
cargo fmt --check,cargo clippy --all-targets -- -D warnings, and the suite: 129 + 9 green.The new URL was checked by hand — the
bundlesbranch is live and anonymously readable, currently serving bundle2026.08.04(seeded frommainso--bundle 2026.08.04keeps resolving). Once installer#13 merges, a compose run replacescurrent.jsonthere with2026.08.05.Nothing is released from
edge, so no shipped binary ever read the old URL — there is no window to manage.Checklist
AI-assisted contributions (required)
Claude Code (Opus 5). I have reviewed and understand every change, and take responsibility for it. AI-authored commits are marked with aCo-Authored-Bytrailer.License
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.