det_port.py run --all-cases aborts with no summary.json when the cics-crucible checkout is missing
Maintainer thường phản hồi trong vòng 1 ngày
Một pull request liên quan đã được merge.
- #7586 của @squid-protocol — đã 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
- 62/100
Hướng nghiên cứu
Start with the run subcommand and the --all-cases path in tests/tools/det_port.py, and find where it resolves the cics-crucible location from CICS_CRUCIBLE_PATH or ../cics-crucible and where it raises when that checkout is missing. Reproduce by running python tests/tools/det_port.py run --all-cases --translate-only --work DIR without the checkout. Done when the in-repo cases are translated, summary.json is written and names the skipped crucible cases, and a test covers both the missing and present checkout.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happens
python tests/tools/det_port.py run --all-cases --translate-only --work DIR stops early and writes no summary.json when the cics-crucible checkout (CICS_CRUCIBLE_PATH or the sibling ../cics-crucible) is not present. The cases that live in this repo (tests/equivalence/<case>/) are never reported, even though they don't need the crucible.
Seen 2026-11-02 while translating every burned-estate case for a structural-fidelity analysis. Passing the burned cases explicitly (det_port.py run CASE... --translate-only) works: 184 cases, 0 holes.
Expected
--all-cases translates every case it can reach and writes summary.json. A missing crucible checkout is one line ("cics-crucible not found at …: its N cases skipped"), not an abort. If the crucible cases are required for the run's purpose, fail loudly with that message and exit non-zero, but still write the summary of what ran.
Acceptance
- With no crucible checkout,
--all-caseswritessummary.jsoncovering the in-repo cases and names the skipped crucible ones. - With the checkout present, the output is unchanged.
- A test pins both.
- Ngôn ngữ chính
- Python
- Star
- 57
- Fork
- 11
- Merge trung bình
- 1 giờ 32 phút
- Pull request đã merge (30 ngày)
- 974
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 squid-protocol/gitgalaxy
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
squid-protocol/gitgalaxy#7811 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 47/100
squid-protocol/gitgalaxy#7813 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
claim:melek scope:core
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
squid-protocol/gitgalaxy#7709 · 22 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement legacy-modernization priority: medium scope:frontier
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
squid-protocol/gitgalaxy#7646 · 15 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
squid-protocol/gitgalaxy#7628 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của squid-protocol/gitgalaxy
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
FinanceFlash/unvibecode#577 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/test type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Clodmony/starship-coop#70 ·
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 77/100
punitarani/fli#270 ·
-
🐛 Bug 🔔 Pending processing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
jumpserver/jumpserver#17980 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày