Repository navigation
Spring harness: one-command mode runs the chain and the generated jobs and compares them (Part of #8886) - #9356
Merged
Conversation
…s and compares them (Part of #8886) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
|
No description provided. |
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.
Part of #8886 (epic #8878, #4891). Slice 23: the Spring-vs-chain comparison becomes one command.
Checklist: partial [c:101680f3] -- the javac-only
run_forgedstill stubs program steps (the ports run in the Maven Spring run, slice 22); STEP30 BLDINDEX refusal unchangedWhat changed
tests/tools/equivalence_forged_spring.py: newmain():--spec X.forged.jsonwith--report R(a chain's report.json) or--run-chain DIR(runsequivalence.py run CASE --keep DIRfirst). It hands the report'sgenerations_dir/outputs_dirtoscan_and_run, prints the per-step and per-dataset lines,--jsonwrites the rows, and exits 1 when any step or dataset differs in either mode (stubbed program rows included, never rounded), 2 when no JDK / Spring jars were found (nothing ran, not a pass), 0 only when all equal.differs()lists them.tests/cobol_mainframe/test_forged_spring_cli_8886.py: four tests withscan_and_runstubbed (wiring, exit codes,run_chain).Evidence (levels, not "proven")
--run-chain, GnuCOBOL chain + IDCAMS model, then Spring): 8 of 9 steps equal in strict and skip; 4 results differ, exit 1: TRANIDX STEP30 (IDC1646I over-RECORDSIZE refusal, not modelled) and the stubbed SYSTRAN row in both modes (the linked-port row isequal). Same as before this PR; the command now reports it in one run.Class / Sibling gaps
The class is "a comparison the harness can only run through a scratch script": the Spring-vs-chain run had no command (slice 21 handoff). Members: this nightly (now a command); slice 1's replay already had a CLI (
equivalence_forged_job.py). Sibling gaps: ports inside the javacrun_forged(needs a JPA stack); the STEP30 over-RECORDSIZE refusal; an ifChain assertion; abend scenarios. No other job case has a.forged.jsonspec yet, so the command has no other member.Remaining slices
run_forged; ifChain assertion; abend scenarios (each its own PR).Gates
audit_check.pyall clear; ruff format clean; the four new tests pass.Doc-refs fixes: none
🤖 Generated with Claude Code