Repository navigation
cics-crucible: Java leg records WRITE and DELETE as SPEC 6.2 events (Part of #6262) - #7166
Merged
Merged
Conversation
… token) as SPEC 6.2 events (Part of #6262) CicsTask.writeEvent / deleteEvent / deleteGenericEvent / deleteInvalidEvent / deleteHeldEvent / deleteTokenEvent wrap the existing methods; JAVA_CAPS, the Java mapping and the comparator's key table learn the two kinds. The stub half follows. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
1 similar comment
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.
Part of #6262. Checklist: partial [c:WRITE event (Java + stub)] and [c:DELETE event (Java + stub)] -- Java leg done here; the C stub half and the SPEC rows are left.
What
The Java leg records WRITE and DELETE as SPEC 6.2 events:
CicsTask.writeEvent,deleteEvent,deleteGenericEvent,deleteInvalidEvent,deleteHeldEvent,deleteTokenEventwrap the existingwrite/delete*(which stay event-free for every port). Event shape (proposed here, to be written into the SPEC):WRITE {file, ridfld, data, resp, resp2},DELETE {file, ridfld, generic, resp, resp2};ridfldis absent when the DELETE has none (held record, TOKEN);resp2only when not NORMAL and IBM states one (DUPREC states none).JAVA_CAPS,_java_file_eventand the comparator'sEVENT_KEYSlearn both kinds. Newtest_write_delete_events_6262.pyruns the whole condition class throughCicsTaskagainst a hand-traced IBM log (NORMAL, DUPREC, planned NOTOPEN, NOTFND, generic, INVREQ 25 / 31, held, token), checks the event-free methods record nothing, that every key is compared, and that the stub does not yet advertise the kinds.Class / Sibling gaps
Class: EXEC CICS file-control commands that mutate a file, with no SPEC 6.2 event wrapper on the Java leg (same mechanism as
rewriteFrom/unlock#4443 and the browse events #6262). Handled here: WRITE, DELETE by key, GENERIC, KEYLENGTH INVREQ, held, TOKEN. Not here (5-file cap, different files):SPEC.mdrows for WRITE / DELETE,schema/expected.schema.json,tools/validate.py:1124. Needs the owner or orchestrator (cics-crucible is case PRs only for workers); merges before the pin bump. No burned-estate program needs it (scope: sweep).ggcics.cGGCWRITandggcics_filecontrol.cDELETE emit the SPEC event (rid=<hex>,data,generic=1,resp2) instead of the oldkey=line,COBOL_CAPSand the stub parser intests/tools/cics_crucible.py, a stub test liketest_browse_stub_events_6262.py.det/cics_filecontrol.pyemitting the event variants for ports; needed only once a case asserts these events.Cross-repo: companion is the cics-crucible SPEC PR above (merges first, then a pin bump); nothing re-runs here before it lands since no case uses the events yet.
Gates
pr_gates --fast9/9,--ratchets9/9 (via heavy-run.sh, JDK 17),cics_crucible+ guard tests 1108 passed,time_ratchet0 over. No golden touched (nolanguage_standardschange). Facts checked: SPEC at pin and crucible main has no WRITE/DELETE row; the stub still logs the old line.🤖 Generated with Claude Code