Commit 66e8060
refactor: remove dev build fallback from runtime resolution chain
The dev build fallback (codeflash-java-runtime/target/) in
_ensure_codeflash_runtime() was dead code for production users
since that directory only exists in source checkouts. The resolution
chain is now:
1. ~/.m2 cache (instant)
2. Maven Central (primary)
3. GitHub Releases download (production fallback)
_find_runtime_jar() is kept for build_jacoco_agent_arg() and
generate_jacoco_report() which need to locate the JAR by path.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7f7ce7d commit 66e8060
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | 303 | | |
307 | 304 | | |
308 | 305 | | |
309 | | - | |
| 306 | + | |
310 | 307 | | |
311 | 308 | | |
312 | 309 | | |
| |||
0 commit comments