Skip to content

equivalence: pin variable-length VSAM record lengths in the harness; P117 row D landed (Part of #6839) - #7329

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

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6839-20261031T1638Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Issue #6839 row D (VSAM variable-length READ). The mechanism already landed on main (#7255: stub <file>.len, harness variable / lengths, det Store.cut, the zecs-zecs001 GET scenarios); the parked branch credit/vsam-variable-length is superseded. This slice pins it and fixes the stale ledger text. Part of #6839.

  • tests/tools/test_equivalence_cics_variable_lengths_6839.py (new, 9 tests, 0.4 s): variable_file, record_lengths (explicit map, "lines" with CRLF / blank / short / over-long lines and append, empty, malformed value refused, non-ASCII page refused), parse_lengths round trip and junk lines.
  • tests/cobol_mainframe/port_blockers.json P117 + regenerated docs/language_status/port_blockers.md: row D is fixed, no longer "unprovable".

No engine, port or translator change: no golden bless, no det sweep.

Class / Sibling gaps

Class: a variable-length (RECORDFORMAT V) VSAM record keeps and returns its own length across every way a case states it (map, "lines", none) and every refusal, in the harness that feeds the stub's .len and the Java side. Handled here: all harness forms above. Sibling gaps: (1) stub C paths (READ, READNEXT/READPREV, WRITE, REWRITE, DELETE then WRITE with .len) are covered only through the zecs-zecs001 scenarios, no direct unit test (needs a compiled stub; different mechanism); (2) Java DetCics.Store.cut on READ/browse likewise has no direct JUnit-level test, only the det sweep; (3) issue #6839's row D line and status text are stale and should read "landed, #7255".

Remaining slices

Direct stub-level and Java cut tests (files: a new tests/equivalence stub test, a det-runtime test), after this.

Gates

pr_gates --fast 9/9; guard tests 240 passed; test_port_blockers 12 passed.

Lessons for agents

Check a queued slice's premise against main first: row D's body line was stale and the work was already merged in #7255.

Co-Authored-By: Claude Sonnet 5.5 [email protected]

🤖 Generated with Claude Code

…states; P117 row D landed (Part of #6839)

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 16:53
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 17:16
@squid-shepherd
squid-shepherd Bot merged commit 223987c into main Oct 31, 2026
60 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6839-20261031T1638Z branch October 31, 2026 18:11
@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