Repository navigation
fix: make pnpm cache steps non-fatal on Windows - #21
Merged
Merged
Conversation
actions/cache (Node) intermittently hard-crashes on Windows runners with STATUS_STACK_BUFFER_OVERRUN (exit code 0xC0000409), dying with no error message and failing the whole composite action. The Node tarball download is unaffected; the crash lands on the cache restore/save step. Caching is a non-essential optimization, so mark both cache steps continue-on-error rather than fail the job. Ref: actions/cache#1754
fengmk2
marked this pull request as draft
June 8, 2026 14:18
fengmk2
marked this pull request as ready for review
June 8, 2026 14:20
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.
Problem
actions/cache(Node) intermittently hard-crashes on Windows runners withSTATUS_STACK_BUFFER_OVERRUN(exit code0xC0000409/-1073740791), dying with no error message and failing this composite action. Captured via step-debug logs:actions/setup-nodefinishes fine (Node downloads and extracts), then the pnpm cache restore step crashes right afterGetCacheEntryDownloadURLto the cache service v2 backend.This is a GitHub Windows-runner / Node fast-fail, not a bug here: see actions/cache#1754 (same crash,
continue-on-erroris the documented workaround) and pnpm/action-setup#260 (same0xC0000409in a different Node action).Fix
Caching is a non-essential optimization, so mark both pnpm cache steps
continue-on-error: true. When the crash hits, the job keeps a cold store and proceeds topnpm installinstead of failing.Ref: actions/cache#1754