Skip to content

ci: bring host-cpp-tests in line with the rest of the workflow - #408

Merged
kraenhansen merged 2 commits into
nextfrom
claude/nodejs-20-deprecation-next-ubspbg
Aug 12, 2026
Merged

ci: bring host-cpp-tests in line with the rest of the workflow#408
kraenhansen merged 2 commits into
nextfrom
claude/nodejs-20-deprecation-next-ubspbg

Conversation

@kraenhansen

@kraenhansen kraenhansen commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #405 and #407, which swept the Node.js 20 deprecation out of the workflows on main.

host-cpp-tests was added on next (#398), so it was never in the diff of either sweep. It is the one job in check.yml still on actions/checkout@v4, pnpm/action-setup@v4 and actions/setup-node@v6 — and therefore the only remaining source of the runner's "targets Node.js 20 but are being forced to run on Node.js 24" warning anywhere in the repo.

Changes

Gives host-cpp-tests the same arrangement its seven siblings already have on next:

- uses: actions/checkout@v7
- uses: actions/setup-node@v7
  with:
    node-version: lts/krypton
- uses: pnpm/action-setup@v6
  with:
    cache: true

plus hendrikmuhs/ccache-action pinned to v1.2.23, since its floating v1 / v1.2 tags still resolve to a Node.js 20 build.

Node.js is set up before pnpm rather than after — the reasoning is in the note at the top of check.yml. Short version: v6 bootstraps pnpm via npm ci and resolves npm through PATH, so it needs a working npm ahead of the broken copy in the self-hosted runner's Node.js 24 externals. That ordering used to be impossible because setup-node's cache: pnpm shells out to pnpm store path; v6 caches the store itself, so the constraint is gone.

After this, all eight jobs in check.yml share the same first three steps.

Notes

host-cpp-tests is gated on the host label for pull requests, so that label is applied here to actually exercise the change on all three runners.

@kraenhansen kraenhansen added CI Continuous integration host labels Aug 12, 2026 — with Claude
Comment thread .github/workflows/check.yml Fixed
Comment thread .github/workflows/check.yml Fixed
claude added 2 commits August 12, 2026 10:55
host-cpp-tests was added on next (#398), so the Node.js 20 deprecation
sweep on main (#405, #407) never reached it: it is the one job in the
workflow still on actions/checkout@v4, pnpm/action-setup@v4 and
actions/setup-node@v6, and so the only remaining source of the runner's
"targets Node.js 20" warning.

Merges main to pick up #407 and gives the job the same arrangement as
its siblings: Node.js set up before pnpm, pnpm/action-setup v6 owning
the store cache, and ccache-action pinned to an exact patch.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W14eEfXdK5DYzv43MazryE
check.yml only runs on opened/synchronize/reopened, so the host-gated
job this change is about does not start from labelling alone.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W14eEfXdK5DYzv43MazryE
@kraenhansen
kraenhansen force-pushed the claude/nodejs-20-deprecation-next-ubspbg branch from 5d25636 to a7e67a6 Compare August 12, 2026 10:55
@kraenhansen
kraenhansen merged commit 7debd88 into next Aug 12, 2026
18 checks passed
@kraenhansen
kraenhansen deleted the claude/nodejs-20-deprecation-next-ubspbg branch August 12, 2026 11:18
kraenhansen added a commit that referenced this pull request Aug 13, 2026
* ci: bring host-cpp-tests in line with the rest of the workflow

host-cpp-tests was added on next (#398), so the Node.js 20 deprecation
sweep on main (#405, #407) never reached it: it is the one job in the
workflow still on actions/checkout@v4, pnpm/action-setup@v4 and
actions/setup-node@v6, and so the only remaining source of the runner's
"targets Node.js 20" warning.

Merges main to pick up #407 and gives the job the same arrangement as
its siblings: Node.js set up before pnpm, pnpm/action-setup v6 owning
the store cache, and ccache-action pinned to an exact patch.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W14eEfXdK5DYzv43MazryE

* ci: re-run checks for the newly applied labels

check.yml only runs on opened/synchronize/reopened, so the host-gated
job this change is about does not start from labelling alone.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W14eEfXdK5DYzv43MazryE

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants