Conversation
Build each ko image in its own ko run and retry only that image if it fails: up to 3 attempts, waiting 10s then 20s, logging each error. ghcr.io can briefly deny pushes to a package it has just created. Signed-off-by: Anna Pendleton <13793293+annapendleton@users.noreply.github.com> (cherry picked from commit 3bc51a7) Signed-off-by: Anna Pendleton <13793293+annapendleton@users.noreply.github.com>
Replace the exported Retry type and hand-rolled backoff with retry.OnError and a wait.Backoff, as kube/apply.go does. Signed-off-by: Anna Pendleton <13793293+annapendleton@users.noreply.github.com> (cherry picked from commit b1e1fcd) Signed-off-by: Anna Pendleton <13793293+annapendleton@users.noreply.github.com>
Grant McCloskey (MushuEE)
approved these changes
Oct 29, 2026
This was referenced Oct 29, 2026
Lior Lieberman (LiorLieberman)
merged commit Oct 29, 2026
f86fde9
into
agent-substrate:release-1.0
7 checks passed
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.
Cherry-pick of #3446 onto
release-1.0, with no changes (git cherry-pick -xof both commits).Needed for the 1.0 release: the v1.0.0-rc.1 release run (https://github.com/agent-substrate/substrate/actions/runs/40925903340) failed in Publish images with
DENIED: permission_denied. ghcr.io can briefly deny pushes to a package it has just created, and this is the first release that creates them.ate-setup publish release-imagesnow builds each ko image in its ownko build. If an image fails, it logs the error and retries that image, for up to 3 attempts, waiting 10s then 20s (retry.OnErrorwith await.Backoff).AI use: AI-assisted.