Skip to content

equivalence: DL/I status faults under CICS (SCHD/GU/GNP/REPL) and a qualified GNP that finds nothing (Part of #5233) - #6013

Merged
squid-protocol merged 2 commits into
mainfrom
churn/5233-20261022T1319Z
Oct 22, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/5233-20261022T1319Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5233 (slice 3, after #6007).

What changed

  • tests/tools/equivalence_cics.py: a CICS scenario may carry dli_faults ({op, nth, status}; op SCHD or GU/GN/GNP/ISRT/REPL/DLET, never CHKP; status from the batch set, SCHD = TC only). It is written as the plan both stubs read (GGDLI_FAULTS for GnuCOBOL, gitgalaxy.faults.plan for Java) and folded into the fired-fault check, so a fault that fires on one side only fails.
  • tests/equivalence/ims/ggdli.c and DetDli.java (twins): SCHD can be faulted; a qualified GNP that finds nothing answers GE (parent feedback, parentage kept, position open) instead of being refused.
  • tests/cobol_mainframe/test_equivalence_cics_dli.py: unit tests of the validation, plus an E2E run of a new synthetic program (base, SCHD TC, GU GE, GNP AM, REPL AC, every-GNP GB) comparing COBOL and Java statuses and fired faults.
  • Register I5: the fault plumbing and the new ASSUMPTION (no IBM text cited): position is open after a qualified GNP's GE, so the next GN/GNP is refused by name.

Class

Member Status
GU / GNP / REPL / SCHD faults under CICS done here
ISRT / DLET / GN faults accepted by the plumbing, not exercised by a case
TERM / CHKP / XRST / ROLB / SYNC faults not modelled (sibling gap)
qualified GN that finds nothing (GE vs GB) unsettled (I3), still refused
dli_faults scenarios in carddemo-copaus1c / copaus0c case.json remaining slice (over the 5-file limit; needs re-prove + det-sweep coverage refresh)

Gates

audit_check.py clear; pr_gates --fast 7/7; pr_gates --ratchets 9/9; DL/I tests (186) and EQUIVALENCE_E2E=1 cics_dli (16) pass; test_evidence.py 38 pass. det_port.py check listed 5 ports (the shipped DetDli changed); all re-prove PROVED: cbpaup0c, copaua0c, copaus0c, copaus1c, paudbunl. Golden masters not touched (no parsing change).

Cross-repo

None. Overlaps open PRs #5898 / #5900 on equivalence_cics.py; origin/main merged cleanly.

Lessons for agents

  • A DetDli runtime change moves every DL/I port's shipped runtime: det_port.py check lists them, re-prove with det_port.py run.
  • A faulted SCHD is not performed, so Java's per-task fault counts need reset() to clear the loaded flag.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 22, 2026 09:42
…lified GNP that finds nothing is GE (Part of #5233)

The CICS harness gains a scenario key `dli_faults` that feeds the existing
planned-status machinery of both DL/I stubs (ggdli.c, DetDli) and folds the
fired faults into the compared evidence. SCHD can now be faulted (TC only).
A qualified GNP finding nothing answers GE with position open instead of
being refused (register I5, uncited ASSUMPTION).

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 22, 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 22, 2026 13:45
@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 13:45
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

def dli_fault_lines(case: dict[str, Any], sc: dict[str, Any]) -> list[str]:
"""A scenario's `dli_faults` [{"op", "nth", "status"}] as ggdli.c reads them (`FUNCTION NTH STATUS`) and DetDli
(`# DLI FUNCTION NTH STATUS`, minus the `# DLI `). A planned call is not performed: DIBSTAT answers the status."""
import equivalence # noqa: PLC0415 -- it imports this module
@squid-protocol
squid-protocol merged commit 8eb9a0a into main Oct 22, 2026
92 checks passed
@squid-protocol
squid-protocol deleted the churn/5233-20261022T1319Z branch October 22, 2026 14:14
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.

2 participants