Skip to content

Run on the Node 24 runtime - #2

Merged
villelaitila merged 1 commit into
mainfrom
chore/node24-runtime
Sep 22, 2026
Merged

villelaitila merged 1 commit into
mainfrom
chore/node24-runtime

Conversation

@villelaitila

Copy link
Copy Markdown

GitHub deprecated Node 20 on Actions runners. This action still declared node16, so every consumer saw a deprecation warning while the runner force-ran it on node24 regardless. Declaring node24 makes that explicit and silences the warning.

Consumed by softagram/softagram-live via softagram/ai-codereviewer@main, so this takes effect there as soon as it merges — no pin bump needed on that side.

dist/ is deliberately not rebuilt

The committed ncc bundle is CommonJS targeting es6, which node24 runs as-is. Verified under node v24.14.0: it loads and reaches getPRDetails, failing only on the absent GITHUB_EVENT_PATH — no module or syntax error. Rebuilding would drift every bundled dependency (openai, @octokit/rest, minimatch) for no benefit to this change.

Known, unchanged

A transitive dependency triggers DEP0040 (punycode deprecation) on node24. Warning only; clearing it means a dependency bump and belongs in its own PR.

Requires Actions runner v2.327.1+ on self-hosted runners.

GitHub deprecated Node 20 on Actions runners, and this action still
declared node16, so every consumer saw a deprecation warning and the
runner force-ran it on node24 anyway. Declaring node24 makes that
explicit and silences the warning.

dist/ is deliberately not rebuilt. The committed ncc bundle is
CommonJS targeting es6, which node24 runs as-is: executed under
node v24.14.0 it loads and reaches getPRDetails, failing only on the
absent GITHUB_EVENT_PATH, with no module or syntax error. Rebuilding
would drift every bundled dependency for no gain here.

Requires Actions runner v2.327.1 or later on self-hosted runners.

Known cosmetic issue, unchanged by this commit: a transitive dependency
triggers DEP0040 (the punycode deprecation warning) on node24. It is a
warning only; clearing it means a dependency bump, which belongs in its
own change.
@villelaitila
villelaitila merged commit 7eee48a into main Sep 22, 2026
1 check passed
@villelaitila
villelaitila deleted the chore/node24-runtime branch September 22, 2026 16:52
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.

1 participant