Skip to content

ci(config): pin verify-docs harness tests to node 20 (#2178)#2193

Merged
bpamiri merged 1 commit into
developfrom
peter/fix-2178-node20-harness
Apr 22, 2026
Merged

ci(config): pin verify-docs harness tests to node 20 (#2178)#2193
bpamiri merged 1 commit into
developfrom
peter/fix-2178-node20-harness

Conversation

@bpamiri

@bpamiri bpamiri commented Apr 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

Pin the verify-docs harness unit tests to Node 20 to work around the Node 22 spawn ENOENT bug documented in #2178 (child_process.spawn ENOENT on every absolute path inside node --test worker contexts on Linuxbrew). Node 22 is restored for the main content gate (Verify v4 docs) and the guides build.

Scope: workflow-only (.github/workflows/docs-verify.yml). Adds a Node 20 setup step scoped to the harness test, then restores Node 22 before the subsequent steps.

Partial fix for #2178

The originally-planned drop of continue-on-error: true is kept in place for now. With Node 20 the spawns work, which immediately surfaces 7 pre-existing tutorial-driver failures (the blog-tutorial fixture's lucee.json is no longer emitted by wheels new). That's filed as #2196 and will drop continue-on-error once the fixture is fixed.

So this PR changes #2178 from "silently greens regressions via soft-fail" to "reliable spawns + still soft-fail, but the real bug is now visible in CI logs and tracked separately." Concrete step forward without blocking on the fixture bug.

Test plan

  • CI: verify-docs workflow runs the harness step on Node 20 and the content gate on Node 22
  • commitlint passes (ci(config) scope per CLAUDE.md + recent precedent)
  • YAML validates

Refs #2178
Opens #2196

🤖 Generated with Claude Code

Node 22's test-runner workers on Linuxbrew return spawn ENOENT on every
absolute path, which previously forced the harness step to soft-fail and
silently green regressions. Pin the harness unit tests to Node 20; Node
22 is restored for the main content gate (Verify v4 docs) and the
guides build.

Keeping continue-on-error: true on the harness step for now — with
Node 20 the spawns work, which surfaces 7 pre-existing tutorial-driver
failures (blog-tutorial fixture's lucee.json is no longer emitted by
`wheels new`). Follow-up issue will fix the fixture; once fixed, drop
continue-on-error so regressions fail CI as originally intended.

Refs #2178

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bpamiri
bpamiri force-pushed the peter/fix-2178-node20-harness branch from 0a81476 to 79a0b3f Compare April 22, 2026 04:35
@bpamiri bpamiri changed the title config(config): pin verify-docs harness tests to node 20 (#2178) ci(config): pin verify-docs harness tests to node 20 (#2178) Apr 22, 2026
@bpamiri
bpamiri merged commit d011040 into develop Apr 22, 2026
4 checks passed
@bpamiri
bpamiri deleted the peter/fix-2178-node20-harness branch April 22, 2026 04:45
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