Repository navigation
Description
Problem
In a deployment, traffic enters a crucible port through its Spring façade methods (handleTransaction, handleLink, submitXxx, renderXxx, returnedCommarea, executeX, bridgeX, seed). These build their own CicsTask, or run a small runtime of their own, and then call runTask. The CICS crucible proves only runTask. The façade's internal task never reports to the scenario, so the path production actually takes is not proven.
That is not hypothetical. The unproven-ports work (#4325, #4326) found façades whose behaviour differs from what runTask proves:
- HXEXT
handleTransactionreturns a fresh WS-CA without running the program. - The render/submit methods (HXATTR
renderHxm1/submitHxm1, HXEXTsubmitHxm2, PCWIZrenderPcm1/renderPcm2/submitPcm1) rebuild screens outside runTask and leave out subfields and options. - CASUB
executeCasub/handleLinkwrite TS through a repository, not through the task.
Remaining ported_unproven façade methods under the #4048 blocking policy: CALINK, CASUB (2), CAXB (3), GTWORK, HCMAIN (executeHcmain, bridgeHcsub, seed), HCSUB (handleLink), HCQREAD (executeHcqread, handleTransaction), HXATTR (3), HXEXT (2), PCDETL, PCMENU, PCWIZ (6).
Proposal
A hook in the shipped CicsTask runtime, and the crucible harness, so that a scenario can enter through a façade and the façade's task joins the scenario's environment: same events, TS/TD, COMMAREA, screens, abend/condition plumbing. Each scenario then runs through the deployed entry point and is compared against the COBOL exactly as runTask scenarios are.
Acceptance criteria
- Runtime hook (generator runtime code, with tests), plus crucible harness support to drive a façade per scenario.
- Every crucible façade method is either proven through a scenario that enters by it, or fixed when the proof shows it differs from the COBOL (e.g. HXEXT not running the program, render/submit omitting fields). Behaviour that has no COBOL counterpart goes to the generator issue filed alongside this one.
- Records regenerated by the tools; the 12 crucible ports reach "proven, unapproved" or carry a stated reason.
- Docs: evidence_records.md says what "proven" covers (which entry points).
Related: #4048, #4255, #4316, #4325, #4326, #3989 (CICS crucible).
Activity
Evidence: every record re-proven by the tools after the merges (#4342)
WIP: Generator: no entry points or handlers with no COBOL behaviour b…
Crucible: prove every port through its deployed entry points, the jav…
Prove crucible ports through their deployed entry points (Spring faca…
Mutation re-run of the 13 non-PC crucible ports after #4343 (#4047) (#…
fix(det): CICS facades run the program in the region (#4465) (#4490)
equivalence: CICS input channels and output containers compared (#4270)
equivalence: CICS input channels and output containers compared (#4270)
equivalence: CICS input channels and output containers compared (#4270)…
equivalence: cases for the GenApp, zECS, async credit-card and CardDe…
equivalence-e2e: fix the tests the first CI run exposed; deselect fou…
CI: classifier-gated EQUIVALENCE_E2E shards over tests/cobol_mainfram…