Skip to content

ci: move GitHub Actions off the deprecated Node 20 runtime - #650

Merged
beardthelion merged 1 commit into
mainfrom
ci/actions-node24
Dec 1, 2026
Merged

beardthelion merged 1 commit into
mainfrom
ci/actions-node24

Conversation

@beardthelion

@beardthelion beardthelion commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

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 on node24. 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

  • Tests / CI

What changed

Workflows only: audit-schedule.yml, codeql.yml, pr-checks.yml, release.yml. No crate touched.

Action From To Pins
actions/checkout v4.2.2 v5.0.1 31
Swatinem/rust-cache v2.8.0 v2.9.0 10
actions/upload-artifact v4.6.2 v6.0.0 1
actions/download-artifact v4.3.0 v7.0.0 1
docker/setup-buildx-action v3.10.0 v4.0.0 2
docker/login-action v3.4.0 v4.0.0 2
docker/build-push-action v6.16.0 v7.0.0 2
softprops/action-gh-release v2.3.2 v3.0.0 1

scripts/test-resolve-release-tag.sh snapshots the exact checkout pin, so its 11 expected pin lines move too. No assertion changed.

How a reviewer can verify

git diff --check main...HEAD
actionlint .github/workflows/audit-schedule.yml .github/workflows/codeql.yml .github/workflows/pr-checks.yml .github/workflows/release.yml
scripts/test-resolve-release-tag.sh

Local output:

git diff --check: exited 0
actionlint: exited 0 on 4 changed workflows
ci-surfaces mapping: all checks passed
release tag validation tests passed
release versioning coverage: OK (6 workspace members, all annotated and listed).

Each new version's action.yml was checked upstream: runs.using goes node20 to node24, and every input and output these workflows use is still there.

Before you request review

  • Scope is one logical change; no unrelated churn
  • cargo test --workspace passes locally (no Rust touched; see notes)
  • Commit titles use Conventional Commits
  • Docs / .env.example N/A

Notes for reviewers

  • rust-cache v2.9.0 changed how it computes cache keys. Expect one cold cache per job after merge. Build inputs are the same.
  • download-artifact skips v6 because v6 still declares node20. We use pattern + merge-multiple, not the by-ID path v5 changed.
  • setup-buildx, login and build-push: none of the inputs removed in their majors are used; the digest output release reads is still there.
  • The release workflow wasn't run end to end. First tagged release after merge is the real test.
  • Local cargo test --workspace on 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

  • Chores
    • Updated the tooling versions used by automated checks, security analysis, and release workflows. The updates cover checkout, build caching, and release-related automation. Existing workflow conditions and release behavior remain unchanged, so there are no intended changes to the end-user experience.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request updates pinned GitHub Actions in CI and release workflows. It also updates the release workflow test fixtures to expect the new checkout action pin.

Changes: Workflow action updates

Layer / File(s) Summary
CI workflow action pins
.github/workflows/audit-schedule.yml, .github/workflows/codeql.yml, .github/workflows/pr-checks.yml
Updates checkout pins to v5.0.1 and Rust cache pins to v2.9.0.
Release workflow action pins
.github/workflows/release.yml, scripts/test-resolve-release-tag.sh
Updates action pins across release jobs, including checkout, Docker, artifact, and release actions. The test fixtures use the updated checkout pin.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested labels: kind:ci

Suggested reviewers: kevincodex1, jatmn

Merge Risk: Minimal · up to d2bd5

This updates the pinned GitHub Actions in the CI and release workflows to Node 24-compatible releases. No concrete problem was found. The first tagged release after merge will be the real test of the release workflow, and each job may see one cold Rust cache.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the main change: moving GitHub Actions workflows off the deprecated Node 20 runtime. The raw summary describes version bumps of checkout, rust-cache, and the other actions in the work…
Description check Passed The description follows the repository template. It has a Summary that states what changes and why. It has Motivation & context, though no issue is linked, and the template's 'Closes #' line is left b…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the main change: moving GitHub Actions workflows off the deprecated Node 20 runtime. The raw summary describes version bumps of checkout, rust-cache, and the other actions in the workflows, which matches this goal. The title is short, specific, and follows the Conventional Commits prefix used in the repository.

Full details: Description check

Explanation

The description follows the repository template. It has a Summary that states what changes and why. It has Motivation & context, though no issue is linked, and the template's 'Closes #' line is left blank. It marks Kind of change as Tests / CI. It lists the changed files and a table of action bumps under What changed. It gives reviewer verification commands and output. It has a Before you request review checklist with some items checked and the cargo test item left unchecked with an explanation. It has Notes for reviewers. The Protocol & signing impact section is absent, but the template says to delete that block when the change does not touch the protocol, and this change does not. The main gap is the empty 'Closes #' issue reference, which the template asks for. This is minor because the change is CI-only.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b67b8ceb-704d-4a7d-b2bf-d826caed4ddf
Commits

Reviewing files that changed from the base of the PR and between 1ba71bc and d2bd5ef.

Files selected for processing: 5

  • .github/workflows/audit-schedule.yml
  • .github/workflows/codeql.yml
  • .github/workflows/pr-checks.yml
  • .github/workflows/release.yml
  • scripts/test-resolve-release-tag.sh

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@jatmn jatmn left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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.

@jatmn jatmn mentioned this pull request Dec 1, 2026
5 of 14 tasks
@beardthelion
beardthelion added this pull request to the merge queue Dec 1, 2026
Merged via the queue into main with commit 69f7f36 Dec 1, 2026
25 checks passed
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.

2 participants