You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
det translator: CICS facades are stubs (handleLink throws, void handleTransaction does nothing), not the region-run facade #4465
bugUnintended behavior or logic failure in the engineera:4Era CICS TS 3+, Enterprise COBOL: channels, JSON, async (2005+) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: highCore feature broken, but workarounds existscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
The det translator writes a CICS port's façades as stubs (gitgalaxy/tools/cobol_to_java/det/program.py, the for meth in ("handleTransaction", "handleLink") loop):
a void façade does nothing (// this port runs as runTask(CicsTask));
a typed façade throws UnsupportedOperationException("<meth>: this port runs as runTask").
So a det port's deployed entry points do not run the program. That breaks the #4342 rule (no generated entry that does nothing) and the #4343 façade contract (CicsTask.region() → transaction / linked → region.run(task, name, this::runTask)), which the model ports and the generator's own façades follow.
Found by
#4449 (PR #4455): the equivalence harness's java-facade side enters each LINK target the case runs through its handleLink, as the CICS crucible does since #4343. In cbsa-inqacc, scenario null-statement-date (SQLCODE -305 → INQACC LINKs ABNDPROC), ABNDPROC's det port is refused with handleLink of ABNDPROC threw before it ran its level: java.lang.UnsupportedOperationException: handleLink: this port runs as runTask. INQACC's runTask side passes 14/14. Its java-facade side passes 13/14.
Expected
The det translator emits the same façade bodies the transaction forge does: CicsTask.Region region = CicsTask.region(); CicsTask task = region.transaction(transid, request) (or region.linked(NAME, request)), region.run(task, NAME, this::runTask), returning task.returned(..) or request as the generated signature says. A det regression test should cover both façades.
Acceptance
det façades run the program in the region, with a test in the det suite.
Also affects genapp-lgupdb01: its LINK target LGUPVS01 is a det port, and its handleLink throws the same way. java-facade passes 1/5 (update-endowment, update-house, update-motor and stale-lastchanged are refused). runTask passes 5/5. Ledgered in tests/equivalence/facade_baseline.json (#4455).
bugUnintended behavior or logic failure in the engineera:4Era CICS TS 3+, Enterprise COBOL: channels, JSON, async (2005+) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: highCore feature broken, but workarounds existscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
Re-prove the 19 committed CICS equivalence ports through their facades (
squid-protocol commentedon Oct 5, 2026
Also affects genapp-lgupdb01: its LINK target LGUPVS01 is a det port, and its handleLink throws the same way. java-facade passes 1/5 (update-endowment, update-house, update-motor and stale-lastchanged are refused). runTask passes 5/5. Ledgered in tests/equivalence/facade_baseline.json (#4455).
Re-prove the CICS equivalence ports on merged main, genapp-lgupdb01 i…
test: cbsa-inqacc port follows #4457's DTO rename (InqaccCommarea -> …
Det sweep: a two-way ratchet over a committed baseline of not-proven …
fix: train -- #4457, #4458 (#4471)
det ports: re-prove carddemo-menu + 3 mortgage ports; det sweep in CI (…
[experiment A] fix(crosscheck): read replaced records of section COPY…
fix(det): re-prove LINK callers, lower det-sweep and facade ratchets (#…
test(det): re-prove LINK callers after merging #4489 (#4465)
fix(det): CICS facades run the program in the region (#4465) (#4490)
Det sweep speed-up: shards, affected-cases-only, COBOL cache (#4463 f…
train: #4464 opaque DFHCOMMAREA + #3804 generated inputs (#4524)