codeflash/docs
misrasaurabh1 3f95ff604a feat: eliminate codeflash.toml — auto-detect Java config from build files
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>
2026-03-19 19:11:06 -07:00
..
codeflash-concepts update docs and sidebar index 2026-03-05 01:59:56 +05:30
configuration feat: eliminate codeflash.toml — auto-detect Java config from build files 2026-03-19 19:11:06 -07:00
editor-plugins/vscode clean up docs 2026-01-26 19:09:33 -08:00
getting-started feat: eliminate codeflash.toml — auto-detect Java config from build files 2026-03-19 19:11:06 -07:00
images docs: enhance VSCode extension documentation with new images and configuration steps 2026-01-20 13:31:45 +02:00
optimizing-with-codeflash add some initial java docs 2026-03-19 00:44:29 -07:00
support-for-jit reordering sections 2026-01-26 17:33:58 -08:00
configuration.mdx chore: sync docs, rules, and workflows from main 2026-03-02 22:48:28 -05:00
crisp.js add docs website js scripts 2025-10-24 15:21:07 -07:00
docs.json add some initial java docs 2026-03-19 00:44:29 -07:00
favicon.ico docs 2025-07-30 19:50:51 -07:00
FRICTIONLESS_SETUP_PLAN.md chore: sync docs, rules, and workflows from main 2026-03-02 22:48:28 -05:00
getting-the-best-out-of-codeflash.mdx Revamp and polish the docs more 2025-08-19 22:00:00 -07:00
index.mdx update docs and sidebar index 2026-03-05 01:59:56 +05:30
install.md doc_changes_init 2026-01-20 04:20:02 +05:30
java-support-architecture.md e2e working java 2026-01-30 10:52:45 -08:00
JS_PROMPT_PARITY_RECOMMENDATIONS.md chore: sync docs, rules, and workflows from main 2026-03-02 22:48:28 -05:00