Skip to content

Follow-up to #5306: turn on engine-strict=true once the corrected engines range is validated against CI images and contributor environments #6264

Description

@os-steve

Blocked-by: #5306

Spun out of the #5306 maintainer ruling (2026-08-25, batch adjudication; Option A accepted now, Option C approved as this gated follow-up — verbatim acceptance: 「就全部接受,然后继续下一批」).

What

Add engine-strict=true to .npmrc, turning the (now truthful, post-#5306) engines declaration from documentation into enforcement — a contributor or agent on node 22.4 / pnpm 9 gets refused at install time instead of a silently unsupported toolchain.

Gate (why blocked, and what to verify before flipping)

  1. 根 engines 声明比工具链实际要求宽:node ">=22" 放行 22.0–22.10 / 23.x / 25.x,pnpm ">=9" 放行 pnpm 9 —— @changesets/cli@3 全部拒绝 #5306 must land first (enforcing the old lying range would block valid environments — the card's own Option C warning).
  2. Before enabling, verify against the environments that would be refused: CI workflow images (every workflow that runs pnpm install), the documented contributor setup, and the remote-agent session images. Record the readings in this card; if any live environment fails the corrected range, fixing THAT is a prerequisite, not a reason to widen the range back.

Refs: #5306 (the ruling and the corrected range).

Metadata

Metadata

Assignees

Labels

domain:devxobjectui devx stream: fix lands on .github/, scripts/ or release pipeline — devx lane cross-repopm:dispatched

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions