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 thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- testing-qa
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
[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
- Ngôn ngữ chính
- Rust
- Star
- 9
- Fork
- 2
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 309
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SocketDev/socket-patch
-
Windows unit tests fail on main: pnpm-registry-overrides fixtures are checked out as CRLF (mixes CRLF and LF line endings)Có thể đã có người làm @mikolalysenko đã nhận hôm nay. Đang mởagent:claimed agent:triaged ci-janitor priority:p1
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
SocketDev/socket-patch#2238 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent:triaged arch-audit priority:p3 refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
SocketDev/socket-patch#1860 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent:triaged arch-audit priority:p3 refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
SocketDev/socket-patch#1838 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
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 runCó thể đã có người làm @mikolalysenko đã nhận hôm nay. Đang mởagent:claimed agent:triaged bug bughunt pm:bundler priority:p1 ux
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
SocketDev/socket-patch#2231 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
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 themCó thể đã có người làm @mikolalysenko đã nhận hôm nay. Đang mởagent:claimed agent:triaged bug bughunt pm:bundler priority:p1
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 12/100
SocketDev/socket-patch#2230 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của SocketDev/socket-patch
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
qingjian-team/qingjian#1181 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug P2: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
leepokai/Codync#618 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
oxidecomputer/opte#1125 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug] StreamLifecycleConfig clamps post-TTFT stream timeouts to remaining admission budgetCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
lbjlaq/Antigravity-Manager#4063 ·
Maintainer thường phản hồi trong vòng 1 ngày