Skip to content

feat(integrations): add persistent connection API - #14921

Open
erichare wants to merge 1 commit into
fix/int-3-extension-integrationsfrom
fix/int-4-connection-api
Open

feat(integrations): add persistent connection API#14921
erichare wants to merge 1 commit into
fix/int-3-extension-integrationsfrom
fix/int-4-connection-api

Conversation

@erichare

@erichare erichare commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

  • persist user- and instance-owned connection metadata separately from Fernet-encrypted credential envelopes
  • add owner- and share-aware connection lifecycle routes with scope and non-interactive execution enforcement
  • publish connection requirements in deployment artifacts, extend authorization coverage, and document the API and storage model

Validation

  • 66 passed, 1 skipped across the connection API, deployment artifacts, secret scrubbing, authorization matrix, and migration coverage; the PostgreSQL migration case is skipped without a configured local database
  • focused mypy: 8 source files passed
  • ruff and all pre-commit hooks passed

Stack

@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • release-.*

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: 2bba5fa0-eb7a-470a-80c9-6180d8e62923

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the enhancement New feature or request label Sep 3, 2026
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Migration Validation Passed

All migrations follow the Expand-Contract pattern correctly.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

✅ Test Coverage Advisor

No source changes detected without accompanying tests. Thanks for keeping coverage up! 🎉

Advisory check only — never blocks merge.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Build successful! ✅
Deploying docs draft.
Deploy successful! View draft

@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 73.47741% with 135 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.84%. Comparing base (70f7e0c) to head (2e3225b).

Files with missing lines Patch % Lines
...ckend/base/langflow/services/connection/service.py 55.80% 99 Missing ⚠️
src/backend/base/langflow/api/v1/connections.py 74.54% 14 Missing ⚠️
.../langflow/services/deployment_artifacts/builder.py 82.08% 12 Missing ⚠️
...low/services/database/models/connection/schemas.py 90.80% 8 Missing ⚠️
...ckend/base/langflow/services/connection/factory.py 90.90% 1 Missing ⚠️
src/backend/base/langflow/utils/flow_secrets.py 90.90% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                         Coverage Diff                          @@
##           fix/int-3-extension-integrations   #14921      +/-   ##
====================================================================
- Coverage                             66.50%   65.84%   -0.67%     
====================================================================
  Files                                  2516     2523       +7     
  Lines                                262413   263021     +608     
  Branches                              36879    36940      +61     
====================================================================
- Hits                                 174516   173174    -1342     
- Misses                                85673    87623    +1950     
  Partials                               2224     2224              
Flag Coverage Δ
backend 73.44% <73.42%> (-0.54%) ⬇️
frontend 63.63% <ø> (-0.93%) ⬇️
lfx 65.11% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/backend/base/langflow/api/router.py 100.00% <100.00%> (ø)
src/backend/base/langflow/api/v1/authz_shares.py 91.60% <100.00%> (+0.09%) ⬆️
...ckend/base/langflow/api/v1/schemas/authz_shares.py 100.00% <ø> (ø)
...nd/base/langflow/services/authorization/actions.py 100.00% <100.00%> (ø)
...end/base/langflow/services/authorization/guards.py 95.81% <100.00%> (+1.10%) ⬆️
...ase/langflow/services/authorization/permissions.py 100.00% <ø> (ø)
...gflow/services/database/models/connection/model.py 100.00% <100.00%> (ø)
src/backend/base/langflow/services/deps.py 94.69% <100.00%> (-3.48%) ⬇️
src/backend/base/langflow/services/factory.py 85.50% <100.00%> (ø)
src/backend/base/langflow/services/utils.py 87.40% <100.00%> (-0.63%) ⬇️
... and 7 more

... and 304 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Frontend Unit Test Coverage Report

Coverage Summary

Lines Statements Branches Functions
Coverage: 55%
55.65% (84754/152292) 72.46% (12551/17319) 50.95% (2000/3925)

Unit Test Results

Tests Skipped Failures Errors Time
6641 0 💤 0 ❌ 0 🔥 25m 3s ⏱️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant