Repository navigation
Conversation
… fails Twice a Go publish pushed its tags and then failed the smoke test, although the release was fine: go get asked sum.golang.org for the new version seconds after the push, the checksum database asked GitHub before GitHub served the tag, answered "unknown revision" or 404, and cached that answer for about 30 minutes. Both times the module showed up later without any change. After pushing new tags, promote now waits a minute before the smoke test asks for them. The smoke test tries go get again every 2 minutes, for up to about 40 minutes, when Go says the version is not found or the revision is unknown; any other failure still stops it at once. The publish job's timeout goes from 15 to 60 minutes to fit those retries.
itvi-1234
marked this pull request as draft
December 1, 2026 17:06
Retrying go get for up to 40 minutes kept the job running for a problem that the wait after the tag push already avoids in most cases. The smoke test runs once again, the publish job's timeout is back to 15 minutes, and if Go's checksum database still has not seen a new tag, the workflow can be run again later: it reuses the tags and only repeats the smoke test.
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.
Wait for Go's checksum database to see new tags before the smoke test fails
Twice a Go publish pushed its tags and then failed the smoke test, although the release itself was fine. go get asked sum.golang.org for the new version seconds after the push. The checksum database asked GitHub before GitHub served the tag, answered "unknown revision" or 404, and cached that answer for about 30 minutes. Both times the module showed up later without any change.
After pushing new tags, promote waits a minute before the smoke test asks for them.
The smoke test tries go get again every 2 minutes, for up to about 40 minutes, when Go says the version is not found or the revision is unknown. Any other failure still stops it at once.
The publish job's timeout goes from 15 to 60 minutes to fit those retries.