feat: support enterprise agent flows with real components#11
Closed
cfchase wants to merge 4 commits into
Closed
Conversation
Infrastructure changes to support long-running LangFlow flows (5-30 min) with real redhat_agents components through the platform: - Add custom LangFlow image support in dev-langflow.sh (editable install, platform component mounts, gcloud credential mounts, Granite Guardian and Google Cloud env vars) - Forward host DNS servers to container for VPN-resolved hostnames - Increase chat timeouts for long-running flows (httpx read=1800s, OAuth proxy upstream=1800s) - Catch InvalidToken in token refresh to prevent 500 on encryption key mismatch - Decouple token injection from flow names: platform now injects all available OAuth tokens and lets flows take what they need, removing the hardcoded flow-to-services mapping
Custom LangFlow images now use the same PostgreSQL database and DATA_DIR conventions as stock images. Data mounted at /data/langflow instead of /app/langflow to avoid conflicting with the editable install. This ensures langflow-import can register MCP servers for both image types.
Custom agents-python image doesn't include psycopg (built for SQLite). Override entrypoint to install psycopg[binary] before starting LangFlow so custom images can use the shared PostgreSQL database.
psycopg is now baked into the custom image (agents-python Dockerfile). No need for entrypoint override at container start.
Owner
Author
|
Closing — all changes from this branch were already merged into main via direct push. Main has additional improvements on top (extra test coverage, warning logs, updated docs). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dev-langflow.sh) for realredhat_agentscomponents with editable install, platform component mounts, gcloud credentials, and Granite Guardian env varsInvalidTokencrash in token refresh when encryption key changesTest plan
🤖 Generated with Claude Code