Repository navigation
LBA REQ 093
Proven
Packaging / boundary (ADR-0076 -- the Node-version-pinned reproducible .vsix, issue #408)
The system shall pin the exact Node.js version that packages the .vsix in a repo-root .nvmrc
sourced by every release-path workflow, so a fail-closed gate proves the reviewed build and the CI publish
build use the identical Node version and cannot drift across a Node minor.
LBA-REQ-085 (timestamp pin) and LBA-REQ-086 (cross-plane metadata + LF) make the .vsix
byte-reproducible, but only WITHIN an exact Node version: the packaged bytes are a function of the toolchain, and
a Node minor can perturb them. Every release-path workflow used actions/setup-node@v5 with node-version: '24',
which resolves to whatever latest 24.x is in the runner tool cache at run time. The reviewed sha is built locally
on a fixed 24.x; if CI later floats to a different 24.x whose bytes differ, the reviewed==shipped gate
(reviewed-vsix-matches-shipped, LBA-REQ-085) fails at publish -- the most expensive place to discover it. The
1.1.0 lesson (a node-22 review vs a node-24 publish producing different shas) is folded into
lba release-preflight, but the residual minor-drift risk needed a committed pin.
- A repo-root
.nvmrcpins the EXACT release Node version (e.g.24.19.0), not a major. -
.github/workflows/extension-release.yml,.github/workflows/vsix-cross-plane-repro.yml, and.github/workflows/acg-cross-plane-corroboration.ymleach source Node vianode-version-file: .nvmrcand pin no floatingnode-version:literal, so the local reviewed build and the CI publish build resolve the same Node. -
lba release-preflight X.Y.Zfails closed when the local Node version does not equal.nvmrc(an exact-version check that supersedes the node-major check when.nvmrcis present). - The gate
release-path-node-pinned(verify-local-gates) proves offline that.nvmrcpins an exact version and every release-path workflow sources it from.nvmrcwith no floating literal; thescripts/lba.mjsselftest proves the exact-version preflight (an equal Node clears, a later 24.x minor fails).
to bump the pinned Node, edit .nvmrc to the new exact X.Y.Z, re-run npm run package to
confirm the reviewed sha still matches CI, and re-run the cross-plane byte-repro grid; no workflow edits are
needed (the pin is the single source). The pin + bump procedure is documented in
docs/release/release-procedure.md + docs/release/release-runbook.md. Filed as issue #408 while driving the
1.1.1 Marketplace publish; authored under the singular-requirement directive (one shall).
.nvmrc; .github/workflows/extension-release.yml; .github/workflows/vsix-cross-plane-repro.yml; .github/workflows/acg-cross-plane-corroboration.yml; scripts/lba.mjs; docs/release/release-procedure.md; experiments/verify-local-gates.mjs
Proven