Repository navigation
equivalence: DL/I status faults under CICS (SCHD/GU/GNP/REPL) and a qualified GNP that finds nothing (Part of #5233) - #6013
Merged
Conversation
…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]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 22, 2026 13:45
squid-protocol
enabled auto-merge (squash)
October 22, 2026 13:45
Contributor
| 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 |
This was referenced Oct 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #5233 (slice 3, after #6007).
What changed
tests/tools/equivalence_cics.py: a CICS scenario may carrydli_faults({op, nth, status}; op SCHD or GU/GN/GNP/ISRT/REPL/DLET, never CHKP; status from the batch set, SCHD =TConly). It is written as the plan both stubs read (GGDLI_FAULTSfor GnuCOBOL,gitgalaxy.faults.planfor Java) and folded into the fired-fault check, so a fault that fires on one side only fails.tests/equivalence/ims/ggdli.candDetDli.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.Class
dli_faultsscenarios in carddemo-copaus1c / copaus0c case.jsonGates
audit_check.pyclear;pr_gates --fast7/7;pr_gates --ratchets9/9; DL/I tests (186) andEQUIVALENCE_E2E=1cics_dli (16) pass;test_evidence.py38 pass.det_port.py checklisted 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
det_port.py checklists them, re-prove withdet_port.py run.reset()to clear the loaded flag.🤖 Generated with Claude Code