Commit graph

9 commits

Author SHA1 Message Date
HeshamHM28
f5777947c6 Merge remote-tracking branch 'origin/main' into cf-java-void-optimization 2026-04-09 08:15:53 +00:00
HeshamHM28
f42b58bb98 feat: implement bubble sort optimization and corresponding tests in Java 2026-04-03 14:55:09 +02:00
Mohamed Ashraf
325bb80a4f fix: update codeflash-runtime version in test fixture pom.xml files
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>
2026-04-01 23:13:37 +00:00
HeshamHM28
e7d07d073f Auto config 2026-03-26 06:38:33 +02:00
HeshamHM28
b7499583af fix pom.xml 2026-02-10 20:27:54 +02:00
Mohamed Ashraf
1b911c0dbf fix: handle numbered suffixes in Java instrumented test files
Some instrumented test files have numeric suffixes like _2, _3:
- FibonacciSeriesTest__perfinstrumented_2.java
- KnapsackTest__perfonlyinstrumented_3.java

Updated regex to match optional numeric suffix: (?:_\d+)?
Updated test to verify files with suffixes are detected.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-03 23:44:17 +00:00
Saurabh Misra
a00eb39cd2 feat: add Java end-to-end tests and CI workflow
Add comprehensive e2e tests for the Java optimization pipeline:
- Function discovery (BubbleSort, Calculator)
- Code context extraction
- Code replacement
- Test discovery (JUnit 5)
- Project detection (Maven)
- Compilation and test execution

Also add:
- GitHub Actions workflow for Java e2e tests (java-e2e-tests.yml)
- Maven pom.xml for the Java sample project
- .gitignore exception for pom.xml

The e2e tests verify the full Java pipeline works correctly,
from function discovery through code replacement.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 01:17:17 +00:00
HeshamHM28
cbb532fcfd add Java code to optimize with tests 2026-01-30 17:34:16 +02:00
misrasaurabh1
29f266ee63 wip java support 2026-01-30 00:37:24 -08:00