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

Cerrado
#7,531 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Ya se ha fusionado un pull request relacionado.

  • #7586 de @squid-protocol — fusionado

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
62/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python
Área
tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Python
Estrellas
57
Forks
11
Merge medio
1 h 30 min
PR fusionados (30 d)
971

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de squid-protocol/gitgalaxy

Todos los issues de squid-protocol/gitgalaxy

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.