Repository navigation
fix(release): retry a push GHCR refuses while another platform creates the package - #503
Merged
Merged
Conversation
…s the package An image's first release pushes its amd64 and arm64 builds at once. The first push creates the package and links it to this repository; GHCR refuses the other with permission_denied: write_package until it has, which failed v0.9.1444 at agentenv-browser-use's arm64 push. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
An image's first release pushes its amd64 and arm64 builds at once. The first push creates the GHCR package and links it to this repository; until it has, GHCR refuses the other with
denied: permission_denied: write_package. That failed v0.9.1444:agentenv-browser-use's amd64 push created the package at 06:30:49 and its arm64 manifest push was refused five seconds later, so the framework wheel and the release were skipped.infra_build.py retrynow tries such adocker pushagain after its usual waits (30, 60, 120 s), as it does a rate limit. Only a push is tried again, so a denial that stays fails after them.No release is needed for this: it changes only the publish workflow's script.
Test
tst/unit/test_infra_build_script.py: 61 passed; the new push test fails against main's script.🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge; denied pushes get bounded retries without hiding a final failure.Summary
Adds retries when
docker pushreportsdenied: permission_denied: write_package.Reviews (1) · Last reviewed commit: "fix(release): retry a push GHCR refuses ..." · Reviewed by Greptile