Skip to content

setup_builder: retry transient sticky disk requests - #138

Closed
lukebjerring wants to merge 1 commit into
mainfrom
fix/retry-sticky-disk-setup
Closed

lukebjerring wants to merge 1 commit into
mainfrom
fix/retry-sticky-disk-setup

Conversation

@lukebjerring

@lukebjerring lukebjerring commented Sep 11, 2026

Copy link
Copy Markdown

Builder setup can fail before BuildKit starts when the sticky disk request crosses a brief service disruption. One observed job received:

failed to expose and mount sticky disk: unexpected status code: 503

The action now retries only clearly transient unavailable, 502, 503, and 504 responses. It does not retry 500 or deadline errors that may have completed part of the expose operation. The existing 45 second setup deadline still bounds all attempts.

Tests cover recovery from a 503 and immediate failure for a 500. CI must rebuild the checked-in dist/ bundle because the private Buf package is not available outside the repository workflow.


View with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is enabled. (Staging)


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Co-authored-by: Codesmith Staging <codesmith-bot@users.noreply.github.com>
@lukebjerring

Copy link
Copy Markdown
Author

This issue is already fixed, the test is just using a really old setup

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