Repository navigation
cics-crucible: stub STARTBR / READNEXT / READPREV / ENDBR events + COBOL_CAPS (Part of #6262) - #6321
Merged
Merged
Conversation
…nts (Part of #6262) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…BOL_CAPS (Part of #6262) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
7 tasks done
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 24, 2026 02:10
Contributor
squid-protocol
enabled auto-merge (squash)
October 24, 2026 02:13
Owner
Author
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
CI shepherd: the head of this PR (0cb8293) is not the one a maintainer labelled |
squid-protocol
disabled auto-merge
October 24, 2026 02:31
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 24, 2026 02:34
Owner
Author
|
No description provided. |
This was referenced Oct 24, 2026
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, slice A of 3: the C stub's STARTBR / READNEXT / READPREV / ENDBR events and
COBOL_CAPS, mirroring the Java-leg events of #6314.Cross-repo: none. Stacked on #6314 (same issue; this branch carries its commit, which adds
EVENT_KEYSandJAVA_CAPS). Merge #6314 first; this PR's diff then shrinks to the four files below. Nothing re-runs after.What changed
tests/equivalence/cics/ggcics_filecontrol.c: newbrowse_eventreplaces the barefile_eventcall for STARTBR / READNEXT / READPREV. It records the RIDFLD on entry as hex (rid=; a key may hold spaces or X'FF'), STARTBR'smode=,resp2=where not NORMAL, and for a browse readlen=plus the bytes INTO (NORMAL or DUPKEY). The ENDBR line gainsresp2=. An RBA browse keeps itsrba=lines.tests/tools/cics_crucible.py:_cobol_eventsreads those lines into SPEC 6.2 events;COBOL_CAPSlists the four events with the same keys asJAVA_CAPS;seed_filessizes a file's key from a browse event too. An RBA browse line maps toridfld=Unmodelled, not a misread key. A LENGERR read asserts RESP only (SPEC section 2), as READ does.tests/cics_crucible/test_browse_stub_events_6262.py(new): runs the stub through the same command sequence as the Java leg's test and holds its events to the same expected log, so the legs agree on every key; plus a mismatch check and the RBA case.tests/cics_crucible/test_browse_events_6262.py: drops the "stub does not yet" assertion this PR makes false.Class / Sibling gaps
Class: CICS file-control commands as crucible SPEC events (#6262; sibling of READ / REWRITE / UNLOCK from #4443). Members: READ SET, STARTBR, READNEXT, READPREV, ENDBR, WRITE, DELETE.
browse_event, each exercised in the parity test).hc-file-read-set/ HCRSET); WRITE and DELETE (Java + stub; no burned program or crucible case needs them yet). RBA browse events (stub emitsrba=lines, no Java event; no burned program browses an ESDS by RBA in a crucible case).Remaining slices
Slice B: #6314 (Java leg). Slice C: the crucible case that uses these events plus the translator wiring (
startbrEventetc. from the generated port), then READ SET; WRITE / DELETE only when a program needs them.Checklist: partial [c:fe841e1a] -- stub half done here; the Java half is #6314
Checklist: partial [c:74ed4275] -- stub half done here; the Java half is #6314
Checklist: partial [c:0b9cd2fe] -- stub half done here; the Java half is #6314
Checklist: partial [c:785f464d] -- stub half done here; the Java half is #6314
Facts checked
pr_gates --fast: 7/7;--ratchets: 9 pass, 0 fail, 0 skipped (golden masters are not touched: nogitgalaxy/change).tests/cics_crucible+tests/tools/test_crucible_case.pyall pass; tree-wide guards 194 pass; the new tests' time ratchet: 0 over the limit;audit_check: clear.STARTBR file= key=stub line (greppedtests/andgitgalaxy/).🤖 Generated with Claude Code