Skip to content

det_survey: declared-dependency classpath; no race under --jobs - #4201

Merged
squid-protocol merged 2 commits into
mainfrom
fix/det-survey-classpath-race
Oct 3, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
fix/det-survey-classpath-race

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Fixes #4172.

  • Classpath: javac's classpath is now the generated estate's compile classpath, from Maven's dependency:build-classpath. It runs offline, and fetches the plugin once if it's absent. It used to be every jar under ~/.m2, so another project's javac plugins there (Error Prone 2.50, SemanticDB, built for a newer Java) crashed javac.
  • No race: work directories are keyed by the program's path in its corpus, not its file name. Same-named members, such as zopeneditor's SAM1, no longer race under --jobs.

Re-run on #4166's six corpora with --jobs 4 and no wrapper: 123 programs, 17,224 statements, 16,844 translated (97.8%), 86 compile. Identical to #4166's numbers, which were produced with a jar-dropping wrapper and --jobs 1.

Tests: test_det_survey.py (work-key uniqueness; the classpath comes from the estate file). ruff_audit --ci clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RZE6us7fUL6Hynk59rWLvZ

squid-protocol and others added 2 commits October 3, 2026 04:09
…irs keyed by program path

#4172. javac's classpath came from every jar under ~/.m2, so another project's
javac plugins there (Error Prone 2.50, SemanticDB, built for a newer Java)
crashed javac and every port read 'does not compile'. It is now the estate's
compile classpath from Maven (maven-dependency-plugin build-classpath, offline,
fetching the plugin once if absent). Work directories are keyed by the
program's path in its corpus, so same-named members (zopeneditor's SAM1) no
longer race under --jobs.

Re-run on #4166's six corpora with --jobs 4 and no wrapper: 123 programs,
17,224 statements, 16,844 translated (97.8%), 86 compile -- identical to #4166.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RZE6us7fUL6Hynk59rWLvZ
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 0e67e6f into main Oct 3, 2026
29 checks passed
@squid-protocol
squid-protocol deleted the fix/det-survey-classpath-race branch October 3, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

det_survey.py: javac classpath takes every ~/.m2 jar; --jobs races on same-named programs

1 participant