langflow/src
Edwin Jose 3b7b701813
test(cli): refactor test_components_path to use async thread and free port (#8748)
* Refactor test_components_path to run server in thread

The test now starts the CLI server in a separate thread on a free port, allowing asynchronous startup and avoiding port conflicts. This change improves test reliability and better simulates real server behavior.

* Update src/backend/tests/unit/test_cli.py

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Improve error handling in run_flow CLI test helper

The run_flow function now raises a RuntimeError with a detailed message if the CLI invocation fails, making test failures easier to diagnose.

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-26 19:04:27 +00:00
..
backend test(cli): refactor test_components_path to use async thread and free port (#8748) 2025-06-26 19:04:27 +00:00
frontend fix: make not filled required fields be validated before sending to the backend (#8711) 2025-06-26 16:39:31 +00:00