fix: never pin Ubuntu SNAPSHOT — snapshot.ubuntu.com lacks ubuntu-ports - #13
Merged
Merged
Conversation
The daily snapshot bump filled in Ubuntu's deliberately-empty SNAPSHOT=, routing the arm64 leg to https://snapshot.ubuntu.com/ubuntu-ports/... which returns 401 (only the amd64/i386 /ubuntu tree exists), breaking the nightly multi-arch rebuild. Reset the Ubuntu pins to empty and teach update-snapshot.sh to skip env files whose pin is empty (deliberate live- mirror opt-out). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The nightly rebuild (run 29557127446) failed on both Ubuntu versions:
The Ubuntu
envfiles deliberately shipSNAPSHOT=empty (live mirrors) because snapshot.ubuntu.com only serves the amd64/i386/ubuntutree —/ubuntu-portsreturns 401, so a pinned arm64 build can never succeed. Butscripts/update-snapshot.shbumps every env file with aSNAPSHOT=key, so the daily bump PR #12 filled in the Ubuntu pin for the first time and broke the arm64 leg of the multi-arch nightly.Verified today:
https://snapshot.ubuntu.com/ubuntu/20260716T000000Z/dists/jammy/Release→ 200https://snapshot.ubuntu.com/ubuntu-ports/20260716T000000Z/dists/jammy/Release→ 401Fix
images/ubuntu/*/envSNAPSHOT=back to empty, with a comment explaining why it must stay empty.update-snapshot.shnow skips env files whose existing pin is empty — empty is a deliberate live-mirror opt-out, so tomorrow's bump PR can't reintroduce the breakage.Tested locally: running
scripts/update-snapshot.sh 20990101T000000Zbumps only the two Debian env files and leaves both Ubuntu files untouched.🤖 Generated with Claude Code