mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
## Summary - Use greedy code extraction and retry on syntax errors in testgen repair - Fix broken `asyncio.to_thread(log_features)` in Java optimizer — `log_features` is `@sync_to_async` so calling it via `to_thread` created an unawaited coroutine (`RuntimeWarning: coroutine 'SyncToAsync.__call__' was never awaited`) and silently skipped logging. Replaced with `await log_features(...)` using correct keyword arguments. ## Test plan - [ ] Verify testgen repair handles syntax errors with retry - [ ] Verify Java optimization requests no longer emit `SyncToAsync` RuntimeWarning - [ ] Verify Java optimization features are correctly logged to DB |
||
|---|---|---|
| .. | ||
| aiservice | ||
| .dockerignore | ||