Skip to content

chore(#677): raise Node engine floor to >=22.12 (drop EOL Node 20) - #679

Merged
admarble merged 2 commits into
mainfrom
feature/677-chore-raise-node-engine-floor-to-22-12-drop-eol-no
May 31, 2026
Merged

admarble merged 2 commits into
mainfrom
feature/677-chore-raise-node-engine-floor-to-22-12-drop-eol-no

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

Changes

File group Change
package.json + lockfile + .claude-plugin/{plugin,marketplace}.json engines.node → >=22.12.0; version 2.3.0 → 2.4.0
.github/workflows/ci.yml Matrix collapsed [20.x, 22.x] → [22.x]; 3 hardcoded node-version: 20.x → 22.x
.github/workflows/{release,plugin-install-test,upstream-assessment}.yml 3 hardcoded node-version sites → 22.x/'22'
README.md, docs/getting-started/prerequisites.md, 4 × docs/features/*.md, scripts/prepare-marketplace.ts User-facing "Node.js 20+" prose → "Node.js 22.12+"
setup/SKILL.md (3 mirrors: .claude/skills/, skills/, templates/skills/) 4 lines each — prereq description + runtime check -ge 20 → -ge 22 + troubleshooting line
CHANGELOG.md New [Unreleased] → ### Changed BREAKING entry referencing #677

19 files changed, +48/-47 lines.

Pre-PR AC Verification

AC Description Status Evidence
AC-1 package.json engines.node >=20.19.0 → >=22.12.0 ✅ Implemented package.json:69
AC-2 All hardcoded 20.x removed from CI workflows; matrix is [22.x] ✅ Implemented 8 sites across ci.yml, release.yml, plugin-install-test.yml, upstream-assessment.yml; grep '20\.x|"20"|'\''20'\''' .github/workflows/ → 0 matches
AC-3 README + marketplace README + prerequisites + features docs + setup/SKILL.md mirrors updated ✅ Implemented README:77, prepare-marketplace.ts:270, prerequisites.md:34-36, 4× docs/features/*.md, 3× setup/SKILL.md (12 line edits, mirrors verified in sync)
AC-4 CHANGELOG [Unreleased] → ### Changed BREAKING entry ✅ Implemented CHANGELOG.md:16
AC-5 Version 2.3.0 → 2.4.0 (minor; EOL-runtime drop) ✅ Implemented package.json:3 + .claude-plugin/plugin.json:4 + .claude-plugin/marketplace.json:11 + lockfile auto-synced
AC-6 Post-merge: Dependabot commander 14→15 bump verified on Node 22.12 🔄 Deferred Out of scope for this PR; will be handled by Dependabot once this lands (commander-major was previously ignored in dependabot.yml — re-enable after merge)

Test plan

  • npm run build — passes (tsc clean)
  • npm run lint — passes (0 errors)
  • npm test — 3413 passed, 2 pre-existing flakes unrelated to this PR (prompt-wait.test.ts ENOENT race, relay-hook.integration.test.ts SEQUANT_RELAY env render check — both reproduce on clean main)
  • npx tsx scripts/check-skill-sync.ts — setup/SKILL.md mirrors in sync (no new divergences introduced)
  • npm run lint:skill-calls — 0 violations
  • CI matrix on PR confirms build (22.x) only; no build (20.x) job
  • Post-merge: npx sequant --help runs on Node 22.12 (smoke)

Notes

  • AC-3 scope expanded vs. the issue's "if applicable" wording for marketplace README — scripts/prepare-marketplace.ts:270 is the source the dist marketplace README is generated from, so it's required. Four docs/features/*.md prereq blocks were also caught via prose grep per feedback_sibling_scan_includes_prose.md.
  • qa/SKILL.md and markdown-only-ci test fixtures retain literal build (20.x) example strings — these are illustrative pattern-matching examples, not assertions about live CI, so they don't need to track the matrix change. Settings default qa.markdownOnlySafeCiPatterns uses build (*) wildcard which still matches build (22.x).

Closes #677

🤖 Generated with Claude Code

Bump `engines.node` from `>=20.19.0` to `>=22.12.0`. Node 20 ("Iron")
reached EOL on 2026-04-30; Node 22 ("Jod") is the maintenance LTS through
~April 2027. The 22.12 floor specifically matches commander@15's
require(esm) requirement, unblocking the Dependabot commander 14→15 bump
previously blocked in #676.

- AC-1: package.json engines.node → >=22.12.0
- AC-2: CI matrix collapsed to [22.x]; all 8 hardcoded node-version: 20.x/'20'
  setup-node sites in .github/workflows/{ci,release,plugin-install-test,
  upstream-assessment}.yml raised to 22.x/'22'
- AC-3: User-facing prose updated at all surfaces: README, marketplace
  README source (scripts/prepare-marketplace.ts), docs/getting-started/
  prerequisites.md, four docs/features/*.md prerequisite blocks, and
  setup/SKILL.md (4 lines × 3 mirror dirs, including the `-ge 20` → `-ge 22`
  runtime check)
- AC-4: CHANGELOG [Unreleased] BREAKING entry under ### Changed
- AC-5: version 2.3.0 → 2.4.0 (minor; EOL-runtime drops are minor per
  project_versioning.md, mirroring #363's Node 18→20 precedent)
- AC-6: post-merge follow-up — Dependabot commander 14→15 re-bump

Mirrors the deliberate floor-bump pattern from #363.

Closes #677

Entire-Checkpoint: 46cc4b7088ef
CONTRIBUTING.md and docs/features/mcp-server.md still claimed Node 18,
left over from before the #363 floor bump. Raise both to 22.12+ so all
user-facing prose matches engines.node. Update CHANGELOG surface list
(four->five docs/features blocks, add CONTRIBUTING.md).
@admarble
admarble merged commit b62b770 into main May 31, 2026
7 checks passed
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.

chore: raise Node engine floor to >=22.12 (drop EOL Node 20), unblock commander 15

1 participant