Update max retries in all build images workflows to 5#683
Merged
juanmichelini merged 1 commit intomainfrom Apr 21, 2026
Merged
Conversation
Increases the default max-retries from 2 to 5 to reduce unnecessary reruns when building images (which often work due to cache). Co-authored-by: openhands <openhands@all-hands.dev>
all-hands-bot
approved these changes
Apr 21, 2026
Collaborator
all-hands-bot
left a comment
There was a problem hiding this comment.
🟢 Good taste - Clean, focused configuration change.
[RISK ASSESSMENT]
- [Overall PR]
⚠️ Risk Assessment: 🟢 LOW
Simple workflow configuration update that addresses a real operational problem (transient build failures due to caching). The change is applied consistently across all 6 affected workflows. Users can still override the default value when triggering workflows manually. No code logic or user-facing APIs affected.
VERDICT:
✅ Worth merging: Pragmatic solution to reduce unnecessary workflow reruns.
KEY INSIGHT:
Increasing retry tolerance from 2 to 5 is a proportional response to transient infrastructure failures - it trades slightly longer worst-case runtime for significantly fewer manual reruns.
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.
Summary
Increases the default
max-retriesfrom 2 to 5 in all build image workflows to reduce unnecessary reruns (which often succeed on retry due to cache).Affected workflows:
build-swebench-images.ymlbuild-swebenchmultimodal-images.ymlbuild-swtbench-images.ymlbuild-swesmith-images.ymlbuild-swegym-images.ymlbuild-multiswebench-images.ymlfixes #682
@juanmichelini can click here to continue refining the PR