You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/10/22 04:44:21 UTC

(superset) branch fix/issue-29697-saved-query-datasource-name updated (21d7c9fe1e7 -> 3a4b717f498)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a change to branch fix/issue-29697-saved-query-datasource-name
in repository https://gitbox.apache.org/repos/asf/superset.git


    omit 21d7c9fe1e7 fix(charts): require saved-query ownership for chart datasource, skip perm sync without dependent charts
    omit c14bd6d048a fix(charts): resync saved-query chart perms on database rename, re-parent migration, cover catalog_perm
    omit b6ab06470f3 fix(charts): detach dependent charts when a saved query is deleted
    omit 6387a46ab14 fix(charts): resolve saved query datasource name in chart listings and test db move perm sync
    omit e670fd88953 fix(charts): address saved_query perm review findings (schema catalog default, stale perm on update, update-path test coverage)
    omit c46bfdf8efc fix(charts): expose type on SavedQuery for guest RLS check
    omit 217e6d99304 fix(charts): re-parent saved_query datasource migration onto current head
    omit 9dd93c2560d fix(migrations): preserve saved_query slices across the datasource constraint downgrade
    omit 7f217ea06e6 fix(charts): use a real DatasourceType in the saved_query 422 regression test
    omit c358b1673e0 fix(charts): allow saved_query as a persisted chart datasource type
    omit 91571927164 test(charts): drop stale saved_query rejection cases from CRUD tests
    omit 451490e693b fix(charts): accept saved_query as a valid chart datasource type
    omit c847b081ad3 fix(charts): build SavedQuery.schema_perm via get_schema_perm
    omit cfb0b29b3a7 fix(charts): reject saved queries with no database as chart datasources
    omit 0753e267f7a fix(charts): make SavedQuery a working chart datasource, not just past the first AttributeError
    omit e223bb00f77 fix(charts): expose SavedQuery.name so chart create/update handle saved_query datasources
     add 7d0e1c939ee fix(frontend): retry a failed lazy import before surfacing ChunkLoadError (#43215)
     add abc1b50f65d fix(mcp): clean up nits from PNG chart preview review (#45509)
     add b6ef0bf48d8 chore(tags): stop auto-generating type:/editor:/favorited_by: tags (#43471)
     add cb04282f501 chore(deps): bump swagger-ui-react from 5.33.1 to 5.33.2 in /docs (#45567)
     add f1d8161777c chore(deps): bump chromaui/action from 18.12.1 to 18.12.2 (#45564)
     add f9aec7515b4 chore(deps): bump actions/setup-java from 6.0.1 to 6.1.0 in the gh-actions group (#45563)
     add 75be8f981a6 feat(improvements): let deployments withhold assets from list queries and commands (#45451)
     add f9a0d8af493 chore(deps-dev): bump oxlint from 1.87.0 to 1.88.0 in /docs (#45566)
     add fa8a035fcf6 fix(mcp): stop rejecting titles that contain "data:" in prose (#45485)
     add e8824351f19 fix(mcp): isolate dashboard copies and clarify chart evidence (#45504)
     add cdc9430597c fix(db_engine_specs): patch oceanbase_py's dialect for SQLAlchemy 2.0 (#45507)
     add 00688c7871b chore(deps-dev): update pinotdb requirement from <10.0.0,>=8.0.0 to >=9.2.2,<10.0.0 (#45414)
     add 73737afbfbb chore(deps): bump pyarrow from 25.0.1 to 26.0.0 (#45412)
     add 067d536e216 chore(deps-dev): bump fastmcp from 3.4.7 to 4.1.0 (#45415)
     add b7bfbd365e6 chore(deps-dev): bump oxfmt in /docs (#45565)
     add 2b1046959d2 chore: bump pillow, certifi and geopy pins, tidy two small code nits (#45578)
     add 54aaf3ad7d7 fix(mcp): surface missing query_context warning in get_chart_data result (#45250)
     add fdb22260e25 fix(number-format): make the adaptive formatters follow D3_FORMAT (#45241)
     add c3279f01921 ci: skip jobs that cannot complete on forks and private mirrors (#45035)
     add 385844237e6 fix(explore): preserve zero thresholds in contour controls (#44966)
     add 3de22376c5c fix(dashboards): update last modified timestamp when adding chart to dashboard (#44305) (#44358)
     add 77ebc0e55f3 fix(chart): keep dataset_uuid in exports when the dataset is deleted (#44347)
     add 452dea81f23 chore(deps-dev): bump @playwright/test from 1.62.1 to 1.64.0 in /superset-frontend (#45371)
     add bc83e3e6fdb fix(mcp): propose a matching value when a dashboard filter value is rejected (#45547)
     add b129d6a4c12 fix(semantic-layer): narrow Filter|OrFilter unions in test helpers for mypy (#45268)
     add ff214bdfb14 fix(sqllab): clip multi-line result values to their row (#45487)
     add 62d22e0697c fix(semantic-layer): type the E2E stub filters for the full filter union (#45419)
     add 5eaad449f5c fix(import): return 422 instead of 500 for unsafe ZIP import bundles (#45440)
     add 676af61b1c9 fix(jinja): keep filters with 0 or false values in get_filters and fi… (#45437)
     add 47358be13c1 fix(import): return 422 instead of 500 for non-UTF-8 members in import bundles (#45424)
     add b4f8ca407a3 chore(deps-dev): bump vite from 8.3.1 to 8.3.5 in /superset-websocket in the security group across 1 directory (#45590)
     add 7ff7f9048bf fix(semantic-layer): handle absent fetch-values predicate (#45539)
     add 9ce458594fe fix(connection): encode next in the unauthorized login redirect (#45477)
     add 2304d1b80f2 fix(datasets): re-check statement count after query mutation (#45453)
     add 4bfd874c4cb fix(postprocessing): handle Decimal comparisons with zero baselines (#45467)
     add 4e5d0ef8f13 fix(models): keep NULL rows in NOT IN filters without a NULL value (#45305)
     add a0ebed9ff1a docs(auth): add Keycloak PKCE, logout and group-mapping example (#38092)
     add b3471a1369c fix(a11y): WCAG 1.4.1 — add non-color visual cues to status indicators (#39233)
     add 3a4b717f498 fix(charts): support saved_query datasource in chart create/update

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (21d7c9fe1e7)
            \
             N -- N -- N   refs/heads/fix/issue-29697-saved-query-datasource-name (3a4b717f498)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .github/workflows/chromatic.yml                    |   2 +-
 .github/workflows/codeql-analysis.yml              |  19 +-
 .github/workflows/docker.yml                       |  25 +-
 .github/workflows/frontend-bundle-size-nightly.yml |   3 +
 .github/workflows/generate-FOSSA-report.yml        |   2 +-
 .github/workflows/github-action-validator.yml      |  14 +
 .github/workflows/license-check.yml                |   2 +-
 .github/workflows/python-nightly-canary.yml        |   3 +
 .../scripts/check-code-scanning-available.sh       |  64 +++
 .../scripts/check-code-scanning-available.test.sh  | 118 +++++
 .github/workflows/showtime-cleanup.yml             |   3 +
 .github/workflows/superset-docs-deploy.yml         |   2 +-
 .github/workflows/superset-docs-verify.yml         |   5 +
 .github/workflows/superset-frontend.yml            |   3 +
 .github/workflows/superset-translations.yml        |   9 +-
 .github/workflows/testcontainers.yml               |   7 +-
 UPDATING.md                                        |  71 ++-
 .../configuration/configuring-superset.mdx         |   2 +
 docs/admin_docs/configuration/mcp-server.mdx       |  77 ++-
 docs/admin_docs/security/oauth.mdx                 | 318 ++++++++++++
 docs/admin_docs/security/security.mdx              |  63 +++
 docs/developer_docs/extensions/semantic-filters.md |   4 +
 docs/docs/using-superset/exploring-data.mdx        |   8 +
 docs/package.json                                  |   6 +-
 docs/yarn.lock                                     | 486 ++++++++---------
 pyproject.toml                                     |   8 +-
 requirements/base.in                               |   2 +-
 requirements/base.txt                              |  10 +-
 requirements/development.txt                       |  48 +-
 superset-frontend/package-lock.json                | 370 +++++++------
 superset-frontend/package.json                     |   6 +-
 .../src/connection/SupersetClientClass.ts          |   4 +-
 .../src/number-format/NumberFormatterRegistry.ts   |  28 +-
 .../factories/createSmartNumberFormatter.ts        |  56 +-
 .../test/connection/SupersetClientClass.test.ts    |   5 +-
 .../number-format/NumberFormatterRegistry.test.ts  |  18 +
 .../factories/createSmartNumberFormatter.test.ts   |  14 +
 .../playwright/helpers/api/assertions.ts           |  16 +-
 .../playwright/tests/chart/chart-list.spec.ts      |   4 +-
 .../tests/dashboard/dashboard-list.spec.ts         |   4 +-
 .../playwright/tests/dataset/dataset-list.spec.ts  |   4 +-
 .../src/layers/Contour/Contour.test.ts             |  56 ++
 .../src/layers/Contour/Contour.tsx                 |   2 +-
 .../components/Chart/ChartErrorMessage.test.tsx    |   2 +-
 .../src/components/Chart/ChartErrorMessage.tsx     |   3 +-
 .../components/ErrorMessage/ErrorAlert.test.tsx    |  41 ++
 .../src/components/GridTable/GridTable.test.tsx    |  21 +
 .../src/components/GridTable/index.tsx             |  10 +-
 .../DashboardBuilder/DashboardBuilder.tsx          |   6 +-
 .../src/dashboard/containers/DashboardPage.tsx     |   5 +-
 superset-frontend/src/embedded/index.tsx           |   5 +-
 .../components/ExploreViewContainer/index.tsx      |   6 +-
 .../ColorSchemeControl/ColorSchemeLabel.test.tsx   |  14 +
 .../ColorSchemeControl/ColorSchemeLabel.tsx        |   3 +
 .../ContourControl/ContourControl.test.tsx         | 128 +++++
 .../controls/ContourControl/ContourOption.tsx      |   8 +-
 .../ContourControl/ContourPopoverControl.tsx       |  17 +-
 .../alerts/components/AlertStatusIcon.test.tsx     |  14 +
 .../features/alerts/components/AlertStatusIcon.tsx |   1 +
 superset-frontend/src/utils/lazyWithRetry.test.tsx | 140 +++++
 superset-frontend/src/utils/lazyWithRetry.ts       | 135 +++++
 superset-frontend/src/views/routes.tsx             |  83 ++-
 superset-websocket/package-lock.json               | 486 ++++++++---------
 superset-websocket/package.json                    |   4 +-
 superset/app.py                                    |   8 +-
 superset/charts/filters.py                         |   8 +
 superset/cli/update.py                             |  17 -
 superset/commands/chart/create.py                  |   4 +
 superset/commands/chart/export.py                  |  34 +-
 superset/commands/chart/update.py                  |  19 +
 superset/commands/chart/utils.py                   |  38 ++
 superset/commands/dashboard/export.py              |  51 +-
 superset/commands/export/assets.py                 |  75 ++-
 superset/commands/export/models.py                 |  18 +-
 superset/commands/importers/v1/utils.py            |  24 +-
 superset/commands/report/base.py                   |  73 +++
 superset/common/tags.py                            | 496 ------------------
 superset/config.py                                 |  36 ++
 superset/connectors/sqla/utils.py                  |  49 +-
 superset/daos/dashboard.py                         |   7 +
 superset/dashboards/filters.py                     |   7 +
 superset/db_engine_specs/oceanbase.py              |  86 +++
 superset/jinja_context.py                          |   4 +-
 superset/mcp_service/app.py                        |   4 +-
 .../chart/prompts/create_chart_guided.py           |   4 +-
 .../mcp_service/chart/resources/chart_configs.py   |  14 +-
 superset/mcp_service/chart/schemas.py              |  91 +++-
 superset/mcp_service/chart/tool/get_chart_data.py  | 130 ++++-
 .../mcp_service/chart/tool/get_chart_preview.py    |  10 +-
 superset/mcp_service/dashboard/layout_placement.py |  21 +-
 superset/mcp_service/dashboard/schemas.py          | 139 +++--
 .../dashboard/tool/apply_dashboard_filters.py      |  34 +-
 .../dashboard/tool/duplicate_dashboard.py          |  14 +-
 .../dashboard/tool/get_dashboard_data.py           |  96 +++-
 superset/mcp_service/dashboard_scope_sql.py        |  18 +-
 superset/mcp_service/database/schemas.py           |   8 +-
 superset/mcp_service/dataset/schemas.py            |   9 +-
 .../dataset/tool/update_dataset_metric.py          |   2 +-
 superset/mcp_service/middleware.py                 |  29 +-
 superset/mcp_service/report/schemas.py             |   4 +
 superset/mcp_service/tag/tool/get_tag_info.py      |   6 +-
 superset/mcp_service/tag/tool/list_tags.py         |   6 +-
 superset/mcp_service/utils/response_size_utils.py  |   4 +
 superset/mcp_service/utils/sanitization.py         | 114 ++--
 superset/mcp_service/utils/schema_utils.py         |  19 +
 superset/mcp_service/utils/validation.py           |  89 +++-
 superset/models/core.py                            |   5 +-
 superset/models/helpers.py                         |  17 +-
 superset/reports/api.py                            |  15 +-
 superset/reports/filters.py                        |  37 ++
 superset/semantic_layers/models.py                 |   3 +
 superset/tags/core.py                              |  98 +---
 superset/tags/models.py                            | 271 +---------
 superset/translations/messages.pot                 |   3 +
 superset/utils/filters.py                          | 111 +++-
 superset/utils/pandas_postprocessing/compare.py    |  14 +-
 .../src/superset_e2e_semantic_stub/__init__.py     |  12 +-
 tests/integration_tests/charts/api_tests.py        |   8 +-
 tests/integration_tests/dashboards/api_tests.py    |  28 +-
 tests/integration_tests/tagging_tests.py           | 294 -----------
 tests/integration_tests/tags/dao_tests.py          |  94 +++-
 .../db_engine_specs/test_oceanbase.py              |  94 +---
 tests/unit_tests/charts/test_filters.py            | 110 ++++
 tests/unit_tests/commands/chart/create_test.py     | 252 ++++++++-
 tests/unit_tests/commands/chart/export_test.py     | 576 +++++++++++++++++++++
 tests/unit_tests/commands/chart/update_test.py     | 266 +++++++++-
 tests/unit_tests/commands/dashboard/export_test.py |   8 +-
 .../unit_tests/commands/importers/v1/utils_test.py |  92 +++-
 tests/unit_tests/commands/report/base_test.py      | 239 +++++++++
 tests/unit_tests/connectors/sqla/utils_test.py     |  26 +
 .../dao/test_copy_dashboard_legacy_ids.py          |  30 +-
 .../dashboards/semantic_view_access_test.py        | 141 ++++-
 tests/unit_tests/db_engine_specs/test_oceanbase.py | 228 ++++++++
 tests/unit_tests/importexport/api_test.py          |  69 ++-
 tests/unit_tests/jinja_context_test.py             |  74 +++
 .../mcp_service/chart/test_bullet_tool_paths.py    |   3 +
 .../mcp_service/chart/test_chart_examples.py       |  48 ++
 .../mcp_service/chart/test_chart_schemas.py        |  21 +
 .../mcp_service/chart/tool/test_get_chart_data.py  | 368 +++++++++++++
 .../chart/tool/test_get_chart_preview.py           |  40 ++
 .../common/test_list_scope_validation.py           | 105 ++++
 .../dashboard/test_dashboard_schemas.py            |  39 ++
 .../dashboard/tool/test_apply_dashboard_filters.py |  67 ++-
 .../dashboard/tool/test_duplicate_dashboard.py     |  86 ++-
 .../dashboard/tool/test_get_dashboard_data.py      | 507 ++++++++++++++++++
 .../dashboard/tool/test_list_dashboards.py         |  85 +++
 .../mcp_service/native_tool_inventory.json         |  90 ++--
 .../mcp_service/test_dashboard_scope_sql.py        |  51 ++
 tests/unit_tests/mcp_service/test_mcp_config.py    |   9 +
 .../mcp_service/test_mcp_tool_registration.py      |  23 +
 .../mcp_service/test_native_tool_surface.py        |  10 +-
 .../test_sanitization_warning_inputs.py            | 450 +++++++++++++++-
 .../unit_tests/mcp_service/test_tool_inventory.py  |  21 +-
 .../mcp_service/test_validation_contract.py        |  40 +-
 .../mcp_service/utils/test_sanitization.py         | 163 ++++++
 tests/unit_tests/models/helpers_test.py            | 171 ++++++
 .../pandas_postprocessing/test_compare.py          | 109 ++++
 tests/unit_tests/reports/filters_test.py           |  53 ++
 .../semantic_layers/cache_policy_test.py           |   3 +-
 .../semantic_layers/e2e_stub_extension_test.py     |  42 +-
 .../semantic_layers/import_export_test.py          |   6 +-
 .../semantic_layers/metric_filter_test.py          |  72 ++-
 tests/unit_tests/tags/race_test.py                 | 155 +-----
 tests/unit_tests/utils/filters_test.py             | 260 +++++++++-
 164 files changed, 8783 insertions(+), 2551 deletions(-)
 create mode 100755 .github/workflows/scripts/check-code-scanning-available.sh
 create mode 100755 .github/workflows/scripts/check-code-scanning-available.test.sh
 create mode 100644 docs/admin_docs/security/oauth.mdx
 create mode 100644 superset-frontend/plugins/preset-chart-deckgl/src/layers/Contour/Contour.test.ts
 create mode 100644 superset-frontend/src/explore/components/controls/ContourControl/ContourControl.test.tsx
 create mode 100644 superset-frontend/src/utils/lazyWithRetry.test.tsx
 create mode 100644 superset-frontend/src/utils/lazyWithRetry.ts
 delete mode 100644 superset/common/tags.py
 delete mode 100644 tests/integration_tests/tagging_tests.py
 create mode 100644 tests/unit_tests/commands/chart/export_test.py
 create mode 100644 tests/unit_tests/mcp_service/common/test_list_scope_validation.py
 create mode 100644 tests/unit_tests/mcp_service/dashboard/tool/test_list_dashboards.py