Skip to content

fix(release): retry a push GHCR refuses while another platform creates the package - #503

Merged
earakely-scale merged 1 commit into
mainfrom
ghcr-new-package-retry
Nov 5, 2026
Merged

earakely-scale merged 1 commit into
mainfrom
ghcr-new-package-retry

Conversation

@earakely-scale

@earakely-scale earakely-scale commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

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 retry now tries such a docker push again 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

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; denied pushes get bounded retries without hiding a final failure.

Summary

Adds retries when docker push reports denied: permission_denied: write_package.

  • Platform image pushes retry while GHCR links a new package.

Reviews (1) · Last reviewed commit: "fix(release): retry a push GHCR refuses ..." · Reviewed by Greptile

…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>
@earakely-scale
earakely-scale requested a review from a team as a code owner November 5, 2026 16:36
@earakely-scale
earakely-scale merged commit 883d1cd into main Nov 5, 2026
28 of 31 checks passed
@earakely-scale
earakely-scale deleted the ghcr-new-package-retry branch November 5, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant