Skip to content

Fix Node 20 runtime dependency support#469

Merged
aidenybai merged 3 commits into
mainfrom
fix-node20-runtime-deps
May 25, 2026
Merged

Fix Node 20 runtime dependency support#469
aidenybai merged 3 commits into
mainfrom
fix-node20-runtime-deps

Conversation

@aidenybai

@aidenybai aidenybai commented May 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Replace @effect/platform-node with @effect/platform-node-shared so React Doctor no longer installs undici@8, which requires Node 22.19+.
  • Keep OTLP export on Effect Config.redacted while switching the HTTP client layer to FetchHttpClient.
  • Build published packages for node20 and add metadata tests that guard Node engine/build/dependency compatibility.

Test plan

  • nr format:check
  • nr typecheck
  • nr test
  • nr lint

Note

Low Risk
Workflow-only YAML change with no application runtime or dependency impact.

Overview
The CI test matrix now declares every node-version entry as a string (e.g. "20.19.0" and "22.18.0" instead of bare numeric literals).

That keeps pinned semver versions from being coerced or misread by Actions/YAML and aligns matrix values with the existing if: matrix.node-version == '22.18.0' checks, so Node 20.19.0 and other pinned runtimes are exercised reliably in CI.

Reviewed by Cursor Bugbot for commit 2e21cb7. Bugbot is set up for automated code reviews on this repo. Configure here.

Avoid the Node 22-only Undici dependency path while keeping Effect platform services and package builds aligned with the supported Node range.
@reactreview

reactreview Bot commented May 25, 2026

Copy link
Copy Markdown

No new issues

Reviewed by reactreview for commit 2e21cb7. Configure here.

Run version-matrix tests across supported Node releases while keeping TS-config-dependent quality checks on a compatible Node version.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 98c7240. Configure here.

Comment thread .github/workflows/ci.yml
Quote Node matrix versions so conditional quality steps match the intended runtime exactly.
@aidenybai aidenybai merged commit 6ac9283 into main May 25, 2026
12 checks passed
@aidenybai aidenybai deleted the fix-node20-runtime-deps branch May 25, 2026 01:44
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