Skip to content

mvs38j box: stage and dasd subcommands (Part of #8414) - #8455

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8414-20261114T0228Z
Nov 14, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8414-20261114T0228Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Slice 2 of the #8414 checklist item "Reproducible MVS 3.8J box on nyx (not CI)": the work-dir staging and DASD creation that precede Jay Moseley's console sysgen. Follow-up to #8449 / #8453.

Checklist: partial [c:52d5564f] -- the console-driven sysgen itself (starter IPL, stage 1, stage 2, user mods; mvs38j.sh sysgen still exits 3) and a first IPL of the generated system

What changed

  • tests/tools/box/mvs38j/mvs38j.sh: new stage (copies the unpacked resources archive's conf/ jcl/ sajobs/ helper scripts and all .het tapes into $MVS38J_WORK, the relative layout Moseley's configs expect; idempotent) and dasd STAGE (runs his create.dasd.sh for starter | dlibs | sysgen | user inside the Hyperion image, answering "n" to the compression prompt, as the calling user).
  • docs/jcl_oracle_mvs38j.md: the two commands and what was verified.
  • tests/tools/test_mvs38j_box.py: unknown/missing stage refused (exit 2), unstaged work dir refused (exit 1). No docker or network.

Verified on nyx 2026-11-13: tapes (all three md5s OK) then stage, then dasd for all four stages produced the 11 volumes (start1/spool0 3330, mvsres/mvs000/page00/spool1/smp000/work00/work01 3350, pub000 3380, pub001 3390; ~4 GB sparse). Image rebuilt from Dockerfile in 100 s cold. Scratch work dir deleted afterwards. Internal use only until Q16; the system image is not committed; no estate source touched.

Class / Sibling gaps

Class: the tier-2 checklist items of #8414 in order (box, job runner, probe run, capability ledger note, counsel). This PR advances the box item only. Siblings, all needing a generated system: (1) job runner via the socket card reader with JES2 log to JSON, provenance mvs38j-run; (2) probe run of the era-compatible subset of tests/equivalence/jcl plus tier-1 answers; (3) per-construct capability ledger note; (4) Q16 counsel is owner work. None can start before sysgen completes.

Remaining slices

  1. Sysgen driver: IPL the starter (conf/smp1.cnf-style conf, sajobs/instart1.sajob / inspool0.sajob standalone loads of start1/spool0 from tape/vs2start.het / vs2spool.het), then submit jcl/sysgen00-06, mvs00-03, smpjob00-07 through the socket reader with condcode.rexx checks, stage2.*, usermods; ends with $MVS38J_WORK/conf/mvs.conf from conf/mvs.cnf. Files: mvs38j.sh (or a new driver), conf template, test. 2. Job runner. 3. Probe run and ledger note.

Gates

pr_gates.py --fast: 9/9 pass (lint, audits, secrets, xray, gen-docs, derived, workflows, gauntlet, affected; affected 59 s here, not slow or red on this run). audit_check.py clear; 192 guard and box tests pass. --ratchets not run: no parsing, golden or ledger input is touched. Local ruff/mypy differ from CI pins; the gate used its cached pinned binaries.

Lessons for agents

  • heavy-run.sh ... mvs38j.sh image takes ~100 s cold but a foreground timeout 580 can still kill it under box load: start it with bg-job.sh start NAME -- ... and bg-job.sh wait NAME.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 14, 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 14, 2026 02:52
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 14, 2026 02:52
@squid-shepherd
squid-shepherd Bot merged commit c150c50 into main Nov 14, 2026
60 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8414-20261114T0228Z branch November 14, 2026 03:09
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