Avatar for the langflow-ai user
langflow-ai
langflow
BlogDocsChangelog

refactor: add graph utility tests and refactor sorting methods

#5538Merged
Comparing
refactor-sorting
(
30054a1
) with
main
(
249f000
)
CodSpeed Performance Gauge
-13%
Improvements
0
Regressions
1
Untouched
14
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

test_successful_run_with_input_type_textRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
CodSpeed Performance Gauge
-13%
218.6 ms
249.8 ms

Passed

test_get_and_cache_all_types_dict
src/backend/tests/performance/test_server_init.py::test_get_and_cache_all_types_dict
CodSpeed Performance Gauge
+3%
1.1 ms
1 ms
test_successful_run_with_input_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
CodSpeed Performance Gauge
+1%
265.9 ms
263.9 ms
test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
CodSpeed Performance Gauge
0%
416.5 ms
415.5 ms
test_load_flows
src/backend/tests/performance/test_server_init.py::test_load_flows
CodSpeed Performance Gauge
0%
1.1 ms
1 ms
test_setup_llm_caching
src/backend/tests/performance/test_server_init.py::test_setup_llm_caching
CodSpeed Performance Gauge
0%
962.4 µs
960.6 µs
test_create_starter_projects
src/backend/tests/performance/test_server_init.py::test_create_starter_projects
CodSpeed Performance Gauge
0%
970.2 ms
969.3 ms
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
CodSpeed Performance Gauge
0%
452.3 ms
452 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
CodSpeed Performance Gauge
0%
1 s
1 s
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
CodSpeed Performance Gauge
0%
159.2 ms
159.4 ms
test_invalid_run_with_input_type_chat
src/backend/tests/unit/test_endpoints.py::test_invalid_run_with_input_type_chat
CodSpeed Performance Gauge
0%
29.1 ms
29.1 ms
test_initialize_services
src/backend/tests/performance/test_server_init.py::test_initialize_services
CodSpeed Performance Gauge
0%
154.3 ms
154.9 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
CodSpeed Performance Gauge
0%
403.1 ms
404.6 ms
test_successful_run_with_output_type_debug
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
CodSpeed Performance Gauge
-1%
249.6 ms
251 ms
test_successful_run_with_output_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
CodSpeed Performance Gauge
-3%
4.1 s
4.3 s

Commits

Click on a commit to change the comparison range
Base
main
249f000
-13%
test(endpoints): update assertion in test_get_vertices for accurate ID validation - Modified the assertion in the `test_get_vertices` function to include an additional expected ID, "Webhook", alongside "ChatInput". - This change ensures the test accurately reflects the current output of the endpoint, enhancing the reliability of the test suite for endpoint functionality.
30054a1
6 months ago
by ogabrielluiz
© 2025 CodSpeed Technology
Home Terms Privacy Docs