Skip to content

cache: avoid hosted tool cache restore races - #1279

Merged
crazy-max merged 1 commit into
docker:mainfrom
crazy-max:fix-cache-hosted-tool-restore
Aug 19, 2026
Merged

cache: avoid hosted tool cache restore races#1279
crazy-max merged 1 commit into
docker:mainfrom
crazy-max:fix-cache-hosted-tool-restore

Conversation

@crazy-max

@crazy-max crazy-max commented Aug 17, 2026

Copy link
Copy Markdown
Member

fixes docker/setup-buildx-action#479

Return the GitHub Actions cache restore path directly after verifying the restored file exists, and treat hosted tool-cache seeding as best effort. This avoids failing setup actions when hosted tool-cache files are not immediately visible after a successful cache restore.

Return the GitHub Actions cache restore path directly after verifying the restored file
exists, and treat hosted tool-cache seeding as best effort. This avoids failing setup
actions when hosted tool-cache files are not immediately visible after a successful cache
restore.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max
crazy-max force-pushed the fix-cache-hosted-tool-restore branch from d73a4f4 to a0b99a0 Compare August 17, 2026 12:52
@crazy-max
crazy-max marked this pull request as ready for review August 18, 2026 10:20
@crazy-max
crazy-max merged commit beebcbe into docker:main Aug 19, 2026
116 checks passed
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.

ENOENT race condition during cache restoration on ephemeral self hosted runners

1 participant