Repository navigation
det: hoist abended/store/lastAnswerBytes/lastLinkBytes shims into DetCics (Closes #8486) - #8932
Merged
Merged
Conversation
…s are one-line cobolrt delegates (Part of #8486) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
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.
What
Closes #8486 (slice 2; slice 1 was #8537).
The live det translator still wrote identical method bodies into every
*Service.java. They are now one-line delegates to newDetCicshelpers:abended()->DetCics.abended(task, caBack, Goback::new)lastAnswerBytes()/lastLinkBytes()->DetCics.copyBytesstore()for a program that stores no file ->DetCics.noStoreparagraph()/condition()collapsed to one line (they were 3-line bodies the guard counts)The guard test now translates through the full task path (project dir plus a stub with
runTask). The old sample took a minimal path that emitted none of these methods, so it guarded nothing.abended,lastAnswerBytesandlastLinkBytesare removed from the structural-method exemption set. A new test pins the delegate shapes.Class / siblings
Class: a method body the live det translator emits identically into every service.
Fixed here: abended, lastAnswerBytes, lastLinkBytes, the no-file store, paragraph, condition.
Sibling gaps
ALLOWED_COMMITTED_DUPLICATESis unchanged. The committedtests/cics_crucible/det-portscopies are built from crucible projects bycics_crucible_det.py build. Thecarddemo-*/port/serviceports are model-written. Neither is regenerable here. Rebuilding the det-ports from their crucible projects would shrink the list. The model-written carddemo ports stay as they are.perform,run,dd,p<N>) are not shims.Facts checked
det_port.py check: every CICS port'sDetCics.javaand its service change (276 of 302 ports); the other 26 are unchanged. The change is mechanical.det_port.py runon 5 cases) reports JAVA FAILED. A control run ofasynccc-getpolon pristine origin/main fails the same way: the proof classpath picks up another solver's scratch project (multiple@SpringBootConfiguration). So the re-prove could not be run locally. CI's e2e is the proof.audit_check.py: all clear.cobolrt_api.py --check,test_cobolrt_api,test_cobolrt_rules,test_det_translate, the guard test: pass.Cross-repo
None.
Checklist: n/a
🤖 Generated with Claude Code