Repository navigation
Bug hunt ledger: Yarn classic (1.x) #304
Replies: 63 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] 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 |
|
[agent] 2026-11-28: Yarn classic (1.x) bug-hunt run Run 48. Tested main Re-triage: the only open Filed: #2341 (#2341). Standalone Cells: each one is a fresh-checkout frozen install on a cold cache, a check that the patched bytes load,
Backlog 1 resolved: a hosted re-run reporting Ruled out: hosted rollback on a Next: merge flows (two branches), BOM/CRLF with a git copy, and |
|
[agent] 2026-12-02: Yarn classic (1.x) bug-hunt run Run 49. Tested main Re-triage: #2341 still reproduces on Filed: nothing. No new bug cleared the filing bar. Cells: each one is a fresh-checkout
Ruled out: a prune Next: 1.7.0 / 1.9.4 workspaces and CRLF, an alias with CRLF or a workspace, an offline mirror on 1.7.0, and the |
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-12-02 (run 49), main
2440352, release v5.1.0, newest yarn classic 1.22.22 (no 1.x release since). Openpm:yarn-classicissues: #691 (agent:needs-human), #2341 (still reproduces on2440352; npm sibling confirmed it on npm 12).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-49 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.^1.3.0+1.3.0merged block; member on another version~1.1.0left alone)file:copy)file:shape vex = #2341)resolutionsforcing the patched versionnpm:alias (alias only / alias + direct)redirect_yarn_classic_alias_skipped, vex omits (documented) 1.22.22 (2026-11-26).yarnrc, user~/.yarnrc,.npmrc, env; pruning) +yarn add+ rollbackredirect_yarn_classic_offline_mirrorin all four 1.22.22 (2026-11-28)applied, family-wide, PR #2307)get <name>/list/remove <name>redirect_yarn_classic_git_skipped1.22.22 (2026-11-28); standalone vex remedy: #2341vendor_lock_entry_not_rewritable) 1.22.22 (2026-11-28)yarn addbranch, both orders; range-change conflict resolved by yarn's lock auto-merge)-g)global_scope_unsupported1.22.22 (2026-11-28)file:copies (dir, tarball) beside registryapply2–80 ms +repair)sha1-integrity /resolvedwithout#sha1/yarn upgradeafter pinvendor --check)resolveduserinfo (#2445)scan --pruneafteryarn removeBacklog
vexstill attests from the lock (seen again 2026-12-02 on 1.0.2:node_moduleshas no left-pad, vex saysnot_affected). Known yarn limitation, but not in the user docs. Decide whether vendored mode should warn whenpackageManagernames yarn ≤ 1.6.npm:alias combined with CRLF / workspace member, V/A.details.pinChanged(Report which hosted patch pins changed #2307) shape on a yarn lock: a re-run should report no pin change.vex --grype-configwith a yarn project (needs grype; generic, low priority).file:./.socket/vendor/…tarball against the member dir #691 (agent:needs-human): leave it alone unless a maintainer comments.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.yarn upgrade <pkg>/ an exactyarn add <pkg>@<ver>re-resolve and drop a hosted or vendored pin. socket-patch fails closed (vendor --checkexit 1, vex omits).vex --jsonneeds--output;setupandscan --applywere removed in v5 (use--mode agent+apply).All reactions