Repository navigation
Bug hunt ledger: Yarn classic (1.x) #304
Replies: 61 comments
|
[agent] 2026-09-30: Yarn classic (1.x) bug-hunt run This is the first run, so the ledger started empty and there were no Tested: main Setup: I used a hold-open Python mock of the patch API (batch / by-package / package / view with Cells
Issues
False positives ruled out
Probe branches
Next
|
|
[agent] 2026-10-01: Yarn classic (1.x) bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out / findings that aren't bugs
Probe branches
Next
|
|
[agent] 2026-10-01: maintainer note: test global ( This is a maintainer request, not a run report. Add it to the top of the backlog and keep it there until the cells below are covered. Ask: make sure we correctly scan global installs when Where Yarn classic (1.x) puts global installs: What to check (prove each with a real global install, not by reading source):
Add OS × Yarn classic (1.x) version cells for |
|
[agent] 2026-10-01: Yarn classic (1.x) bug-hunt run Tested: main Setup notes for the next run (v5 changed them): Re-triage
Cells
Issues
False positives ruled out
Probe branches
Next
|
|
[agent] 2026-10-01: handover from the Yarn Berry (2+) bug-hunt routine (#305) Lead for yarn classic on Windows, not verified with classic. The global discovery shells out with |
|
[agent] 2026-10-01: Yarn classic (1.x) bug-hunt run Tested: main Harness for the next run (v5): a Python mock that serves Re-triage
Cells (Linux, v5
|
|
[agent] 2026-10-01: Yarn classic (1.x) bug-hunt run Tested: main Harness: Re-triage
Cells (Linux,
|
|
[agent] 2026-10-02: Yarn classic (1.x) bug-hunt run Tested: main Harness (rebuilt): Re-triageMain is unchanged since run 5 (no yarn code changed), so #363 / #364 / #437 / #467 / #493 stand. #436 stays closed. Cells (Linux,
|
|
[agent] 2026-10-02: Yarn classic (1.x) bug-hunt run Tested: main Re-triageMain is unchanged, so #363 / #364 / #437 / #467 / #493 / #519 stand. #493 now has the draft fix PR #520. It reads only the nearest Cells (all pass)
IssuesNone filed, commented on or closed this run. False positives ruled out
Leftover
Next
|
|
[agent] 2026-10-02: Yarn classic (1.x) bug-hunt run Tested: main Harness (rebuilt): Re-triageMain is unchanged, so #363 / #364 / #437 / #467 / #493 / #519 stand. #493 still waits on PR #520, and the Windows global-mode cells still wait on #442. Cells
Issues
False positives ruled out
Next
|
|
[agent] Janitor: ledger drift. The coverage matrix still lists these issues as
This is a heads-up only. The janitor never edits ledgers. Generated by Claude Code |
|
[agent] 2026-10-02: Yarn classic (1.x) bug-hunt run Tested: main Harness (rebuilt in scratch): Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] Janitor: ledger drift for the bug-hunt routine to pick up. These issues are now closed as completed, but this ledger's body still lists them as
Generated by Claude Code |
|
[agent] 2026-10-14: Yarn classic (1.x) bug-hunt run Tested: main Filed
Re-triage
Cells (Linux,
|
|
[agent] 2026-10-15: Yarn classic (1.x) bug-hunt run Tested: main Filed
Re-triage
Cells (Linux,
|
|
[agent] 2026-10-15: Yarn classic (1.x) bug-hunt run Tested: main Filed
Re-triage
Cells (Linux)
False positives ruled out
Next
|
|
[agent] 2026-10-17: Yarn classic (1.x) bug-hunt run Tested: main Re-triage
Cells (Linux)
False positives ruled out
Next
|
|
[agent] Handover from the Bun bug-hunt routine (ledger #306), 2026-10-17. While filing #1621 ( I didn't verify this with a real yarn. Suggested check: |
|
[agent] Janitor: state drift for the Yarn classic routine. The to-do list in this ledger's body still carries item Generated by Claude Code |
|
[agent] 2026-10-17: Yarn classic (1.x) bug-hunt run Run 46. Tested main Filed: #1629. Cells (Linux, Node 22):
Re-triage: main is unchanged since run 43, and PR #1596 (#1558 / #1578) is still open and not merged, so nothing was re-run. Ruled out: "npm install breaks the yarn frozen install" (the Bun analogue). npm 7+ updates yarn.lock, so it doesn't apply to yarn 1. Recorded under known non-bugs. Next:
|
|
[agent] Janitor: ledger drift on main Generated by Claude Code |
|
[agent] Janitor: ledger drift on main Generated by Claude Code |
|
[agent] 2026-11-26: Yarn classic (1.x) bug-hunt run Run 47. Tested main Re-triage: the only open CI: the Cells (each one: fresh-checkout frozen install on a cold cache, patched bytes loaded,
Ruled out / noted:
State compacted: state/yarn-classic.md went from 82 KB to under 15 KB. Its non-bugs and harness notes moved to known-non-bugs/yarn-classic.md. Next: backlog 1 (hosted re-run |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
[agent] Progress ledger for the scheduled Yarn classic (1.x) bug-hunt routine (label pm:yarn-classic).
Last run: 2026-11-26 (run 47), main
cfc870f, release v5.1.0, newest yarn classic 1.22.22 (no 1.x release since). Openpm:yarn-classicissues: #691 only (agent:needs-human). Compacted this run: the old 82 KB state (per-run cells, harness notes, non-bugs) is in branch history before this commit; non-bugs and harness notes moved toknown-non-bugs/yarn-classic.md.Coverage matrix
H = hosted (
scan --mode hosted), V = vendored (scan --mode vendored), A = agent (scan --mode agent, thenapplyafter each fresh install;setupwas removed in v5). Every cell runs: install, scan, fresh-checkoutyarn install --frozen-lockfileon a cold cache, patched bytes loaded,vex -Oattestsnot_affectednamingpkg:npm/left-pad@1.3.0,rollback, then another fresh frozen install (unpatched). Local mock patch API (see known-non-bugs "Run-47 harness"). Linux only (probe workflows are switched off). CI'syarn-classic-matrix(1.0.2, 1.6.0, 1.7.0, 1.9.4, 1.10.1, 1.22.22) is green on the 2026-11-25 and 11-26 nightlies.integrity, known)^1.3.0+1.3.0merged block)resolutionsforcing the patched versionnpm:alias (alias only / alias + direct)redirect_yarn_classic_alias_skipped, vex omits (documented) 1.22.22 (2026-11-26).yarnrc, pruning) +yarn add+ rollbackredirect_yarn_classic_offline_mirror1.10.1 / 1.22.22 (2026-11-26)applied, see backlog 1)get <name>/list/remove <name>git+…)-g)file:copies (dir, renamed, tarball, backslash)Backlog
applied: 1(eventapplied, mode hosted, lock byte-identical), while vendored saysskipped already_vendored. Same on v5.1.0. Since Report which patches each run acted on, and count downloads, vendoring and rollbacks correctly #2178 telemetry is derived from these events, so hosted pin counts may inflate. Check npm / pnpm hosted re-runs; if it's family-wide, hand it over to npm (not yarn-specific), else file.-g,file:copies, SIGKILL..yarnrcmirror (Hosted yarn classic offline-mirror refusal misses a mirror set in a workspace member's .yarnrc, so installs run from that member fail the integrity check while the scan reports success and VEX attests #1115 fixed).yarn upgrade left-pad/yarn add left-pad@^1.3.0after vendored and hosted (does the pin or the vendored block survive, and doesvendor --checknotice?).integrity sha1-locks and 1.9.4 (nointegrityline) on main, H/V.vexin a project whose only pin is skipped (alias + direct) says "No patches in this project … Runsocket-patch scanfirst" (exit 2) right after a scan that pinned one copy. Decide whether that remedy misleads enough to file.vexstill attests from the lock. Known yarn limitation, not in user docs. Ask whether vendored mode should warn whenpackageManagernames yarn ≤ 1.6.file:./.socket/vendor/…tarball against the member dir #691 (agent:needs-human): leave alone unless a maintainer comments.vex --grype-configwith a yarn project (needs grype; generic, low priority).Known non-bugs
Full list:
known-non-bugs/yarn-classic.md(search it withgit grep). The ones most likely to be re-filed:file:tarball lock entries, with or without socket-patch; CI reports vendored ≤ 1.6 as KNOWN LIMITATION.integritylines (yarn < 1.10) addsintegritylines; yarn 1.7 still installs it frozen.--patch-server-urlnames it; rollback otherwise says "Manifest not found".redirect_yarn_classic_offline_mirror) and skipsnpm:alias entries (redirect_yarn_classic_alias_skipped); both documented.--cache-folderis a non-hidden dir inside the project; keep harness caches outside the project.npm installin a yarn 1 project rewrites yarn.lock, so the frozen install still passes (socket-patch --updateon a yarn-classic-installed copy says "managed by npm":npm update -gleaves ayarn global addinstall stale, and a yarn project is told to runnpm install#1629 context).workspacesignore!patterns.vendor --check/rollbackexit 1); the remedy loop is the vendor --revert with a lost vendor ledger tells you to "run socket-patch repair to re-adopt them into the ledger", but repair refuses because it never rebuilds the ledger, so the advice loops and the vendored npm packages can't be reverted #1072 / Vendored yarn classic: after a git merge resolves .socket/vendor/state.json to one side,vendor --checkandrollbackexit 0 while the other side's package stays wired, and rollback deletes the ledger, stranding it #991 class.vex --jsonneeds--output;setupandscan --applywere removed in v5 (use--mode agent+apply).All reactions