Repository navigation
mvs38j box: stage and dasd subcommands (Part of #8414) - #8455
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 sysgenstill exits 3) and a first IPL of the generated systemWhat changed
tests/tools/box/mvs38j/mvs38j.sh: newstage(copies the unpacked resources archive's conf/ jcl/ sajobs/ helper scripts and all.hettapes into$MVS38J_WORK, the relative layout Moseley's configs expect; idempotent) anddasd STAGE(runs hiscreate.dasd.shfor 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) thenstage, thendasdfor 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
conf/smp1.cnf-style conf,sajobs/instart1.sajob/inspool0.sajobstandalone loads of start1/spool0 fromtape/vs2start.het/vs2spool.het), then submit jcl/sysgen00-06, mvs00-03, smpjob00-07 through the socket reader withcondcode.rexxchecks,stage2.*, usermods; ends with$MVS38J_WORK/conf/mvs.conffromconf/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;affected59 s here, not slow or red on this run).audit_check.pyclear; 192 guard and box tests pass.--ratchetsnot 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 imagetakes ~100 s cold but a foregroundtimeout 580can still kill it under box load: start it withbg-job.sh start NAME -- ...andbg-job.sh wait NAME.🤖 Generated with Claude Code