fix(testing): test-judge gives up when the judge exits 0 with no usable result, and re-logs deleted files on every Stop
Maintainer thường phản hồi trong vòng 1 ngày
Một pull request liên quan đã được merge.
- #7091 của @kyle-sexton — đã merge
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/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ệ
- shell
- Lĩnh vực
- testing-qa, tooling
Hướng nghiên cứu
Start by locating the test-judge Stop hook and the session-state handling that records edited files; the issue does not name specific files or tests. Reproduce both cases: a judge exits successfully without a usable result, and a tracked file is missing on Stop. Done means failed attempts retain raw output or an excerpt, any verified comma-truncation is fixed, and a missing file is dropped after its first skip.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Two test-judge problems on Windows (melo-desk-001, 2026-10-06 and 2026-10-07), seen in ~/.claude/plugins/data/testing-melodic-software/test-judge.log.
1. The judge exits 0 with no usable result
The Stop hook reported: test judge: 1 test not judged after 2 failed attempts. The log shows:
2026-10-07T22:46:11Z attempt failed: 0614dba8d46a0f02a22340109b2f4f57: judge exited 0 with no usable result
2026-10-07T22:46:11Z not judged, the judge failed for: Provisioning.Tests.ps1: stops the leader and exits when its parent, the task
2026-10-07T22:46:39Z attempt failed: 0614dba8d46a0f02a22340109b2f4f57: judge exited 0 with no usable result
2026-10-07T22:46:40Z judge not run after 2 failed attempts for: Provisioning.Tests.ps1: stops the leader and exits when its parent, the task
The log has 12 no usable result lines over two days: 5 on 10-06 and 7 on 10-07. The judge's raw output is not kept, so the cause can't be determined from the log. In the logged test name, a Pester It description from melodic-software/provisioning, the name ends at a comma (...its parent, the task). That may be truncation of a name containing a comma, or only how the log line is written. This is not verified.
Expected:
- keep the judge's raw output, or an excerpt, for any attempt that produces no usable result, so the failure can be diagnosed
- if the test-name extraction cuts at a comma, fix it
2. Files deleted from the session are re-logged on every Stop
A file the session edited lives in a worktree that was later removed. After that, every Stop logs skipped: <path> no longer exists again for the same set of files. The current log has 2,257 such lines, and the same 11 paths repeat at 22:18, 22:20 and 22:46. pending/ is empty, so the entries come from session state, not the queue.
Expected: drop a missing file from the session's set once, on the first skip, so it is not re-checked or re-logged on later Stops.
Found during the 2026-10-07 C: disk incident cleanup, where many worktrees were removed after their PRs merged.
- Ngôn ngữ chính
- Shell
- Star
- 22
- Fork
- 2
- Merge trung bình
- 2 giờ 48 phút
- Pull request đã merge (30 ngày)
- 939
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 melodic-software/claude-code-plugins
-
priority: medium status: ready work-class: scoped
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
melodic-software/claude-code-plugins#10227 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(evals): give the methodology rewrite answer a template whose target slot needs a stated basisĐang mởpriority: medium status: ready work-class: scoped
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
melodic-software/claude-code-plugins#10217 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Converge the awk and mjs YAML grammars before setup-apply uses yaml-subset.mjs - part 1 of 4Đang mởpriority: medium status: ready work-class: scoped
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
melodic-software/claude-code-plugins#10128 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pr-pipeline: clear a feedback-not-landed escalation once the head moves and no lane thread is openĐang mởpriority: medium status: needs-decision work-class: scoped
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
melodic-software/claude-code-plugins#10074 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: medium work-class: scoped
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
melodic-software/claude-code-plugins#9842 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của melodic-software/claude-code-plugins
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
WordPress/Documentation-Issue-Tracker#2540 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
jfrog/JFrog-Cloud-Installers#535 ·
-
Delete outputs/lstmĐang mởNRDS AWS Costs NRDS AWS Output Data
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
CIROH-UA/ngen-datastream#435 ·
-
Update migenĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
YosysHQ/oss-cad-suite-build#220 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
docker-library/redmine#430 ·