docs(design): RFC — multi-platform extensions (Fabric + Databricks)#328
Draft
padak wants to merge 1 commit into
Draft
docs(design): RFC — multi-platform extensions (Fabric + Databricks)#328padak wants to merge 1 commit into
padak wants to merge 1 commit into
Conversation
Proposal for adding Microsoft Fabric and Databricks to kbagent as toggleable, read-first extensions exposed through the existing 'serve' HTTP API. Recommends an in-process PlatformProvider adapter selected by a connection 'kind' discriminator, with optional pip extras and lazy imports, and a unified normalized model (connections/pipelines/runs) aligned to the OpenLineage vocabulary. Includes a 5-Whys analysis, six candidate approaches with KISS/YAGNI verdicts, a devil's-advocate review, a concrete code-level design grounded in the current architecture, and a phased plan. Accepted direction: read-only v1, Databricks first.
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.
What
A design RFC (doc-only, no code) for making
kbagenta single interface to Keboola + Microsoft Fabric + Databricks, with the non-Keboola platforms shipping as toggleable, read-first extensions exposed through the existingkbagent serveHTTP API.File:
docs/design/multi-platform-extensions.md.Why
Two named use cases drive it: a cross-platform pipeline view and a cross-platform failed-job view ("all errors in one place"), scriptable through one HTTP API (e.g.
kbagent http get "/runs?status=error").What's inside
connectionsdiscriminated union; aPlatformProviderProtocol; a parallel aggregator; one normalizedserverouter set; pip extras + lazy imports; OpenLineage as the vocabulary.Recommendation (accepted)
PlatformProvideradapter +kinddiscriminator + pip extras.Next step
Review the RFC. On approval, implement Phase 0 (the platform-agnostic seam, Keboola-only) before any vendor code.