mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
Java projects no longer need a standalone config file. Codeflash reads config from pom.xml <properties> or gradle.properties, and auto-detects source/test roots from build tool conventions. Changes: - Add parse_java_project_config() to read codeflash.* properties from pom.xml and gradle.properties - Add multi-module Maven scanning: parses each module's pom.xml for <sourceDirectory> and <testSourceDirectory>, picks module with most Java files as source root, identifies test modules by name - Route Java projects through build-file detection in config_parser.py before falling back to pyproject.toml - Detect Java language from pom.xml/build.gradle presence (no config needed) - Fix project_root for multi-module projects (was resolving to sub-module) - Fix JFR parser / separators (JVM uses com/example, normalized to com.example) - Fix graceful timeout (SIGTERM before SIGKILL for JFR dump + shutdown hooks) - Remove isRecording() check from TracingTransformer (was preventing class instrumentation for classes loaded during serialization) - Delete all codeflash.toml files from fixtures and code_to_optimize - Add 33 config detection tests - Update docs for zero-config Java setup Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| codeflash-concepts | ||
| configuration | ||
| editor-plugins/vscode | ||
| getting-started | ||
| images | ||
| optimizing-with-codeflash | ||
| support-for-jit | ||
| configuration.mdx | ||
| crisp.js | ||
| docs.json | ||
| favicon.ico | ||
| FRICTIONLESS_SETUP_PLAN.md | ||
| getting-the-best-out-of-codeflash.mdx | ||
| index.mdx | ||
| install.md | ||
| java-support-architecture.md | ||
| JS_PROMPT_PARITY_RECOMMENDATIONS.md | ||