Repository navigation
Package the Langflow component as an LFX extension - #943
Merged
Merged
Conversation
The native loader needs an installed manifest and entry point. Build the wheel from the existing component source and check wheel, sdist and loader discovery in hosted CI. Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Cover intact and corrupted distributions without requiring the optional framework at module import. Signed-off-by: zlareb1 <[email protected]>
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.
Changelog category (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
The Langflow component can be installed as an LFX extension from its integration directory. The package supplies the extension manifest and discovery entry point.
Why
Loading a custom component file does not register an installed extension. Packaging the existing component lets the native loader discover it. The wheel contains the canonical component source without another implementation.
Scope and risk
The integration has its own packaging metadata and declared framework dependency. The core SDK and server dependencies do not change. Native wheel and source-distribution checks cover manifest inclusion, source equality and extension discovery. The component's three actions retain their SDK behavior.
Compatibility, rollout and rollback
Tests
ruff checkandruff format --checkpass for the smoke script and its archive tests.AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated: Codex prepared the packaging and checks. Independent source review and the current-target composition assessment have no findings or nits.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist