fix(ci): stage JPF annotation jars via dependency:copy-dependencies - #159
Merged
Conversation
The jpf-interleavings job's first step failed on the hosted runner while parsing the build-classpath string with tr/while/case (worked locally, not on the CI shell), so JPF never ran. Replace that with `mvn dependency:copy-dependencies -DincludeScope=compile` into a directory and copy the three annotation jars (checker-qual/jspecify/error-prone) by unambiguous glob to the stable unversioned names the .jpf classpath expects. Robust across platforms and version bumps; also drops -q and lists the staged jars for diagnosability. Re-verified locally in Docker: JPF "no errors detected", ~14k states. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TU5B8DDtDwKSS6ohSfoz2Y
bernardladenthin
had a problem deploying
to
maven-central
September 13, 2026 10:13 — with
GitHub Actions
Failure
bernardladenthin
had a problem deploying
to
maven-central
September 13, 2026 10:13 — with
GitHub Actions
Failure
bernardladenthin
had a problem deploying
to
startgate
September 13, 2026 10:13 — with
GitHub Actions
Error
|
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
Follow-up to #158. On the first hosted-runner dispatch, the
jpf-interleavingsjob failed in its first step (before JPF ran): parsing thedependency:build-classpathoutput string withtr/while/caseworked locally but not on the CI shell, so the annotation jars were never staged and thetest -fguard aborted the step.mvn dependency:copy-dependencies -DincludeScope=compile -DoutputDirectory=target/anno, then copy the three annotation jars (checker-qual / jspecify / error-prone) by unambiguous glob to the stable unversioned names the.jpfclasspath expects.-qand lists the staged jars for diagnosability.The rest of the JPF chain (jpf-core build with the AtomicLong model patch,
--release 8harness compile,RunJPF) is unchanged. ESC and RAC (the always-on jobs) are unaffected.Test plan
dependency:copy-dependenciesconfirmed to include the optional annotation jarsChecklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01TU5B8DDtDwKSS6ohSfoz2Y