Harden CI: disk cleanup, cache split, and actions/cache v5#70
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Actions CI workflow to reduce runner disk pressure and prepare for JavaScript actions’ Node 24 runtime, improving CI reliability without changing extension behavior.
Changes:
- Opt into Node 24 for JavaScript-based GitHub Actions via
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24. - Add an early runner disk cleanup step to mitigate intermittent “No space left on device” failures.
- Split Cargo caching into separate caches for the
cargo-pgrxtool and Cargo dependency sources to reduce cache footprint.
You can also share your feedback on Copilot code review. Take the survey.
- Add early disk cleanup step to reduce runner 'No space left on device' failures - Opt into Node 24 for JavaScript actions (FORCE_JAVASCRIPT_ACTIONS_TO_NODE24) - Split Cargo caching into separate cargo-pgrx tool and dependency source caches - Upgrade actions/cache from v4 to v5 (fixes Node.js deprecation warnings) - Apply cache v5 upgrade to copilot-setup-steps workflow as well
1eb8a1c to
53adf5d
Compare
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
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24.cargo-pgrxtool cache and a Cargo source cache.No space left on devicefailures.actions/cachefrom v4 to v5 across both CI and copilot-setup-steps workflows, fixing Node.js deprecation warnings (punycode,url.parse()).Why
Recent scheduled and PR CI runs intermittently failed with runner-level
No space left on deviceerrors. These changes reduce disk pressure and cache footprint while proactively handling the Node 20 deprecation path. Theactions/cache@v4action emits deprecation warnings on Node 20+ runners.Scope
.github/workflows/ci.yml— disk cleanup, cache restructuring,actions/cachev5, Node 24 opt-in..github/workflows/copilot-setup-steps.yml—actions/cachev5.