Skip to content

fix(ci): run the deploy-tests shards on Node.js 24 - #402

Merged
k-taro56 merged 2 commits into
mainfrom
fix/deploy-tests-node24-harness
Oct 30, 2026
Merged

k-taro56 merged 2 commits into
mainfrom
fix/deploy-tests-node24-harness

Conversation

@k-taro56

@k-taro56 k-taro56 commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Since #393, every deploy-tests shard fails before it runs a suite. The shards go back to Node.js 24.

  • Symptom: List what this shard runs exits with ReferenceError: require is not defined in ES module scope from nextjs/node_modules/.pnpm/yargs@16.2.0/node_modules/yargs/yargs. Next.js's run-tests.js requires yargs/yargs, an extensionless file in a "type": "module" package, and Node.js 26.13.0 loads it as an ES module. All 64 node shards of ci(deploy-tests): run node over the whole manifest on every pull request push #401's pull request run failed this way.
  • Change: deploy-tests.yaml runs the shard jobs on Node.js 24.22.1, as before Move development and CI to Node.js 26 LTS #393. It is pinned exactly because the adapter builds a native Function only under the Node.js versions it guards (isGuardedNodeVersion: 24.22.1 or 26.13.0), and a floating 24 would move past that version. The suite runs out of Next.js's checkout, and Next.js 16.4.3 targets Node.js 20 (.node-version). This repository keeps Node.js 24 working (devEngines.runtime.onFail is warn), and every shard ran on it until Move development and CI to Node.js 26 LTS #393.
  • Not changed: the report job still uses the root package.json version, and only runs this repository's own scripts.

Without this, tonight's nightly runs fail the same way.

Verified

A dispatch on this branch at 6f2190f (node, v16.4.3: hello-world, app-dir hello-world, module-layer, switchable-runtime) passed: run 41001781214. The run on Node.js 24 resolved to 24.22.1 then, the same version the pin now names.

Since #393 every shard failed before running a suite: Next.js's
run-tests.js requires yargs/yargs, an extensionless file in a
"type": "module" package, which Node.js 26 loads as an ES module and
rejects ("require is not defined in ES module scope"). The shards go back
to Node.js 24, which this repository keeps supporting and every shard ran
on until then.
@arkor-deploy

arkor-deploy Bot commented Oct 30, 2026

Copy link
Copy Markdown

Arkor — Preview deployments for arkorlab-upwind

Use the checkbox below to choose whether this pull request gets preview deployments.

  • Build and deploy previews for this pull request

Checking this builds the latest commit and future pushes. Unchecking stops queued and future builds; a running build can finish and an existing preview stays available.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 45 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f19a6224-5958-4f6d-803b-06a80aec3b63
Commits

Reviewing files that changed from the base of the PR and between 8145f00 and 6338633.

Files selected for processing: 1
  • .github/workflows/deploy-tests.yaml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T04:21:44.875423Z 6338633 New commits
🔒 Security Review ✅ Completed 2026-10-30T04:22:32.317995Z 6338633 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment thread .github/workflows/deploy-tests.yaml Outdated
@greptile-apps

greptile-apps Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issue was found in the exact runtime pin.

Summary

Runs the deploy-test shards on Node.js 24.22.1 instead of 26.13.0.

  • Deploy-test shards now run on Node.js 24.22.1.

Reviews (2) · Last reviewed commit: "fix(ci): pin the deploy-tests shards to ..." · Reviewed by Greptile

The adapter builds a native Function only under the exact Node.js
versions it guards, and a floating 24 would move past 24.22.1.
@k-taro56
k-taro56 merged commit 24bf738 into main Oct 30, 2026
52 checks passed
@k-taro56
k-taro56 deleted the fix/deploy-tests-node24-harness branch October 30, 2026 05:36
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