Skip to content

chore: drop Node 18 support, bump engine to >=20 #363

Closed

Description

@admarble

Summary

Node 18 reached End of Life on April 30, 2025. Several dependency upgrades are blocked by Node 18 compatibility:

Action Items

Context

Node 18 has been EOL for ~11 months. All major dependencies (vitest, ora) have dropped Node 18 in their latest major releases. Continuing to support Node 18 blocks upgrade paths.

Activity

  1. added
    dependencies
    on Mar 15, 2026
  2. admarble commented on Mar 15, 2026

    @admarble
    ContributorAuthor

    Spec Plan — #363: Drop Node 18 Support

    AC Quality Check

    Issue uses Action Items format (not AC format). All items are clear and testable — no vague language detected.

    Scope Assessment

    Metric Value Status
    Feature count 1 (engine bump + CI cleanup) ✅
    AC items 5 ✅
    Directory spread 3 (root, .github, docs) ✅

    Verdict: ✅ SCOPE_OK — Single focused chore task

    Non-Goals


    Acceptance Criteria

    AC-1: engines.node in package.json updated from >=18.0.0 to >=20.0.0

    • Verification: Unit Test — read package.json, assert engines.node === ">=20.0.0"

    AC-2: 18.x removed from CI matrix in .github/workflows/ci.yml

    • Verification: Integration Test — matrix should be [20.x, 22.x]

    AC-3: README and docs updated to reference Node 20+ instead of Node 18+

    • Verification: Manual Test — grep for "18" in README.md and docs/getting-started/prerequisites.md

    AC-4: PR #357 (vitest 4) merged

    • Verification: Integration Test — npm test passes with vitest 4

    AC-5: PR #353 (production deps) merged

    • Verification: Integration Test — npm run build and npm test pass with updated deps

    Implementation Plan

    Phase 1: Merge Dependency PRs (AC-4, AC-5)

    These PRs are currently blocked by Node 18 compat. We need to:

    1. Update engines.node in package.json from >=18.0.0 to >=20.0.0 (AC-1)
    2. Update CI matrix in .github/workflows/ci.yml — remove 18.x, keep [20.x, 22.x] (AC-2)
    3. Merge chore(deps-dev): bump vitest from 3.2.4 to 4.1.0 #357 (vitest 3→4) — rebase onto our branch after engine bump (AC-4)
    4. Merge chore(deps): bump the production-dependencies group with 7 updates #353 (production deps) — rebase onto our branch after engine bump (AC-5)

    Phase 2: Documentation Updates (AC-3)

    1. Update README.md line 52: "Node.js 18+" → "Node.js 20+"
    2. Update docs/getting-started/prerequisites.md:
      • Line 34: "Node.js 18+" → "Node.js 20+"
      • Line 41: "v18.x.x" → "v20.x.x"
    3. Update QA skill examples referencing build (18.x) in:
      • skills/qa/SKILL.md
      • templates/skills/qa/SKILL.md
      • .claude/skills/qa/SKILL.md

    Phase 3: Verify

    1. Run full CI: npm run lint && npm run build && npm test

    Feature Quality Planning

    Completeness Check

    • All AC items have corresponding implementation steps
    • Integration points: CI matrix, package.json engines, docs
    • No partial implementations planned

    Error Handling

    Code Quality

    • No code changes (config/docs only)
    • Follows existing patterns

    Test Coverage Plan

    • Existing test suite validates nothing breaks
    • CI matrix change is the test itself (Node 20+22 pass)

    Best Practices

    • Breaking change documented (Node 18 users affected)
    • Dependency PRs merged cleanly

    Recommended Workflow

    Phases: exec → qa
    Quality Loop: disabled
    Reasoning: Config/docs change with dependency merges. No new code to test. CI validates the engine change.

    Label Review

    Current: dependencies
    Recommended: dependencies (sufficient)
    Quality Loop: Won't auto-enable


    Open Questions

    1. Merge order for chore(deps-dev): bump vitest from 3.2.4 to 4.1.0 #357 and chore(deps): bump the production-dependencies group with 7 updates #353
  3. added a commit that references this issue on Mar 15, 2026
    fd3b93a
  4. admarble commented on Mar 15, 2026

    @admarble
    ContributorAuthor

    QA Review for Issue #363

    AC Coverage

    AC Description Status Notes
    AC-1 engines.node updated to >=20.0.0 MET package.json line 57
    AC-2 18.x removed from CI matrix MET .github/workflows/ci.yml — now [20.x, 22.x]
    AC-3 README and docs updated MET README.md, prerequisites.md, 3x QA skill examples
    AC-4 Merge #357 (vitest 4) MET vitest ^4.1.0, all 1543 tests pass
    AC-5 Merge #353 (production deps) MET commander ^14.0.3, inquirer ^13.3.0, ora ^9.3.0

    Coverage: 5/5 AC items fully met

    CI Status

    Check State Impact
    build (20.x) SUCCESS MET
    build (22.x) SUCCESS MET
    typecheck SUCCESS MET
    validate-skills SUCCESS MET
    validate-plugin SUCCESS MET
    Plugin Structure Validation FAILURE Pre-existing (marketplace.json schema)
    Hooks Validation FAILURE Pre-existing (bash -e + exit 2)

    Note: The 2 failures are from plugin-install-test.yml triggered by skill file edits. They are pre-existing issues not introduced by this PR (main CI passes all core checks).

    Quality Metrics

    Metric Value Status
    Type issues (any) 0 OK
    Deleted tests 0 OK
    Files changed 8 OK
    Lines added +1032 OK (mostly lockfile)
    Lines deleted -862 OK (mostly lockfile)

    Self-Evaluation

    • Verified working: Yes — build, lint, all 1543 tests pass. CLI smoke test works.
    • Test efficacy: High — 1543 existing tests validate new deps compatibility
    • Likely failure mode: Downstream projects on Node 18 fail engine check (intentional)
    • Verdict confidence: High — config/docs change with well-tested dependency upgrades

    Verdict: READY_FOR_MERGE

    All acceptance criteria met. Build, lint, and tests pass locally and in CI (20.x, 22.x). Clean dependency upgrades with no breaking changes to the codebase.

    Documentation

    • README updated (Node 20+)
    • docs/ updated (prerequisites.md)
    • CHANGELOG entry added

    PR: #365

  5. added a commit that references this issue on Mar 15, 2026
  6. admarble commented on Mar 15, 2026

    @admarble
    ContributorAuthor

    /fullsolve Complete

    Issue: #363
    Status: READY_FOR_MERGE → Merged

    Summary

    • AC: 5/5 met
    • Tests: 1543/1543 passed
    • Build: Clean on main post-merge

    Iterations

    • Spec: 1
    • Exec: 1
    • Test: Skipped (no UI)
    • QA: 1

    Changes

    • engines.node: >=18.0.0 → >=20.0.0
    • CI matrix: [18.x, 20.x, 22.x] → [20.x, 22.x]
    • vitest: ^3.2.4 → ^4.1.0
    • commander: ^12.1.0 → ^14.0.3
    • inquirer: ^12.3.2 → ^13.3.0
    • ora: ^8.2.0 → ^9.3.0

    Cleanup

  7. added 2 commits that reference this issue on Apr 23, 2026
  8. added 2 commits that reference this issue on May 31, 2026
  9. added 3 commits that reference this issue on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependencies

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions