Repository navigation
fix(release): qualify npm 11 locks and locale catalog - #163392
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed October 2, 2026, 5:05 AM ET / 09:05 UTC (Revision 2). ClawSweeper reviewWhat this changesThe branch normalizes omitted npm bundle markers in release dependency evidence and waits for Telegram test transcript writes before deleting fixture state. Merge readiness✅ Ready for maintainer review Keep open: this remains a useful repair for the npm 11 release branch. No actionable patch defect was found, and the previous migration concern no longer applies to the reduced diff. Priority: P2 Review scores
Verification
How this fits togetherRelease tooling converts pnpm dependency policy into authenticated npm lock evidence for downstream packagers. The Telegram HTTP test fixture exercises message delivery and must finish its transcript writes before cleaning up isolated state. flowchart TD
A[pnpm dependency policy] --> B[npm lock generation]
B --> C[Normalize exact bundle entries]
C --> D[Authenticate npm archive]
D --> E[Release dependency evidence]
F[Telegram HTTP test turns] --> G[Join transcript writes]
G --> H[Delete fixture state]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +33, Other +7. Total +40 across 3 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Retain the narrowly authenticated npm 11 normalization and the upstream fixture cleanup fence on the release branch. Do we have a high-confidence way to reproduce the issue? Yes, for the release branch: the original predicate rejects an omitted bundle marker, and the upstream fixture record describes a controlled cleanup-race reproduction. This review did not execute either scenario or establish a current-main failure. Is this the best way to solve the issue? Yes. The patch extends the existing exact exception while preserving final archive authentication and reuses the upstream fixture repair without changing production delivery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 2a8538469f45. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Normalize npm 11.19.0 omitted bundle markers only for the exact authenticated npm 11.20 entries. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
Backport the merged fixture repair after the release validation shard reproduced AgentDatabaseRegistryChangedError in the pagination case. (cherry picked from commit b806ea6) Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
0da557a to
e70106e
Compare
What Problem This Solves
Full Release Validation for 2026.9.8 reproduced two source-owned failures:
inBundlefrom three exact npm 11.20 bundled dependencies, so release-evidence generation tried to apply workspace overrides to bytes owned by npm's authenticated bundle;AgentDatabaseRegistryChangedError.User Impact
No runtime behavior or dependency version changes. This restores deterministic npm lock evidence and makes the release's Telegram validation fixture settle all writes it started.
Solution
inBundle: true, and retain final pnpm-locked npm tarball authentication. Explicit false markers, wrong paths, versions, package names, npm versions, and archive integrity still fail.Evidence
node scripts/run-vitest.mjs test/scripts/generate-npm-package-lock.test.ts --maxWorkers=1— 71/71 pass, 10.11 seconds test wall.pnpm deps:npm-lock:report ...— all 53 published-package mirrors pass; 143 bundled dependencies remain authenticated.node scripts/run-vitest.mjs extensions/telegram/src/bot-message-dispatch.preview.telegram-http.test.ts --maxWorkers=1— 27/27 pass, 58.51 seconds test wall.node scripts/check-changed.mjs --base 6bebbac77c70bb6a481a02d8da1739beef467c64 --head 86b7496b9ebfd2d2a39e6b2d08c1e9d5daa81c1d --timed— all selected checks passed before the isolated Telegram fixture backport; that backport has its own full upstream changed-check evidence and the focused current-candidate proof above.Full Release Validation parent 36979284285 remains blocked. Landing changes the candidate SHA, so a fresh complete parent is required.