Skip to content

Job harness: a step may be a case with subprograms (Part of #8884) - #8951

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8884-20261122T0003Z
Nov 22, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8884-20261122T0003Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8884 (Graveyard Shift 2).

Checklist: partial [c:9d106702] -- the committed CREASTMT job case waits on the IDCAMS step cases (#8880: DELDEF01, REPRO), a lowered SORT step with OUTREC (STEP010), and a sequential-to-indexed REPRO feed; no real GnuCOBOL+Java job run of a subprograms step is made here.

What

check_job already treated a case with no kind as batch, so CBSTM03A (subprograms: CBSTM03B) was not refused by kind, but nothing pinned it and the docstring said "call step" was refused. Now:

  • a step's subprograms is validated by name (list of corpus-relative paths, no duplicates, not the step's own program);
  • the report step entry carries subprograms;
  • the docstring separates kind: call (refused) from a batch case with subprograms (allowed; the whole case goes to both sides, which compile/translate it as the step's own proof does);
  • tests: stubbed run, malformed-list refusals, and the real carddemo-cbstm03a case as a job step.

Class / Sibling gaps

Class: the job harness accepts every batch-kind step shape that the single-step proof already handles. Members: subprograms (handled here, validated and tested), programs (LINK targets; only reachable from CICS cases, out of scope), step faults (refused by name today, unchanged).

Sibling gaps (all CardDemo, burned):

Gates

Job tests (76 pass, run from /tmp), audit_check.py all clear. No golden bless (no parsing logic).

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

🤖 Generated with Claude Code

Validate a step's subprograms (list of corpus-relative paths, no duplicates, not the step's own program), report them per step, and pin that CardDemo CBSTM03A (CALLs CBSTM03B) is a valid job step.

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 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 00:29
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 22, 2026 00:37
@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