Skip to content

fix: keep Langflow retry env vars when saving TUI config#1119

Open
stablegenius49 wants to merge 1 commit intolangflow-ai:mainfrom
stablegenius49:pr-factory/issue-1014-preserve-langflow-retry-env
Open

fix: keep Langflow retry env vars when saving TUI config#1119
stablegenius49 wants to merge 1 commit intolangflow-ai:mainfrom
stablegenius49:pr-factory/issue-1014-preserve-langflow-retry-env

Conversation

@stablegenius49
Copy link

@stablegenius49 stablegenius49 commented Mar 12, 2026

Summary

  • add LANGFLOW_KEY_RETRIES and LANGFLOW_KEY_RETRY_DELAY to the TUI-managed env config
  • write both retry settings into the generated .env so editing config from the TUI does not drop them
  • add regression tests for default writing and round-tripping existing retry values

Testing

  • PYTHONPATH=src .venv/bin/python -m pytest --confcutdir=tests/unit tests/unit/test_env_manager.py -q -k 'langflow_retry or preserves_unmanaged_env_variables'

Closes #1014

@github-actions github-actions bot added community backend 🔷 Issues related to backend services (OpenSearch, Langflow, APIs) tests bug 🔴 Something isn't working. and removed bug 🔴 Something isn't working. labels Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend 🔷 Issues related to backend services (OpenSearch, Langflow, APIs) bug 🔴 Something isn't working. community tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Cannot register API key without certain ENVs

2 participants