Repository navigation
det: SYNCPOINT [ROLLBACK] RESP / RESP2 are written, not ignored (#4437) - #4442
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Comment on lines
+1108
to
+1109
| "SYNCPOINT in a program LINKed from outside the region: INVREQ (RESP2 200) unless the client LINKed with " | ||
| "SYNCONRETURN, which the region does not know", |
Comment on lines
+1110
to
+1111
| "SYNCPOINT ROLLBACK in a program LINKed from outside the region: INVREQ (RESP2 200) unless the client LINKed " | ||
| "with SYNCONRETURN, which the region does not know", |
Contributor
Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol
marked this pull request as ready for review
October 5, 2026 13:04
squid-protocol
added a commit
that referenced
this pull request
Oct 5, 2026
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz
squid-protocol
added a commit
that referenced
this pull request
Oct 5, 2026
…p Object for cross-program COMMAREAs (#4441) (#4445) * WIP: resurface the 14 CardDemo equivalence ports' facades after #4427 (#4441) port_surface.py equivalence: resurface tests/equivalence/<case>/port against the corpus's fresh generation (ports_compile_check.generate). Only the imports a written facade uses are added. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz * Re-prove the 14 resurfaced CardDemo equivalence ports (#4441) evidence.py prove: all 14 proven, unapproved (runTask path; the equivalence harness has no facade side). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz * Re-prove the 14 CardDemo ports on the generator after #4442 (#4441) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
10 of 18 tasks
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.
Draft. Fixes #4437 (left by #4411 / #4432).
Translator: modelled
EXEC CICS SYNCPOINT [ROLLBACK] RESP(x) RESP2(y)used to emit onlytask.rollback()/task.syncpoint(). CBSA'sIF WS-CICS-RESP NOT = DFHRESP(NORMAL)then read whatever the previous command had left in the RESP area. The det port now writes the response, as the oracle (ggcicsGGCSYNC) and CICS do:BANK.csddefines DBCRFUN and INQACCEXECUTIONSET(FULLAPI).Runtime: refused by name
CicsTasknow refuses SYNCPOINT and SYNCPOINT ROLLBACK in a program LINKed from outside the region (LocalRegion.linked, the DPL mirror task). There, CICS answers INVREQ unless the client LINKed with SYNCONRETURN, and the region cannot know which. A task the region starts itself is unchanged. This is covered by a new javac runtime test.EXECUTIONSET is not read. That is stated in
oracle_assumptions.mdX3.Audit (can't regress)
test_det_translate.py:test_every_command_that_accepts_resp_writes_it: every command indet.cics.OPTIONSthat accepts RESP must emit the outcome, or name in the test why not. RETURN is exempt because control never comes back. SEND MAP / RECEIVE MAP / LINK are exempt because the test double cannot translate them; their RESP is written viaoutcome().Ports
det_port.py check: 47 of 55 ports unchanged. 8 changed, all only in the added stores. Re-proven withdet_port.py run(--faults all, SQL faults auto, Db2):teller-debit--sql-dbcrfun-524(SQL fault, then SYNCPOINT ROLLBACK RESP, then the NORMAL test).Other checks:
ports_compile_check.py: all 45 committed ports compile.Not regenerated: the port_invariance fixture's DbcrfunService / InqaccService
The committed 12-pair fixture,
tests/cobol_mainframe/port_invariance, is a #4167 snapshot. Its DBCRFUN still shows this bug: RESP is read and never written.port_invariance.py fixturecan only rewrite all 12 pairs.function_countrho to 0.798, below its 0.80 floor. The cause is emitter drift since Port invariance: the scanner readings that must survive a COBOL -> Java port #4167, not this change. This change moves no reading on the 54-pair sweep.state_fluxfalls to 0.41.ruff_audit / mypy_audit
--ciare clean, andtool_regex_redos --cipasses. Not touched: the 14 CardDemo equivalence ports still carrying the old typed facade (#4435 follow-up).🤖 Generated with Claude Code
https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz