fix(review-pr): bump actions/cache to v5.0.5 (Node 24)#218
Conversation
actions/cache v4.2.0 runs on Node.js 20, which GitHub is forcing to Node.js 24 by default starting June 2, 2026 and removing entirely on September 16, 2026. The actions/cache v5.x line was released specifically to move to the Node.js 24 runtime. Every consumer of cagent-action surfaces the Node.js 20 deprecation warning on every PR-review run today; this fix removes it. Verified: - actions/cache v5.0.5 requires runner version >= 2.327.1; the ubuntu-latest GitHub runner is currently 2.334.0. - v5 release notes flag the Node.js 24 runtime change as the only breaking change for v4 → v5 — no API surface changes. - All four occurrences in review-pr/action.yml and both occurrences in review-pr/reply/action.yml updated.
docker-agent
left a comment
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
No issues found in the changed code. All six occurrences of actions/cache have been consistently updated from the v4.2.0 SHA (1bd1e32a) to the v5.0.5 SHA (27d5ce7f), SHA pins and version comments are in sync, and the v5 API surface (path, key, restore-keys, cache-hit) is fully compatible with existing usage.
docker-agent
left a comment
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
This PR bumps actions/cache/restore and actions/cache/save from v4.2.0 to v5.0.5 across both review-pr/action.yml and review-pr/reply/action.yml. All 6 occurrences were updated consistently to the same SHA (27d5ce7f) with matching # v5.0.5 version comments. No v4 pins remain, no interface changes are introduced, and the migration is straightforward and correct.
Summary
Bumps
actions/cache/restoreandactions/cache/savefromv4.2.0tov5.0.5inreview-pr/action.ymlandreview-pr/reply/action.yml. The v5 line ofactions/cacheis the explicit migration to the Node.js 24 runtime — v4 runs on Node.js 20, which GitHub is deprecating.Why
Every consumer of
cagent-actionsurfaces this warning on every PR-review run today:Reference: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Originally observed on
docker/data-platformPR #701 but it surfaces on every PR-review run across every consumer.Compatibility
actions/cache@v5(release notes):GitHub-hosted
ubuntu-latestrunner is currently at2.334.0(well above the floor). No API surface changes between v4 and v5 — the only breaking change is the Node.js 24 runtime requirement.Changes
All occurrences of
actions/cache/restore@1bd1e32a... # v4.2.0andactions/cache/save@1bd1e32a... # v4.2.0bumped to@27d5ce7f... # v5.0.5:review-pr/action.ymlreview-pr/reply/action.ymlTest plan
Related
docker/actions.🤖 Generated with Claude Code