Skip to content

docs(semantic-layer): define SDK surface and release policy - #45906

Draft
mikebridge wants to merge 2 commits into
apache:masterfrom
mikebridge:sc-126724-sdk-surface-policy
Draft

mikebridge wants to merge 2 commits into
apache:masterfrom
mikebridge:sc-126724-sdk-surface-policy

Conversation

@mikebridge

Copy link
Copy Markdown
Contributor

SUMMARY

TL;DR: Define which apache-superset-core imports semantic providers and host extensions can rely on, and how package versions and deprecations will be communicated before the next release.

Background: The Python core package mixes provider contracts and host-bound persistence interfaces. Its dependency guide described the whole package as stable without naming the supported imports, and its package changelog did not record releases.

Problem: Extension authors could treat incidental module names as supported API. The current package changelog also gave no guidance for upcoming contract changes and deprecations.

Changes: Document the provider-facing import paths and symbols separately from host-extension models and DAOs; state that the host supplies REQUEST and BACKGROUND origins while explicit MCP, async and export binders are deferred; identify the reserved credentials channel and CONFIG origin; state the pre-1.0 version and deprecation policy; add an unreleased 0.2.0 package changelog entry and point pyproject.toml to that changelog. The installed package version stays at 0.1.0 until the coordinated core-package release bump. This PR changes documentation and package metadata only. Runtime export declarations follow after the provider boundary work lands.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Not applicable; no UI change.

TESTING INSTRUCTIONS

Review the apache-superset-core version and changelog URL in superset-core/pyproject.toml, then check the unreleased package changelog entry and the extension dependency guide. Confirm that the listed provider symbols exist in their named modules and that the origin wording matches the host's request/background inference. Changed-file pre-commit and metadata/symbol checks passed locally.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

The 0.2.0 changelog entry is marked unreleased; this PR does not publish a distribution or change runtime imports.

@github-actions github-actions Bot added the doc Namespace | Anything related to documentation label Oct 30, 2026
@netlify

netlify Bot commented Oct 30, 2026

Copy link
Copy Markdown

✅ Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit f6717c6
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6ae4f6598b1902c329d243f4
😎 Deploy Preview https://deploy-preview-45906--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.75%. Comparing base (9e4292e) to head (f6717c6).
⚠️ Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #45906      +/-   ##
==========================================
+ Coverage   84.73%   84.75%   +0.02%     
==========================================
  Files        3069     3074       +5     
  Lines      205771   206418     +647     
  Branches    48396    48399       +3     
==========================================
+ Hits       174354   174946     +592     
- Misses      28123    28178      +55     
  Partials     3294     3294              
Flag Coverage Δ
hive 34.50% <ø> (-0.01%) ⬇️
mysql 52.60% <ø> (-0.01%) ⬇️
postgres 52.60% <ø> (-0.01%) ⬇️
presto 36.23% <ø> (-0.01%) ⬇️
python 87.76% <ø> (+<0.01%) ⬆️
sqlite 52.37% <ø> (-0.01%) ⬇️
superset-extensions-cli 91.24% <ø> (?)
unit 82.52% <ø> (+<0.01%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 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.

This branch has not been deployed

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

Labels

doc Namespace | Anything related to documentation size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant