Skip to content

cics-crucible: READPREV key-form shapes on both legs as SPEC events; stub HIGH-VALUES key (Part of #6262) - #7221

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Checklist: done [c:0b9cd2fe]

Part of #6262.

What

  • New tests/cics_crucible/test_readprev_events_6262.py: one 27-command list covering every key-form READPREV shape (first READPREV right after STARTBR with the key present and absent, HIGH-VALUES start, backward walk to the natural ENDFILE, READPREV after READNEXT and READNEXT after READPREV, a changed RIDFLD, LENGERR, no browse, failed STARTBR), run on the Java leg and the C stub and held to the same SPEC 6.2 expected log. Mutation checks pin that key, data, RESP, RESP2 and length are compared.
  • Fix found by it, tests/tools/cics_crucible.py: the stub's logged RIDFLD hex went through latin-1 -> cp037, so a HIGH-VALUES key (X'FF') became X'DF' and the two legs disagreed on a READPREV from the end. New _key_ebcdic keeps X'FF' and translates text; used for the browse and WRITE/DELETE key lines.

Class / Sibling gaps

Class: key-form browse reads (READNEXT / READPREV) recorded as SPEC 6.2 events, held to one log on both legs for every position/direction shape. Handled here: READPREV in all shapes, READNEXT after READPREV, the HIGH-VALUES key bytes on the stub (browse and WRITE/DELETE key lines). Already on main: SET form (#6348), RBA form (#7208), conditions (#7152). Sibling gaps: none that a burned-estate program needs; ENDBR event (c:785f464d) has its shapes in the existing browse tests and is left to its own tick; no docs/language_status/cics_crucible.md edit (generated-looking, and #7213 touches it).

Facts checked: engine/golden untouched (test-side runner only); pytest tests/cics_crucible green; audit_check.py all clear; tree-wide guards green.

Cross-repo: none.

🤖 Generated with Claude Code

…oth legs; stub HIGH-VALUES key stays X'FF' (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 00:33
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

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