Nightly Windows: 3 Go workspace unit tests fail (Unix-only GOWORK paths)
維護者通常 1 天內回覆
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
研究方向
Read the failing tests in go_workspace.rs at lines 1141 and 1479 and golang.rs at line 1848, then inspect the Windows nightly run linked in the issue. Run the affected tests on Windows through the CI workflow_dispatch path. Done means all three assertions pass on Windows; issue #1816 is already an open pull request against this work.
由索引模型根據 Issue 內容生成。
描述
Nightly CI on main (run 40824880386, job test (windows-latest, 1)) fails -p socket-patch-core --lib with 3 of 6536 tests failing. These are deterministic assertion failures, not flakes. They came in with #1763 / #1764 (merged 2026-10-28). PR CI and the merge queue don't run the Windows test matrix, so the queue never saw them.
vendor::go_workspace::tests::gowork_resolves_as_go_does (go_workspace.rs:1141)
left: Invalid("GOWORK=/elsewhere/go.work is not an absolute path, so go refuses to build …")
right: File("/elsewhere/go.work")
vex::discover::golang::tests::gowork_naming_another_workspace_attests_nothing (golang.rs:1848)
/nonexistent/go.work: [Diag { code: "patched_ref_invalid", … GOWORK=/nonexistent/go.work is not an absolute path … }]
vendor::go_workspace::tests::a_workspace_module_is_never_replaced (go_workspace.rs:1479)
MainModule { work_file: "\\\\?\\C:\\Users\\runneradmin\\AppData\\Local\\Temp\\.tmpSk8aez\\ws\\go.work", member: "\\\\?\\C:\\…\\ws\\dep" }
Likely fix (test side): build the GOWORK fixtures from a tempdir or another absolute path that works on each platform instead of /elsewhere and /nonexistent. For the third test, compare paths after stripping the verbatim prefix (or canonicalize both sides), or find out where \\?\ comes from (a canonicalize on Windows). Open PRs #1812 and #1800 touch both files, so the janitor didn't change them this run. Whoever lands next should check these tests on Windows (workflow_dispatch of CI).
The cargo-home half of the same nightly failure is fixed in #1814.
- 主要語言
- Rust
- 星號
- 8
- 分支
- 2
- 平均合併
- 19 小時 31 分鐘
- 30 天內合併 PR
- 686
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
SocketDev/socket-patch 的其他 Issue
-
bug bughunt pm:npm
難度 4/5 3-5 天 新手友好度 53/100
SocketDev/socket-patch#1827 · 1 則留言 ·
維護者通常 1 天內回覆
-
Go apply, apply --check and vex treat a module that is only another module's replace target as built, so the patch is reported applied and attested while go builds the unpatched code可能已有人在做 @mikolalysenko 今天認領。 未關閉agent:claimed agent:triaged bug bughunt pm:go priority:p2
難度 4/5 3-5 天 新手友好度 48/100
SocketDev/socket-patch#1823 · 3 則留言 ·
維護者通常 1 天內回覆
-
Vendored gem mode writes the rewired `gem` line of a CRLF Gemfile with an LF ending, leaving the Gemfile with mixed line endings可能已有人在做 @mikolalysenko 今天認領。 未關閉agent:claimed agent:triaged bug bughunt pm:bundler priority:p1
難度 3/5 1-2 天 新手友好度 25/100
SocketDev/socket-patch#1821 · 3 則留言 ·
維護者通常 1 天內回覆
-
CI perf: workflow_dispatch of CI — Windows-only janitor fixes re-run the full Linux + macOS nightly matrix (~100 min/day, ~30 macOS)可能已有人在做 @mikolalysenko 今天認領。 未關閉agent:claimed agent:triaged ci-perf priority:p3
難度 4/5 3-5 天 新手友好度 1/100
SocketDev/socket-patch#1818 · 3 則留言 ·
維護者通常 1 天內回覆
-
Go apply writes the shared replace into ./go.work when GOWORK names another file in the same directory, reports success, and the workspace builds unpatched可能已有人在做 @mikolalysenko 今天認領。 未關閉agent:claimed agent:triaged bug bughunt pm:go priority:p2
難度 4/5 1-2 天 新手友好度 35/100
SocketDev/socket-patch#1810 · 3 則留言 ·
維護者通常 1 天內回覆
查看 SocketDev/socket-patch 的全部 Issue
相似的 Issue
-
Add a just recipe that runs the workflow linters locally可能已有人在做 @sgamelin 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 76/100
-
good first issue security
難度 2/5 1-3 小時 新手友好度 82/100
-
難度 2/5 1-3 小時 新手友好度 64/100
-
Status bar: a progress line that keeps the same text (import at 0%) ages out after 8 s and blinks未關閉bug
難度 2/5 1-3 小時 新手友好度 66/100
transit-audio/transit#216 ·
-
area: effects devices enhancement
難度 2/5 1-3 小時 新手友好度 68/100
suhina-daw/suhina-daw#1060 ·
維護者通常 1 天內回覆