Repository navigation
Close release-readiness verification gaps - #36
Conversation
christophersesugh
left a comment
There was a problem hiding this comment.
Independent review against #35
Reviewed head f3f0ee15ed06a573890acb8b22e511a8f3c0ba4e, base 992cc07db7c3be6da9bb5ba3808a0f9176da56f4. All 11 changed-file patches inspected. PR quality run 46147086728 succeeded on Ubuntu and Windows; logs show 211/211 tests in 20 files on each, installed NodeNext declarations/emitted ESM success on both, and job steps confirm omission probes on both and preflight matrix on Ubuntu. The checked-out test merge 8be4d1270b5b8200e8590fd0673109e6fb5ff068 compares to the reviewed head with zero changed files. This is real PR execution evidence, not final main-push release evidence.
Remaining findings
P2 — QA-03: the actual staging control path is not exercised by the negative matrix. tests/release-preflight.sh:44–79 invokes only the independent run and archive modes. release.yml:47–54, 62–75 still owns artifact selection/download, stage-step gating and the final main-SHA/digest rechecks outside that tested path. For example, a regression in the final recheck or changing the stage step to run after a failed preflight would not fail any of the added tests. The current workflow does use normal success-only step semantics and fail-fast shell checks; no current unauthorized staging is demonstrated. #35 explicitly asks for evidence that rejection cannot invoke npm staging. Add a focused credential-free orchestration test (stub gh and npm, or test a shared read-only orchestration plus a workflow contract assertion) that proves a successful synthetic candidate selects the correct run/attempt and exact archive, and that rejected run/archive, failed download, stale main immediately before staging, and changed tarball immediately before staging cannot reach a staging invocation. Do not dispatch a real workflow or grant quality CI write credentials.
P3 — Full local quality command omits the new regression gates. package.json:27–39 leaves pnpm check unchanged; the omission probes and Linux preflight regression are extra CI steps. The release policy describes local and CI verification as equivalent. A maintainer can run the documented full local gate without running either new regression. Add explicit supported commands (include cross-platform omission probes in the full local gate, and make the Ubuntu-only preflight command an explicit part of the documented complete release verification procedure, with unsupported platforms clearly reported rather than silently passing). Keep local and CI instructions consistent. Do not make Bash/GNU utilities a runtime dependency.
Acceptance evidence incomplete — requirements reconciliation. The PR itself accurately limits its coverage table to test titles. #35 asks to reconcile final requirements with actual source and packed-consumer assertions, not just titles. Before closing the issue, attach a focused requirement-to-test/assertion crosswalk referencing the accepted contract requirements and exact-head execution, including comparator/aggregation, canonical bytes, invalid inputs, version/lineage, projection, resource limits and overlapping acquisition. Identify any uncovered cases or explicitly document why existing assertions suffice. This can live in the canonical context/review record rather than polluting public package docs. The added overlapping collection test is meaningful and I found no concrete runtime regression in this targeted diff review.
Original findings status
- QA-01: source correction and nine omission probes present and passing on both platforms.
- QA-02: source correction present; separate offline installed NodeNext consumer compiles strict types, checks file resolution and rejected deep import, executes emitted quick start; both CI logs confirm success. Bundler gate retained.
- QA-03: read-only validator and positive/negative matrix present, Ubuntu CI passed; orchestration evidence remains incomplete as above.
Not pre-merge source defects, but mandatory before issue/release acceptance
Keep #35 open (PR correctly avoids automatic closure). After all corrections, require fresh exact-head PR checks, then exact main-push CI and independent retained tarball inspection including manifest, source maps/source identity, digest and notices. Confirm release date, rights/attribution, npm scope/version availability, publisher identity, actual protected environment/trusted publisher setup, and separate approval. macOS remains optional. Do not stage or publish as part of this review.
Local verification limitation: Node v22.16.0, pnpm absent, GitHub clone DNS failure independently observed here; no local full suite rerun. Remote CI logs were inspected, not newly executed by this reviewer. Outcome: corrections required; final release readiness inconclusive / publication NO-GO.
Review correctionsP2: manual protected workflow uses a single P3: Assertion-level coverage reconciliationAccepted specifications 0001–0006, with current generation-4 amendment and authorized 0.0.1 metadata, govern this targeted crosswalk at
Prior independent review reports CI 46147086728 at |
christophersesugh
left a comment
There was a problem hiding this comment.
Follow-up verification against #35
Reviewed corrected head 914896d0b5c427ad2d50c92b50847a445bf4caae against prior reviewed head f3f0ee15ed06a573890acb8b22e511a8f3c0ba4e. Compared the ten changed paths and inspected the corrected staging entry point, preflight suite, workflow, local commands, isolated omission probes and coverage record.
- P2 staging control path: addressed in source. The protected workflow invokes the single
scripts/stage-release.shpath, which performs approval, exact run/attempt selection, download, archive verification and final main/digest checks before staging. The synthetic tests invoke that same path with isolated environment and fake gh/npm/node, assert exact arguments and digest, and require no staging invocation for rejected run/archive, failed download, stale initial/final main and altered final archive. No new blocking source finding identified. - P3 local gate: addressed in source.
pnpm checknow includescheck:presence; CI uses the same commands. The probes operate in a temporary copy, and the release policy explicitly requires Ubuntucheck:release-preflightwith nonexecution recorded on unsupported local platforms. - Requirements reconciliation: addressed at the targeted review level. The correction comment supplies an assertion-level crosswalk with pinned file ranges. I checked representative actual assertions covering independent canonical digests/replay, the 2,048 composition cases, hidden projection invariance, exact/adjacent graph limits, overlapping acquisition and installed consumer projection/lineage. This is substantive evidence rather than a title inventory; not an exhaustive input-space proof. Runtime/consumer test files are unchanged from the previous reviewed head.
Execution still pending: quality run 46147653173 is pending for this exact head, with no jobs/results returned yet. The previous successful run 46147086728 cannot certify the changed staging/omission gates. No fresh local execution performed (Node 22.16.0, pnpm unavailable). Require both platform jobs green, omission probes, Ubuntu orchestration marker and packed NodeNext consumer evidence before considering the PR ready for maintainer merge.
No additional source correction requested at this point. Overall verification remains inconclusive pending exact-head CI; this comment is not approval or publication authorization. Keep #35 open until exact-main CI and independent retained artifact inspection plus external AY-I09 gates are complete.
Scope
Addresses the implementation and verification-tooling findings in #35. Do not auto-close the issue: exact-main CI, independent artifact inspection and external acceptance remain outstanding. No runtime semantics, public exports, package identity, dependencies, or publication permission changes.
Changes and requirement coverage
Static coverage reconciliation
Existing suites cover the following requirements (titles inspected, not a new exhaustive runtime audit):
No evidence of a missing runtime comparator or integrity case identified by this title-level reconciliation; deeper independent review remains required.
Verification performed
Baseline:
992cc07db7c3be6da9bb5ba3808a0f9176da56f4(issue baseline and main at start).Linux x86_64, jq 1.7, GNU tar 1.35:
bash -n scripts/release-preflight.sh,bash -n tests/release-preflight.sh,bash tests/release-preflight.shpassed. Executed copies matched GitHub blobsdb660dfe7dc6a36bebe3ea71ac03fed3b267a69aandb4dff3d8b92cf0f42e2ade3c55130602a42d66a2respectively.Full local frozen install, typecheck, Biome, Vitest, build/dist, packed-consumer and omission probes not run: available Node v22.16.0, pnpm unavailable, GitHub clone DNS failure. Await exact-head Ubuntu and Windows quality results; no green CI claim.
Acceptance still outstanding