chore: bump codeflash-java-runtime to 1.0.1#1960
Conversation
Published 1.0.1 to Maven Central with latest runtime changes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Claude finished @mashraf-222's task in 2m 32s —— View job PR Review Summary
Prek ChecksAll clean — ruff check and format passed. Code ReviewNo binary JAR committed ✅ Logic change in Hardcoded JAR name in two places despite a centralized constant existing — minor
Duplicate DetectionNo duplicates detected. The version constant is intentionally split across Last updated: 2026-04-01T23:17Z |
Update CODEFLASH_RUNTIME_VERSION, hardcoded JAR names, m2 cache path, and bundled JAR so users resolve 1.0.1 from Maven Central. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
JAR is resolved from Maven Central at runtime. The bundled copy added 16MB of bloat and got stale between releases. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The reviewer asked to remove the bundled JAR file, not the code that looks for it. The fallback paths are still valid if a JAR is placed there manually or by future tooling. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ERSION Three places in maven_strategy.py had the version hardcoded instead of using the constant: the dependency snippet, the install-file command, and the system-scope replacement. This caused CI failures because the pom.xml dependency pointed to 1.0.0 while ~/.m2 had 1.0.1. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The tracer e2e fixture and code_to_optimize/java pom.xml files had hardcoded 1.0.0 dependency versions, causing compilation failures in CI when only 1.0.1 is installed to ~/.m2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Previously, if codeflash-runtime was already in a user's pom.xml (e.g. from a prior run with 1.0.0), the dependency was left as-is. After a CLI upgrade expecting 1.0.1, Maven would fail to resolve the old version. Now the dependency is always updated to match CODEFLASH_RUNTIME_VERSION, handling both version bumps and the legacy system-scope to test-scope migration in one pass. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
codeflash-java-runtimeversion from 1.0.0 to 1.0.1 inpom.xml🤖 Generated with Claude Code