Repository navigation
ci: move GitHub Actions off the deprecated Node 20 runtime - #650
Conversation
jatmn
left a comment
There was a problem hiding this comment.
🟢 Thanks for the contribution. I do not see any actionable issues from my review.
Merge readiness
📍 Where: Branch ci/actions-node24 vs live main (d4cbdb3e).
💥 What fails: Nothing in CI yet; gh api compare reports status: diverged, behind_by: 1, ahead_by: 3. Workflow files do not conflict with the commit on main that the branch lacks.
🔧 Required correction: Rebase (or merge main) before merge so the branch is not behind the target. This is hygiene, not a defect in the three-dot diff.
📍 Where: .github/workflows/stale.yml (unchanged in this PR).
💥 What fails: After GitHub retires Node 20 action runtimes, actions/stale@v9 (runs.using: node20 at the current pin) may stop running. Stale-PR automation would fail until that pin is bumped in a follow-up change.
🔧 Required correction: None in this PR. The description correctly scopes eight actions in four workflows; track stale migration separately.
📍 Where: .github/workflows/release.yml docker and attach jobs.
💥 What fails: Release-only action majors (build-push v7, upload/download artifacts, action-gh-release v3) are not exercised end-to-end in PR CI. The PR notes that the first tagged release after merge is the real integration test.
🔧 Required correction: None for merge; watch the next release run after merge.
🔒 Unchanged on main: mergeStateStatus is BLOCKED pending required reviews/checks policy, not merge conflicts (mergeable: MERGEABLE). All status checks on head d2bd5eff succeeded.
Summary
GitHub deprecated Node 20 on Actions runners. Eight actions in our workflows still declared
node20. This moves each one to its first release that runs onnode24. Pins stay full SHAs.Motivation & context
Node 20 actions will stop running once GitHub flips runners to Node 24 only. Better to move on our schedule than theirs.
Kind of change
What changed
Workflows only:
audit-schedule.yml,codeql.yml,pr-checks.yml,release.yml. No crate touched.scripts/test-resolve-release-tag.shsnapshots the exact checkout pin, so its 11 expected pin lines move too. No assertion changed.How a reviewer can verify
Local output:
Each new version's
action.ymlwas checked upstream:runs.usinggoesnode20tonode24, and every input and output these workflows use is still there.Before you request review
cargo test --workspacepasses locally (no Rust touched; see notes).env.exampleN/ANotes for reviewers
node20. We usepattern+merge-multiple, not the by-ID path v5 changed.digestoutput release reads is still there.cargo test --workspaceon unchanged main had one flake,sync::tests::lag_gate_skips_the_sample_when_the_tip_read_fails, which passes alone. Hosted tests on the base SHA are green.Summary by CodeRabbit