Skip to content

ladder_gaps: stated paragraph infeasible entries no longer crash the report and mark their gap (Part of #6271) - #6575

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6271-20261025T0155Z
Oct 25, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6271-20261025T0155Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Checklist: done [c:dfccb426]

Part of #6271. Paragraph-level infeasible outcomes were already supported on main (#6279 per-case files and add --paragraph, #6369 paragraph:NAME in ladder_gaps; carddemo-cbpaup0c.json holds the 6000-EXIT entry and cbsa-crdtagy1..5.json exist). What was missing is below.

What changed

  • ladder_gaps.build_case_report indexed every stated entry by e["line"]; a PARAGRAPH entry may have no line (CBPAUP0C 6000-EXIT), so the report raised KeyError. Paragraph entries now index by upper-cased name.
  • A stated paragraph now marks its paragraph gap (infeasible: {family, reason}) and the paragraph table has an infeasible column, as the branch table already did. A later slice no longer rediscovers it.
  • Docstrings/messages in proof_blockers.py and infeasible_outcomes.py name infeasible_outcomes/<case>.json instead of the old single file.
  • Test: test_a_stated_paragraph_entry_marks_its_gap_with_or_without_a_line (with and without line, mixed with a branch entry, unmatched paragraph unmarked, rendered column).

Facts checked

Class / Sibling gaps

Class: a stated infeasible entry that is not branch-shaped (PARAGRAPH, no line) breaking or being ignored by consumers that assume line/outcome. Members: ladder_gaps build (fixed), ladder_gaps paragraph marking/render (fixed), stale single-file wording (fixed). infeasible_outcomes.py and proof_sweep.py already handle paragraph entries; evidence_report.py copies keys only if present. Sibling gap: det_sweep_plan.py:171 still has a KEYED entry for the old tests/equivalence/infeasible_outcomes.json path (possibly dead); not touched (no burned-estate program needs it).

🤖 Generated with Claude Code

…mark their paragraph gap (Part of #6271)

A PARAGRAPH infeasible entry may carry no line (CBPAUP0C 6000-EXIT); build_case_report indexed every stated
entry by e["line"] and raised KeyError. Paragraph entries now index by name, mark the paragraph gap, and the
paragraph table gains an infeasible column. Docstrings name the per-case ledger directory.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 25, 2026 02:05
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 25, 2026 02:10
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6575 @ d9309fb: 2 failed check(s)

== equivalence-e2e (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40153137886/job/121057709508
repro: python tests/tools/pr_gates.py --fast
errors:
##[error]Process completed with exit code 1.
log tail:
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Actions: read
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: equivalence-e2e
##[group]Run echo "plan: $PLAN ($PLAN_RESULT), shards: $SHARDS, db2: $DB2"
echo "plan: $PLAN ($PLAN_RESULT), shards: $SHARDS, db2: $DB2"
# runner-minutes of this run so far (every finished job but this one), for the PR body / the nightly trend
gh api --paginate "repos/$REPO/actions/runs/$RUN_ID/jobs?per_page=100" --jq '.jobs[] | select(.name != "equivalence-e2e" and .completed_at != null) | [.name, ((.completed_at | fromdateiso8601) - (.started_at | fromdateiso8601))] | @TSV' > j
python3 - <<'PY' >> "$GITHUB_STEP_SUMMARY"
rows = [ln.rstrip("\n").split("\t") for ln in open("jobs.tsv", encoding="utf-8") if ln.strip()]
total = sum(float(s) for _, s in rows)
print("## Equivalence E2E runner time")
print("| job | seconds |\n|---|---|")
print("".join(f"| {n} | {float(s):.0f} |\n" for n, s in rows), end="")
print(f"\n**{total / 60:.1f} runner-minutes** across {len(rows)} job(s)")
PY
test "$PLAN_RESULT" = "success"
if [ "$PLAN" = "none" ]; then test "$SHARDS" = "skipped" && test "$DB2" = "skipped"; else test "$SHARDS" = "success" && test "$DB2" = "success"; fi
shell: /usr/bin/bash -e {0}
env:
PLAN: run
PLAN_RESULT: success
SHARDS: failure
DB2: success
GH_TOKEN: ***
REPO: squid-protocol/gitgalaxy
RUN_ID: 40153137886
##[endgroup]
plan: run (success), shards: failure, db2: success
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== shard 2/4 (failure) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40153137886/job/121050191500
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
failing tests: tests/cobol_mainframe/test_porting_loop_tooling.py::test_the_loops_committed_ports_are_proven[genapp-lgicdb01]
errors:
fail-on-cache-miss: false
E AssertionError:
E Traceback (most recent call last):
E equivalence_db2.OdbcDownloadError: INFRASTRUCTURE (not a code defect): could not get IBM's Db2 ODBC CLI driver from https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz: curl exit
tests/cobol_mainframe/test_porting_loop_tooling.py:227: AssertionError
FAILED tests/cobol_mainframe/test_porting_loop_tooling.py::test_the_loops_committed_ports_are_proven[genapp-lgicdb01] - AssertionError:
Traceback (most recent call last):
equivalence_db2.OdbcDownloadError: INFRASTRUCTURE (not a code defect): could not get IBM's Db2 ODBC CLI driver from https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz: curl exited 28 af
##[error]Process completed with exit code 1.
log tail:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/gitgalaxy/gitgalaxy/tests/tools/equivalence_cics.py", line 5994, in run_case
cobol = run_cobol_cics(case, corpus, work / "cobol", files)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/gitgalaxy/gitgalaxy/tests/tools/equivalence_cics.py", line 2994, in run_cobol_cics
equivalence_db2.create(case, corpus) # what its tasks find is what they found after the first pass's
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/gitgalaxy/gitgalaxy/tests/tools/equivalence_db2.py", line 524, in create
ensure()
File "/home/runner/work/gitgalaxy/gitgalaxy/tests/tools/equivalence_db2.py", line 163, in ensure
_ensure_container()
File "/home/runner/work/gitgalaxy/gitgalaxy/tests/tools/equivalence_db2.py", line 431, in _ensure_container
fetch_odbc_cli()
File "/home/runner/work/gitgalaxy/gitgalaxy/tests/tools/equivalence_db2.py", line 294, in fetch_odbc_cli
raise _odbc_fail(f"curl exited {proc.returncode} after retries: {proc.stderr.strip()[-300:]}", url)
equivalence_db2.OdbcDownloadError: INFRASTRUCTURE (not a code defect): could not get IBM's Db2 ODBC CLI driver from https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz: curl exited 28 af
curl: (28) Failed to connect to public.dhe.ibm.com port 443 after 30002 ms: Timeout was reached
curl: (28) Failed to connect to public.dhe.ibm.com port 443 after 30002 ms: Timeout was reached
curl: (28) Failed to connect to public.dhe.ibm.com port 443 after 30002 ms: Timeout was reached. Re-run; if IBM replaced the file, bump url/sha256 together in odbc_cli.pin.
assert 1 == 0
+ where 1 = CompletedProcess(args=['/opt/hostedtoolcache/Python/3.12.15/x64/bin/python', '/home/runner/work/gitgalaxy/gitgalaxy/te...43 after 30002 ms: Timeout was reached. Re-run; if IBM replaced the file, bump url/sha256 together in odb
1 failed, 1945 passed, 3 skipped in 589.86s (0:09:49)
##[error]Process completed with exit code 1.
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/a9be0c26-0b2b-42a7-b0cf-f31bb39e491a' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 25, 2026
@squid-shepherd
squid-shepherd Bot merged commit 7530d6e into main Oct 25, 2026
64 of 66 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6271-20261025T0155Z branch October 25, 2026 03:12
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant