Avatar for the langflow-ai user
langflow-ai
langflow
BlogDocs

fix: Filter orphaned flows and extract constants to avoid circular imports

#4752Closed
Comparing
fix-orpahsn
(
472219c
) with
main
(
3e57340
)
-21%
Improvements
1
Regressions
2
Untouched
12
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
-15%
186 ms
218.5 ms
test_successful_run_with_output_type_anyRegression
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
-21%
194.6 ms
245.7 ms

Improved

test_create_starter_projects
src/backend/tests/performance/test_server_init.py::test_create_starter_projects
+22%
1.5 s
1.3 s

Passed

test_invalid_run_with_input_type_chat
src/backend/tests/unit/test_endpoints.py::test_invalid_run_with_input_type_chat
+2%
27.2 ms
26.8 ms
test_successful_run_with_input_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
0%
220.3 ms
219.6 ms
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
0%
526.8 ms
525.4 ms
test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
0%
386.7 ms
386.5 ms
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
0%
955.2 ms
954.7 ms
test_get_and_cache_all_types_dict
src/backend/tests/performance/test_server_init.py::test_get_and_cache_all_types_dict
0%
1.1 ms
1.1 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
0%
1.2 s
1.2 s
test_initialize_services
src/backend/tests/performance/test_server_init.py::test_initialize_services
0%
707.9 ms
708.7 ms
test_setup_llm_caching
src/backend/tests/performance/test_server_init.py::test_setup_llm_caching
0%
1.6 ms
1.6 ms
test_load_flows
src/backend/tests/performance/test_server_init.py::test_load_flows
0%
1.2 ms
1.2 ms
test_successful_run_with_output_type_debug
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
-1%
217.1 ms
218.2 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
-1%
396.1 ms
401.6 ms

Commits

Click on a commit to change the comparison range
Base
main
3e57340
-21%
Filter orphaned flows by excluding those in the starter folder
472219c
7 days ago
by ogabrielluiz
Home Terms PrivacyDocs