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

fix: Simplify loop stopping condition to prevent off-by-one errors

#6696Merged
Comparing
cz/loop-interation
(
a9bbc28
) with
main
(
02617ff
)
CodSpeed Performance Gauge
-1%
Improvements
0
Regressions
0
Untouched
14
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_successful_run_with_input_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
CodSpeed Performance Gauge
+2%
146 ms
142.5 ms
test_build_flow_start_with_inputs
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_start_with_inputs
CodSpeed Performance Gauge
0%
235.8 ms
234.8 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
CodSpeed Performance Gauge
0%
1.2 s
1.1 s
test_successful_run_with_output_type_debug
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
CodSpeed Performance Gauge
0%
141.3 ms
140.9 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
0%
138.5 ms
138.2 ms
test_build_flow_invalid_flow_id
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_invalid_flow_id
CodSpeed Performance Gauge
0%
485.3 ms
484.8 ms
test_build_flow_polling
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_polling
CodSpeed Performance Gauge
0%
247 ms
246.8 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%
247.3 ms
247.4 ms
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
CodSpeed Performance Gauge
0%
609.9 ms
611.3 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
CodSpeed Performance Gauge
0%
234.3 ms
234.9 ms
test_successful_run_with_input_type_text
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
CodSpeed Performance Gauge
-1%
141.6 ms
143.6 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
-4%
16.8 ms
17.4 ms
test_build_flow_invalid_job_id
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_invalid_job_id
CodSpeed Performance Gauge
-5%
8.7 ms
9.1 ms
test_build_flow_start_only
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_start_only
CodSpeed Performance Gauge
-6%
232.9 ms
246.7 ms

Commits

Click on a commit to change the comparison range
Base
main
02617ff
+62%
[autofix.ci] apply automated fixes
0608988
4 months ago
by autofix-ci[bot]
-50%
Merge branch 'main' into cz/loop-interation
3b9ff9a
4 months ago
by Cristhianzl
-111%
Merge branch 'main' into cz/loop-interation
4418b86
4 months ago
by Cristhianzl
+72%
Merge branch 'main' into cz/loop-interation
96ca0ad
4 months ago
by ogabrielluiz
+68%
Merge branch 'cz/loop-interation' of https://github.com/langflow-ai/langflow into cz/loop-interation
06c176a
4 months ago
by Cristhianzl
-41%
Merge branch 'main' into cz/loop-interation
a9bbc28
4 months ago
by ogabrielluiz
© 2025 CodSpeed Technology
Home Terms Privacy Docs