Skip to content

equivalence harness: record cobc compile failure in report.json, det_port and sweep row (Part of #4493) - #6215

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4493-20261023T1023Z
Oct 23, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4493-20261023T1023Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Slice A of 2 for #4493 (cobc compile failure reaches the proof report).

Change

  • equivalence.py: a COBOL-side failure where cobc left no program now writes report.json with cobol_compile_failed: true and cobc_stderr (last 4000 chars) and returns 1, instead of crashing with no report. A failure after a successful compile (run time, image) still raises.
  • det_port._prove: passes both keys through, only when set.
  • proof_sweep.det_sweep: the row gets cobol_compile_failed / cobc_stderr, only when set (no always-present empty key).
  • tests/cobol_mainframe/test_cobc_compile_failed_4493.py: report, run-time-failure negative, and the passthrough to the sweep row.

Class sweep

Class: "a COBOL-side failure the harness cannot turn into a report".

Member Status
batch cobc compile failure (run_cobol in equivalence.py) this PR
cics / call kinds (equivalence_cics, equivalence_call) compile failure Sibling gap: separate run paths, same helper reusable; not here (file limit)
run-time COBOL failure (program built, crashed) unchanged: still raises; different cause
fault-run cobc failure cannot differ from the baseline compile except flags; still raises

Remaining slices

  • Slice B: proof_blockers "cobc: does not compile" gap + harness_report.fix_for, with tests (reads the new cobol_compile_failed key).

Facts checked: git log origin/main --grep=4493 shows #5309, #5391, #5489, #5506, #6194 landed; the issue's classes 4/5 (unresolved links, no stub) are #6194; the compile class is not in proof_blockers.

Checklist: partial [c:27a84a62] -- compile-failure class is recorded in the report/sweep row (this PR); proof_blockers feeding it is slice B

Gates

pr_gates --fast 7/7 pass; --ratchets 9/9 pass (ruff local 0.16 vs CI 0.17: gate used the cached 0.17 binary); tree-wide guards + new tests pass (143). No golden/engine change.

Cross-repo: none.

🤖 Generated with Claude Code

…ile_failed + cobc stderr, through det_port to the sweep row (Part of #4493)

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 23, 2026 10:34
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 10:41
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 8d0e843 into main Oct 23, 2026
57 checks passed
@squid-protocol
squid-protocol deleted the churn/4493-20261023T1023Z branch October 23, 2026 11:11
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant