Skip to content

Job harness: an IDCAMS step, model only (Part of #8884) - #8971

Merged
squid-shepherd[bot] merged 3 commits into
mainfrom
churn/8884-20261122T0213Z
Nov 22, 2026
Merged

squid-shepherd[bot] merged 3 commits into
mainfrom
churn/8884-20261122T0213Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8884 (under #8878). Checklist: partial [c:9d]

What

The job harness gets an IDCAMS step kind ("idcams": {"deck": ..., "dds": {...}}). It runs the deck on det/idcams_model.py (the oracle model, since GnuCOBOL has no IDCAMS), stages a REPRO'd KSDS in key order as the feed of the next step, and refuses by name: missing deck, inputs/gdg_* on the step, a DD with no record length, a cluster without exactly one key, no output dataset, a model refusal, a nonzero condition code (the job stops).
The step is reported model_only (Java side not compared; #8966 is untouched), so a job containing one is never proven. No proof is loosened.

Files (3 hand-written): tests/tools/equivalence_job.py, tests/cobol_mainframe/test_equivalence_job_4268.py (stubbed tests: JCL order, never proven, model refusal, condition code, 8 refusals by name). test_job_case_4268.py is untouched to stay clear of #8960.

Plan deviations

  1. The CALL-step box was already done by Job harness: a step may be a case with subprograms (Part of #8884) #8951; SORT steps already run as batch cases. Only the IDCAMS step was missing.
  2. CREASTMT STEP010's OUTREC writes 328-byte records against the DD's LRECL=350 (and RECORDSIZE(350 350) in STEP020). No manual on the box says what DFSORT does with a shorter OUTREC, so the job case is refused at that join and no pad is guessed (register F4).
  3. The SORT case (carddemo-sort-creastmt) and the job case were built and run but are not in this PR: main sits at 48/194 unmeasured det cases against a 25% limit (ci_shard_plan.MAX_UNMEASURED), so any new det case turns test_det_sweep_fast (2) and test_ci_shard_plan (1) red, and the nightly owns det_sweep_durations.json.

Class / Sibling gaps

Class: a job step that is not a program run through the harness's existing cases. Handled: program steps (batch, call with subprograms #8951), IDCAMS REPRO/DELETE/DEFINE (model only, this PR). Siblings, not done: IEFBR14 (STEP030), DELDEF01 catalog state carried across steps, a Java IDCAMS comparison (after #8966), other utilities (IEBGENER, ICETOOL).

Remaining slices

Gates

pr_gates --fast 9/9, audit_check.py all clear, pinned-baseline ruff, 59 job tests pass.

Lessons for agents

Adding any det case to tests/equivalence/ while unmeasured cases are at ~24.7% trips three plan tests (test_det_sweep_fast, test_ci_shard_plan); new_cases only excludes them when the diff base resolves.

🤖 Generated with Claude Code

squid-protocol and others added 3 commits November 21, 2026 21:21
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 22, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 22, 2026 02:43
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 22, 2026 02:55
@squid-shepherd
squid-shepherd Bot merged commit 5e9701b into main Nov 22, 2026
68 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8884-20261122T0213Z branch November 22, 2026 03:58
@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