Skip to content

fix(cache): clear segment timeout on download failure - #2478

Open
Boulea7 wants to merge 1 commit into
actions:mainfrom
Boulea7:fix/cache-clear-rejected-timeout
Open

fix(cache): clear segment timeout on download failure#2478
Boulea7 wants to merge 1 commit into
actions:mainfrom
Boulea7:fix/cache-clear-rejected-timeout

Conversation

@Boulea7

@Boulea7 Boulea7 commented Aug 12, 2026

Copy link
Copy Markdown

Fixes #2470.

Summary

  • clear the cache segment timeout after the raced download settles, including rejection
  • add a regression test that verifies a failed storage download leaves no pending timers

Testing

  • npm test -- packages/cache --runInBand (15 suites, 151 tests)
  • npm run format-check
  • npm run lint -- --quiet
  • npm run build

Change-Id: I1d3b0af771aaa17c630e6831baaabea84dfddb05
@Boulea7
Boulea7 requested a review from a team as a code owner August 12, 2026 09:53
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.

@actions/cache: a failed cache download leaks its segment timer and stalls the job for up to 10 minutes

1 participant