Skip to content

Follow the republished minimist canary patch - #1302

Closed
Mikola Lysenko (mikolalysenko) wants to merge 2 commits into
mainfrom
ci/canary-minimist-republish
Closed

Mikola Lysenko (mikolalysenko) wants to merge 2 commits into
mainfrom
ci/canary-minimist-republish

Conversation

@mikolalysenko

@mikolalysenko Mikola Lysenko (mikolalysenko) commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #1293

Production withdrew the canary patch for pkg:npm/minimist@1.2.2 (80630680-4da6-45f9-bba8-b888e0ffd58c now answers withdrawn from /patch/package, and Patch not found from /patch/view). It republished the fix at 2026-10-09 15:57Z as 642d7f02-ebc1-4ab0-99e2-07f5dd8463cb, with a new patched index.js (afterHash ec956dca…, previously 043f04d1…) and an added test/proto.js.

Main's run 37954539425 (CI), 37954539418 (Bun) and 37954539561 (vlt) failed because of this, which blocks every PR in the merge queue:

  • hosted-e2e: hosted proofs rewrote nothing ("production publishes no patches").
  • e2e_safety_pnpm: index.js hash did not match the old afterHash.
  • Bun/vlt native legs: patch 80630680-… is not granted: 'withdrawn'.

Change

The UUID and afterHash are updated in the production-facing tests (e2e_hosted_production, e2e_vendored_production, e2e_safety_pnpm, e2e_npm), in scripts/backtest-bun.py and scripts/backtest-vlt.py, and in docs/testing/bun-compatibility.md. Offline UUID-shape tests, wiremock suites and binary .lockb/golden fixtures keep the old UUID, because they never contact the service.

Verified locally

  • cargo test -p socket-patch-cli --test e2e_hosted_production -- --include-ignored: 65 passed.
  • --test e2e_safety_pnpm: 23 passed.
  • python3 -m unittest discover -s scripts/tests: 296 OK.
  • backtest-vlt.fetch_grant() returns the new tarball and its sha512.

Two existing failures are unrelated to this change, and neither suite is in the PR gate:

  • e2e_npm test_npm_uuid_shortcut and test_npm_global_lifecycle: the shortcut now runs hosted mode in a lockfile project.
  • e2e_vendored_production yarn_berry_vendored_install_proof: no manifest is written.

🤖 Generated with Claude Code


Note

Low Risk
Test and documentation constant updates only; no runtime or security-sensitive application code is modified.

Overview
Production withdrew the free-tier minimist@1.2.2 canary patch and republished the same CVE fix under a new UUID, with updated patched index.js bytes. This PR retargets every production-facing pin so hosted/vendored e2e, npm/pnpm safety tests, Bun/vlt backtest scripts, and Bun compatibility docs use 642d7f02-ebc1-4ab0-99e2-07f5dd8463cb and the new afterHash (ec956dca…).

No CLI or patch-application logic changes—only constants and comments that gate CI against the live public proxy.

Reviewed by Cursor Bugbot for commit 84570cc. Configure here.

Production withdrew the minimist@1.2.2 patch 80630680-… on
2026-10-09 and republished it as 642d7f02-… with a new patched
index.js (afterHash ec956dca…). Every live-API suite that pins the
old UUID or hash failed: hosted-e2e, e2e_safety_pnpm and the Bun
and vlt compatibility matrices, which turned main and every PR red.

Point the production-facing tests, backtest harnesses and the Bun
compatibility doc at the new patch. Offline shape tests and binary
fixtures keep the old UUID; they never reach the service.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Mikola Lysenko (mikolalysenko) pushed a commit that referenced this pull request Oct 9, 2026
Port of #1302 (fixes #1293). Production withdrew the free
minimist@1.2.2 patch 80630680-… and republished the same fix as
642d7f02-…, with a new patched index.js (afterHash ec956dca…). That
turned hosted-e2e and e2e_safety_pnpm red on main and here. No-ops once
main carries #1302 or #1301.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mzbk9WDZkhatFrCWUAyaNs
The republished minimist patch records its files as `index.js` and
`test/proto.js` instead of `package/index.js`. The vlt backtest
stripped the first path segment unconditionally, so every cell
errored with IndexError before checking any installed bytes. Strip
the `package/` prefix only when present, as the Bun harness does.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@mikolalysenko
Mikola Lysenko (mikolalysenko) removed this pull request from the merge queue due to a manual request Oct 9, 2026
@mikolalysenko

Copy link
Copy Markdown
Collaborator Author

Superseded by #1301, which merged the same repin to 642d7f02 plus the vlt harness prefix fix and regression tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Merge queue blocked: production no longer publishes free minimist@1.2.2 patch

2 participants