rojo/.cursor
Joe d9fa62c88e Add server-side and test-side port retry mechanisms to handle race conditions
- Introduced a new plan to address port-in-use race conditions in both server and test environments.
- Implemented a retry mechanism with exponential backoff for binding to known ports in `LiveServer::start()`.
- Added a `respawn_with_new_port()` method in `TestServeSession` to handle transient port conflicts during tests.
- Modified `wait_to_come_online()` to retry with a new port if the server process exits due to `AddrInUse`.
- Updated `fresh_rebuild_read()` to include port retry logic, enhancing robustness against port conflicts.

These changes aim to improve the reliability of server and test interactions by mitigating race conditions related to port usage.
2026-02-19 01:34:53 -06:00
..
commands Update audit documentation and rules for live syncback enhancements 2026-02-19 00:22:49 -06:00
logs Add .gitignore for logs and skip directory WRITE events on Windows 2026-02-14 18:23:11 -06:00
plans Add server-side and test-side port retry mechanisms to handle race conditions 2026-02-19 01:34:53 -06:00
prompts Add support for Ambiguous Path Handling 2026-02-17 01:45:12 -06:00
rules Update audit documentation and rules for live syncback enhancements 2026-02-19 00:22:49 -06:00