Skip to content

cics-crucible: READ / READNEXT / READPREV SET events, Java + stub (Part of #6262) - #6348

Merged
squid-protocol merged 1 commit into
mainfrom
churn/6262-20261024T0315Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/6262-20261024T0315Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6262. Checklist: done [c:2ce7a6c2]

READ SET event (plus READNEXT / READPREV SET) recorded by both crucible legs, needed by hc-file-read-set (HCRSET).

What changed

  • CicsTask: readSetEvent, readnextSetEvent, readprevSetEvent record the SPEC 6.2 event with set: true, no length, data = the record the pointer addresses. browseEvent gained a set argument.
  • Stub: GGCRDST / browse_read_set mark the event; the READ / browse lines emit set=1 instead of len=.
  • cics_crucible.py: set in COBOL_CAPS / JAVA_CAPS for READ / READNEXT / READPREV; both parsers carry it.
  • Tests (test_file_events_4443.py): one command list (READ, READ UPDATE, UNLOCK, STARTBR, READNEXT x3 to ENDFILE, READPREV, ENDBR) run on both legs and compared to the same expected events; the old "READ set stays unsupported" assertions now say it is supported.

Gates

  • tests/cics_crucible: 865 passed, 3 skipped. Tree-wide guard tests: 194 passed.
  • cics_crucible.py --ci: ok, baseline / coverage / doc unchanged (hc-file-read-set translator cells stay unsupported: the det translator emits no SET forms).
  • pr_gates --fast 7/7, --ratchets 9/9, audit_check all clear.

Class / Sibling gaps

  • det translator does not emit READ / READNEXT / READPREV SET (no burned program needs it): HCRSET cells stay unsupported.
  • WRITE and DELETE events: not recorded (no burned program).
  • RBA browse event has no Java form (existing limitation).

🤖 Generated with Claude Code

…and the stub (Part of #6262)

Adds readSetEvent / readnextSetEvent / readprevSetEvent to CicsTask, `set=1` to the stub's READ and browse event lines,
and "set" to COBOL_CAPS / JAVA_CAPS, so the SET form is recorded and compared (no LENGTH; data is the bytes the pointer addresses).

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 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 03:44
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 03:48
sys.path.insert(0, str(Path(__file__).resolve().parent))
import cics_crucible as runner # noqa: E402
import cics_crucible_compare as cc # noqa: E402
import test_cics_runtimes as rt # noqa: E402
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.

2 participants