ci: add Node 18.x runtime-smoke job to validate the engines floor
Context
PR #518 raised engines.node to >=18.17.0 (undici's floor), but CI only runs Node 20.x/22.x. A full 18.17 matrix job is not feasible: the dev toolchain is gated higher (eslint's transitive deps @humanfs/core / @humanwhocodes/retry require Node >=18.18, and the test/build toolchain is validated on Node 20+). CONTRIBUTING.md deliberately documents the split between the runtime floor (>=18.17.0) and the development floor (Node 20+).
That leaves the published runtime floor unvalidated by CI. Discussion: https://github.com/ndycode/codex-multi-auth/pull/518#discussion_r3382739760
Proposed job
A runtime-smoke job on node-version: 18.17.x that never installs devDependencies:
npm packon a Node 20 builder (build needs the dev toolchain) and pass the tarball as an artifact- On 18.17:
npm install -g ./codex-multi-auth-*.tgz - Smoke-run the CLI entrypoints (
codex-multi-auth --help,codex-multi-auth list,codex-multi-auth-codex --help) and assert exit code 0
This catches accidental use of Node 20+-only APIs at the published floor — the same risk class as audit finding M9 (@types/node ^25 resolving types for APIs the floor doesn't have).
Related
- Audit roadmap:
docs/audits/AUDIT_2026-06-10.md§4.5 - Finding M9 (
@types/nodepin decision) — whichever way that lands, this job is the runtime backstop
ndycode/codex-multi-auth#37 - chore(dx): add local dev doctor and setup commands [merged]
ndycode/codex-multi-auth#308 - test: cover runtime benchmark script [merged]
ndycode/codex-multi-auth#342 - mirror release harness checks on push CI [merged]
ndycode/codex-multi-auth#476 - fix: update hono security floor [merged]
ndycode/codex-multi-auth#503 - fix(security,resilience): pre-release hardening from deep stress test [merged]🔗 Related PRs
📝 Issue Planner
Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.
- [ ] Create Plan
🧪 Issue enrichment is currently in open beta.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
💬 Have feedback or questions? Drop into our discord!