Skip to content

cics_crucible: HCRDST ADDRESS OF cells pass: Java side seeds the file, runtime-page file events (Part of #6876) - #7562

Merged
squid-shepherd[bot] merged 3 commits into
mainfrom
churn/6876-20261102T1736Z
Nov 2, 2026
Merged

squid-shepherd[bot] merged 3 commits into
mainfrom
churn/6876-20261102T1736Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6876

Checklist: done [c:be1b1852]

What

HCRDST (hc-file-read-set, EXEC CICS ADDRESS OF) now passes all 8 cells of the cics-crucible (java-ported and java-facade, 4 scenarios each). The ADDRESS OF translation itself was already fixed (#6262); what still failed was the runner's Java side.

The plan assumed only a ridfld transcode. It also needed two more pieces:

  • Java-side file seeding: the generated EquivalenceRunTest now seeds the case's data/<FILE>.dat into the repository before each scenario (one file, one fromRecord domain; empties with deleteAll first). Without it every READ was NOTFND.
  • Runtime-page file events: the Java runtime holds record bytes in latin-1 while the expected logs are cp037. _java_file_event takes a page argument (default EBCDIC, so existing callers are unchanged); java_actual passes RUNTIME_PAGE, which transcodes ridfld and decodes data as a RawArea in that page.

Gates

  • Full 810-cell crucible --update-baseline: only the 8 HCRDST cells changed (removed from baseline.json); docs/language_status/cics_crucible.md regenerated.
  • Re-ran hc-file-read-set java-ported / java-facade after the final refactor: 8 pass, 0 fail.
  • Crucible and tools tests (1587 selected) pass; new test file passes with plain pytest from /tmp.
  • audit_check.py: ruff, mypy, dead-key, ast-accuracy all clear; ruff format --check clean.

Sibling gaps

  • hc-file-unlock (HCUNLK, [c:7a93f471]) fails earlier, at READ / WRITEQ-TS ordering. Not a burned-estate program (cics-crucible case).
  • Multi-file or multi-entity cases are not seeded on the Java side (seeding handles one file, one entity). No burned-estate program needs it today.

Lessons for agents

  • The crucible's Java side holds records in latin-1 (RUNTIME_PAGE) while expected logs are cp037: transcode ridfld and event data at the runner, never in the runtime. A transcode applied unconditionally breaks tests that feed real EBCDIC CicsTask bytes; keep the page a parameter.
  • RawArea has .encoding, not .page.
  • cics_crucible.py --update-baseline refuses --cases; it needs the full run.

Facts checked: baseline diff (8 cells removed, nothing added), full-run counts, targeted re-run 8/8.

🤖 Generated with Claude Code

squid-protocol and others added 3 commits November 2, 2026 12:45
… seeds the case's file (Part of #6876)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…time page, seeds the case's file; HCRDST's 8 cells pass (Part of #6876)

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 Nov 2, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 2, 2026

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