Skip to content

cics-crucible: every ENDBR shape as a SPEC 6.2 event, one log on the Java leg and the stub (Part of #6262) - #7226

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6262-20261031T0044Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6262-20261031T0044Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Checklist: done [c:785f464d]

Part of #6262.

What

  • New tests/cics_crucible/test_endbr_events_6262.py: one 26-command list covering every ENDBR shape, run on the Java leg (CicsTask.endbrEvent) and the C stub (GGCENBR) and held to the same SPEC 6.2 expected log. Shapes: never browsed (INVREQ 35), right after STARTBR with nothing read, after ENDFILE, after READPREV, a second ENDBR (35), after a failed STARTBR (NOTFND 80, no browse started), READNEXT / READPREV after ENDBR (INVREQ 34), a fresh STARTBR after ENDBR, two files (ending A leaves B's browse live), and a planned IOERR (RESP2 120) that answers without ending the browse. The event-free endbr records nothing. Mutation checks pin that a wrong file (Java) and a wrong RESP2 (stub) fail the comparison.
  • No engine, Java runtime or stub change was needed: both legs already agreed on every shape.

Class / Sibling gaps

Class: CICS ENDBR recorded as a SPEC 6.2 event, both legs held to one log for every ENDBR shape (never browsed, ended, failed STARTBR, per-file, after each read direction, under a fault). All shapes are handled here. Already on main: STARTBR (#6488), READNEXT and the RBA browse (#7208), SET form (#6348), conditions (#7152), stub half (#6321). READPREV key shapes are open PR #7221 (Checklist: done [c:0b9cd2fe] there). Sibling gaps: none that a burned-estate program needs. ENDBR has no NOTOPEN or DISABLED condition (IBM lists none; fault_lines refuses them), so the fault shape uses IOERR.

Facts checked: pytest tests/cics_crucible browse and file-event tests green (26), new test 3 passed in ~1.4 s (time_ratchet: 0 over, 0 warned); pr_gates --fast 9/9 and --ratchets 9 pass; tree-wide guards green (266). Engine untouched, so no golden bless.

Cross-repo: none.

🤖 Generated with Claude Code

…Java leg and the stub (Part of #6262)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 31, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 31, 2026 01:14
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 01:16
@squid-shepherd
squid-shepherd Bot merged commit 2660a38 into main Oct 31, 2026
70 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6262-20261031T0044Z branch October 31, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant