Repository navigation
equivalence: runs after the first Maven run take the direct JVM path (Fixes #4910) - #4914
Merged
Merged
Conversation
…VM path (#4910) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 11, 2026 17:44
squid-protocol
enabled auto-merge (squash)
October 11, 2026 17:44
Contributor
This was referenced Oct 11, 2026
Evidence refresh: re-measure translation every night (the reports' survey froze on 2026-10-07)
#4863
Closed
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.
Fixes #4910
After a project's first successful Maven run,
run_mavenkeeps surefire's own test classpath (surefire.test.class.pathfrom its report) and the precompiled marker, so every later run of that project (fault, extra environment, entry, CICS facade side) takes the existing_run_direct: plainjavain a fresh JVM, same classpath, same-Dproperties/flags (the same argline), same working dir,JAVA_DIRECT_TIMEOUTfrom #4908. Fresh JVM per run is kept. If anything is missing it falls back to Maven.Distribution (static, 104 cases): 8 batch cases have extra runs (121 in all): posttran 28, trnrpt 24, dailyval 20, intcalc 19, readacct 12, readcard/readcust/readxref 6. Every CICS case with a port (90) gains the one facade run. Db2 batch cases also gain a run per enumerated SQL fault (dynamic). The other batch / call cases have one run.
Measured (det_port run, quiet box, before = main):
The saving is about 1.9 s per run, not 3.8 s: the Spring context start inside the JVM remains (the test body is 0.4 s); only Maven's own start-up goes. Cutting that further would need different JVM flags, which would risk the verdicts, so it is not done here.
Identical verdicts: for all six cases the proof
report.json(every run's outputs, faults fired, coverage) is leaf-for-leaf identical before and after, paths and timings aside; all PROVED.Tests:
test_runs_after_the_first_maven_run_take_the_direct_path_with_mavens_classpath_and_flags(first run = mvn, second = direct; same flags, the surefire classpath plus launcher and runner, same cwd, timeout).Gates:
pr_gates --fast5/5;--ratchets7 pass, 0 skipped;det_port.py check104/104 ports unchanged.🤖 Generated with Claude Code
https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX