codeflash/packages
mohammedahmed18 7f954d1544 refactor: Leverage Python project root detection for jest-runner resolution
Instead of duplicating monorepo detection logic in JavaScript, leverage
the existing Python _find_node_project_root and add _find_monorepo_root
functions. Pass the detected monorepo root via CODEFLASH_MONOREPO_ROOT
environment variable to the loop-runner.

This approach:
- Reuses existing Python project detection logic
- Provides a reliable monorepo root hint to JavaScript
- Maintains fallback directory traversal for edge cases

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-03 14:26:41 +00:00
..
codeflash refactor: Leverage Python project root detection for jest-runner resolution 2026-02-03 14:26:41 +00:00