det_port.py run --all-cases aborts with no summary.json when the cics-crucible checkout is missing

Đã đóng
#7,531 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
tooling

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ả

bug scope:infra

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-cases writes summary.json covering 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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của squid-protocol/gitgalaxy

Tất cả issue của squid-protocol/gitgalaxy

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.