langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
35.41k stars 4.22k forks source link

fix: assign orphaned flows to superuser if auto-login is enabled #4715

Closed italojohnny closed 5 days ago

italojohnny commented 5 days ago

Refactor function to assign orphaned flows to superuser when auto_login is enabled, improving clarity by replacing 'migrate' terminology. Also adds the suffix (orphaned) to flow names to prevent integrity errors in the flow table

codspeed-hq[bot] commented 5 days ago

CodSpeed Performance Report

Merging #4715 will improve performances by 34.76%

Comparing fix/assign-orphaned-flows (0897af3) with main (f1c0075)

Summary

⚡ 2 improvements ✅ 13 untouched benchmarks

Benchmarks breakdown

Benchmark main fix/assign-orphaned-flows Change
test_successful_run_with_input_type_any 297.8 ms 221 ms +34.76%
test_successful_run_with_input_type_text 218 ms 164.9 ms +32.24%