Repository navigation
Forged-job harness reads job_dds/job_steps from a real CardDemo JCL scan (Part of #8886) - #9117
Merged
Merged
Conversation
…mo's JCL, not hand-built facts (Part of #8886) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
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.
Summary
Slice 1 of 3 from #9086's remaining slices (Part of #8886, #8878, #4891).
tests/tools/equivalence_forged_job.pyno longer hand-buildsjob_steps/job_ddsfacts (which mirrored the PROC-override rule). It copies the corpus's JCL and PROC dirs into a temp estate, runs a real scan (galaxy_ir.scan_to_db+load_galaxy_ir), and hands the forgeir.job_steps()/ir.job_dds()rows, the same facts the controller uses. Override rows are thejob_ddsrows whosesourceis the job file under aproc_step.Result unchanged: CardDemo nightly forged comparison 9 of 9 steps equal (guard replayed, Spring not run).
Test: new
test_the_forge_reads_the_scans_job_dds_rows_not_a_mirror_of_the_override_rulepins that the forged facts equal the scan's rows and that TRANBKP'sPRC001.FILEIN/FILEOUToverrides come from the job file while all other PROC DDs come fromproc/.Class / Sibling gaps
Class: forged-job harness inputs that re-derive what the engine's
job_steps/job_ddsalready compute (so a harness could pass while the engine is wrong). Members: step facts, DD facts, PROC override DDs: all now read from the scan. Sibling gaps: none in this harness. Not here (other mechanism, later slices): executing the forged Spring job and comparing to the chain; the--forgedhook inequivalence.py run.Remaining slices
--forgedhook inequivalence.py run.Checklist: partial [c:1b7f6936] (slice 1 of 3 done; slices 2 and 3 left)
Gates:
audit_check.pyall clear;ruff formatclean;test_forged_job_nightly_8886.py7 passed (~9 s, doom-ci venv, JDK present). Hand-written files: 2.🤖 Generated with Claude Code