Repository navigation
kernel: get past the CDN's cache for sha256sums.asc, and wait for a release to be listed - #81
Merged
Merged
Conversation
…elease to be listed The daily update failed on 7.3.1: cdn.kernel.org served a copy of sha256sums.asc from before kernel.org listed it, an hour and a half after it had. A query string gets past the cache. kernel.org also lists a release a few minutes after it publishes it, so fetch tries for 10 minutes before it gives up, and says the release isn't listed rather than that its checksum is bad, without removing the download. The downloads retry on transient errors too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fcuny
marked this pull request as ready for review
October 31, 2026 19:16
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.
The daily update failed on 7.3.1: cdn.kernel.org served an old copy of
sha256sums.ascthat didn't list it, 90 minutes after kernel.org's server had it.Changes to
fetchinkernel/lib.sh, whichbuild.shuses too:sha256sums.ascis fetched with a query string, which gets past the CDN's cache (x-cache: MISS).curl --retry 3on both downloads.Tested in a Debian VM, with
sleepstubbed: 7.3.1 checks out, an unlisted release retries then fails and keeps the tarball, and a corrupt tarball is removed.🤖 Generated with Claude Code