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

クローズ
#7,531 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #7586 @squid-protocol による — マージ済み

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Python
スター
57
フォーク
11
平均マージ
1時間 42分
マージ済み PR(30日)
966

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

squid-protocol/gitgalaxy のほかの issue

squid-protocol/gitgalaxy の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。