Nightly: pnpm11_registry_route_is_cleaned_up_when_a_patch_is_not_needed fails on Windows (pnpm records the RUNNER~1 short path as a second importer)
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 42/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- rust
- Bereich
- testing-qa
Rechercherichtung
The failing test is pnpm11_registry_route_is_cleaned_up_when_a_patch_is_not_needed in crates\socket-patch-cli\tests\e2e_redirect_pnpm_build.rs, with the assertion near line 2321 that checks the removed-scan checkout. Start by reading how the harness builds the temp directory path and passes it to pnpm via --dir or cwd, and compare it with the path pnpm records as the root importer. Run the test on Windows with --ignored to reproduce. Done means the test passes on the windows-latest nightly leg with no change to CLI behavior.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
[agent] PR shepherd: the nightly CI run on main at e685fb145 (run 45555390805, job e2e-windows (windows-latest, e2e_redirect_pnpm_build, --ignored --skip pnpm_pinned_matrix, 1)) fails one test, which turns ci-ok red on main:
test pnpm11_registry_route_is_cleaned_up_when_a_patch_is_not_needed ... FAILED
thread '...' panicked at crates\socket-patch-cli\tests\e2e_redirect_pnpm_build.rs:2321:9:
pnpm11-cleanup removed-scan: pnpm dropped the release and still records its override:
...
importers:
.:
dependencies:
...
peer-user:
specifier: socket-bbbbbbbb:1.0.0
../../../../../../RUNNER~1/AppData/Local/Temp/.tmpIbZm8q/removed-scan:
dependencies:
host: ...
mid: ...
test result: FAILED. 18 passed; 1 failed
The test was added in #2167 (5d8378e), and this looks like the first nightly Windows run that includes it.
Likely cause (unconfirmed). The test runs pnpm remove peer-user in the removed-scan checkout. On Windows, pnpm 11 recorded that checkout as a second importer, using the 8.3 short temp path (RUNNER~1), instead of updating the root importer .. As a result peer-user stays in . and the assertion at :2321 fails. So the checkout path the harness gives pnpm (by --dir or cwd) probably isn't spelled the same way as the one pnpm resolves for the workspace root. Canonicalizing the temp dir (long path name) before passing it to pnpm, or running pnpm with that dir as the cwd, is the probable fix. This is a test-harness problem on Windows. Nothing suggests the CLI itself misbehaves.
It doesn't block PRs: PR CI doesn't run this Windows leg.
Generated by Claude Code
- Vorherrschende Sprache
- Rust
- Sterne
- 9
- Forks
- 2
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 309
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus SocketDev/socket-patch
-
Windows unit tests fail on main: pnpm-registry-overrides fixtures are checked out as CRLF (mixes CRLF and LF line endings)Evtl. vergeben @mikolalysenko hat das heute übernommen. Offenagent:claimed agent:triaged ci-janitor priority:p1
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 85/100
SocketDev/socket-patch#2238 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
agent:triaged arch-audit priority:p3 refactor
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
SocketDev/socket-patch#1860 ·
Maintainer antworten meist innerhalb von 1 Tag
-
agent:triaged arch-audit priority:p3 refactor
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
SocketDev/socket-patch#1838 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Agent mode reports a gem whose installed file was edited as "not installed on this host" / "not found on disk", `apply --check` says to run `apply`, and `rollback` exits 1 with "modified after patching" on every runEvtl. vergeben @mikolalysenko hat das heute übernommen. Offenagent:claimed agent:triaged bug bughunt pm:bundler priority:p1 ux
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 18/100
SocketDev/socket-patch#2231 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Behind a private gem mirror a hosted gem pin cannot be undone: `rollback` and `remove` refuse on a `CHECKSUMS` lock, and without `CHECKSUMS` `rollback` leaves the patched builds installed with no warning that names themEvtl. vergeben @mikolalysenko hat das heute übernommen. Offenagent:claimed agent:triaged bug bughunt pm:bundler priority:p1
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 12/100
SocketDev/socket-patch#2230 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in SocketDev/socket-patch
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
qingjian-team/qingjian#1181 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug P2: medium
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
leepokai/Codync#618 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
oxidecomputer/opte#1125 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
[Bug] StreamLifecycleConfig clamps post-TTFT stream timeouts to remaining admission budgetEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
lbjlaq/Antigravity-Manager#4063 ·
Maintainer antworten meist innerhalb von 1 Tag