Skip to content

Package the Langflow component as an LFX extension - #943

Merged
zlareb1 merged 3 commits into
mainfrom
feat/langflow-extension-package
Nov 19, 2026
Merged

zlareb1 merged 3 commits into
mainfrom
feat/langflow-extension-package

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

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

  • Wire: no operations, fields or defaults change.
  • Operator steps: install the integration into the Langflow environment and restart Langflow. A reachable Loom deployment and its normal credentials are still required.
  • Rollback: uninstall the extension package. No rows, schema changes or migrations are introduced.

Tests

  • ruff check and ruff format --check pass for the smoke script and its archive tests.
  • Prettier checks pass for the workflow and README; prose and whitespace checks pass.
  • AST, TOML, JSON and YAML parsing, workflow shell syntax, pinned action references, metadata versions and canonical component/license equality pass.
  • Hosted Python 3.11 and 3.12 checks build the wheel and source distribution, rebuild the source distribution outside the checkout, install the declared dependencies, compare component and SDK bytes, and pass native LFX 1.13.3 discovery and class loading.
  • Hosted unit checks pass the eight archive regressions, including missing or changed source, metadata and license.
  • Local wheel builds, dependency installation and native execution were not run. The bounded local archive-test attempt was refused before execution; hosted unit results supply that evidence. All required hosted checks must pass before merge. No live flow or registry publication is claimed.

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

  • Required hosted checks pass. Local validation is limited to small checks related to this change.
  • Generated wire, schema and coding-agent plugin files are not changed.
  • No migration, server operation, setting or coding-agent plugin behavior changes.
  • Documentation distinguishes source installation from a published package and live application qualification.
  • Commits are signed off.

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]>
Cover intact and corrupted distributions without requiring the optional framework at module import.

Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 merged commit 8981fe8 into main Nov 19, 2026
54 checks passed
@zlareb1 zlareb1 mentioned this pull request Nov 19, 2026
6 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant