fix: lazy load settings service; fix env init order#10142
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-1.6.4 #10142 +/- ##
================================================
Coverage ? 35.84%
================================================
Files ? 1220
Lines ? 58229
Branches ? 5530
================================================
Hits ? 20873
Misses ? 37195
Partials ? 161
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
* Ensure settings services are lazy loaded; fixes settings init order * Remove dupe tests * remove useless test * [autofix.ci] apply automated fixes * Ruff * [autofix.ci] apply automated fixes * mypy * Fix test reference * ruff fixes * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * ruff + starter projects --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: lazy load settings service; fix env init order (#10142) * Ensure settings services are lazy loaded; fixes settings init order * Remove dupe tests * remove useless test * [autofix.ci] apply automated fixes * Ruff * [autofix.ci] apply automated fixes * mypy * Fix test reference * ruff fixes * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * ruff + starter projects --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * chore: update component index * fix import errors * [autofix.ci] apply automated fixes * chore: update component index * fix service manager imports in main * chore: update component index * fix lfx service manager * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * chore: update component index * chore: update component index * chore: update component index * chore: update component index * fix tests * [autofix.ci] apply automated fixes * chore: update component index * chore: update component index * chore: update component index * fix ruff errors * [autofix.ci] apply automated fixes * fix test_mcp_util * [autofix.ci] apply automated fixes * chore: update component index * chore: update component index * [autofix.ci] apply automated fixes * build component index --------- Co-authored-by: Jordan Frazier <122494242+jordanrfrazier@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
… (langflow-ai#10307) * fix: lazy load settings service; fix env init order (langflow-ai#10142) * Ensure settings services are lazy loaded; fixes settings init order * Remove dupe tests * remove useless test * [autofix.ci] apply automated fixes * Ruff * [autofix.ci] apply automated fixes * mypy * Fix test reference * ruff fixes * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * ruff + starter projects --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * chore: update component index * fix import errors * [autofix.ci] apply automated fixes * chore: update component index * fix service manager imports in main * chore: update component index * fix lfx service manager * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * chore: update component index * chore: update component index * chore: update component index * chore: update component index * fix tests * [autofix.ci] apply automated fixes * chore: update component index * chore: update component index * chore: update component index * fix ruff errors * [autofix.ci] apply automated fixes * fix test_mcp_util * [autofix.ci] apply automated fixes * chore: update component index * chore: update component index * [autofix.ci] apply automated fixes * build component index --------- Co-authored-by: Jordan Frazier <122494242+jordanrfrazier@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>



Enforces that the setting service is not initialized before the env file is loaded.
This ensures that we aren't loading the settings without picking up the correct environment variables, even if the user sets a custom env file path.