This is an automated email from the ASF dual-hosted git repository.
hughhhh pushed a change to branch pfm-7-engine-capability-gate
in repository https://gitbox.apache.org/repos/asf/superset.git
from 33f787a9d96 Merge branch 'hughhhh/pfm-6-explore-indicator' into
pfm-7-engine-capability-gate
add d4370cd46eb chore(deps): bump the rjsf group in /superset-frontend
with 3 updates (#44593)
add 0ad50dc77e7 chore(deps-dev): bump jsdom from 30.0.1 to 30.1.0 in
/superset-frontend (#44596)
add b4cc82b7662 chore(deps-dev): bump jsdom from 30.0.1 to 30.1.0 in
/superset-embedded-sdk (#44592)
add 687dcbc63eb chore(deps): bump swagger-ui-react from 5.32.15 to 5.33.0
in /docs (#44594)
add ad7fcac11f9 fix(export): stamp ZIP entries with the export time
(#44391)
add 92a3b7d7e33 chore(deps): bump google-auth-library from 11.0.2 to
11.1.0 in /superset-frontend (#44599)
add 45d76f6abaf chore(deps): bump react-draggable from 4.7.1 to 4.7.2 in
/superset-frontend (#44597)
add 2ac6e2468d5 chore(deps-dev): bump webpack-bundle-analyzer from 5.3.3
to 5.4.0 in /superset-frontend (#44598)
add 613033b294b chore(build): replace external file-related deps with
native Node modules (#42939)
add 25cb6fc02d2 chore(deps): bump the ag-grid group in /superset-frontend
with 2 updates (#44595)
add 732248e4755 fix(logging): record dashboard_id and slice_id for REST
mutation endpoints (#44553)
add 9ad6917600d chore(cypress): remove dead dashboard drill-to-detail
Cypress suite (#44537)
add f5d663c480d fix(versioning): narrow nullable uuid/description reads
flagged by mypy in versioning tests (#44424)
add e357014559b fix(dashboard): initialize label colors before mounting
charts (#44557)
add e04d38a85f2 fix(mypy): resolve the dataset-scope and datasource-perm
errors from the full-repo lint (#44610)
add 1c7d1f049bc fix(utils): return None from cast_to_num for non-decimal
digit strings (#44615)
add defcd639107 fix(mongodb): route dataset FROM clauses through
quote_table so chart queries return rows (#44583)
add f5487f04a36 fix(db_engine_specs): raise
SupersetGenericDBErrorException instead of bare-reraising JSONDecodeError
(#44616)
add 855ca2228cb fix(query_context): raise 422 not 500 on malformed Jinja
in Query datasource access check (#44011)
add 7b716b1838c fix(versioning): clean up history actions and refresh
after saves (#44613)
add 96d31ee3e35 docs(mcp): document deleted_state trash listing for
list_charts/list_dashboards (#44128)
add 599026a0e5a feat(standalone): granular Explore standalone modes and
iframe-safe dashboard fullscreen (#44165)
add 3bd6e103c14 fix(security): apply global guest RLS rules inside adhoc
sub-queries (#44645)
add 1e08d61204f fix(mcp): preserve deduplicated chart tool input schemas
(#44575)
add 02cb1f1a28a fix(table): resolve auto-detected currency on time
comparison columns (#44649)
add 83731ce7b3a test(reports): freeze the clock in the stale retry
boundary test (#44651)
add a9342fa02ab chore(deps-dev): bump oxlint-tsgolint from 7.0.2001 to
7.0.2002 in /superset-websocket (#44634)
add d65e9fba9c4 chore(deps-dev): bump oxlint-tsgolint from 7.0.2001 to
7.0.2002 in /docs (#44635)
add d1f903c66ff chore(deps): bump github/codeql-action/analyze from 4.38.0
to 4.38.1 (#44636)
add a44ab4d9281 chore(deps-dev): bump baseline-browser-mapping from
2.11.24 to 2.11.25 in /superset-frontend (#44641)
add 5085570fb48 chore(deps): bump
apache/infrastructure-actions/allowlist-check from 1.0.3 to 1.0.4 (#44637)
add 5be35992c56 chore(deps): bump github/codeql-action/upload-sarif from
4.38.0 to 4.38.1 (#44640)
add 0034601c062 chore(deps): bump github/codeql-action/init from 4.38.0 to
4.38.1 (#44639)
add 5e8bbc0eb4a chore(deps): bump baseline-browser-mapping from 2.11.24 to
2.11.25 in /docs (#44638)
add 241d1210152 chore(deps): bump image-size from 2.0.2 to 2.0.4 in /docs
in the security group across 1 directory (#44619)
add be0631858c9 chore(deps): bump mapbox-gl from 3.30.0 to 3.31.0 in
/superset-frontend (#44643)
add 4bce27f12f4 fix(dashboard): shrink row height on chart resize and
unblock resize handles above columns (#44359)
add 928907128c4 Merge remote-tracking branch 'origin/master' into
hughhhh/pfm-1-model-migration-api
add ea00aa46ef5 Merge branch 'hughhhh/pfm-1-model-migration-api' into
hughhhh/pfm-2-query-rewrite
add 6e03d09ddfc Merge branch 'hughhhh/pfm-2-query-rewrite' into
hughhhh/pfm-3-preview-and-editor
add 286d5600270 Merge branch 'hughhhh/pfm-3-preview-and-editor' into
hughhhh/pfm-5-editor-ui
add 8cbd1d26f4c Merge branch 'hughhhh/pfm-5-editor-ui' into
hughhhh/pfm-6-explore-indicator
add 8cf7351ec96 Merge branch 'hughhhh/pfm-6-explore-indicator' into
pfm-7-engine-capability-gate
No new revisions were added by this update.
Summary of changes:
.github/workflows/asf-allowlist-check.yml | 2 +-
.github/workflows/codeql-analysis.yml | 4 +-
.github/workflows/docker.yml | 2 +-
UPDATING.md | 13 +
docs/admin_docs/configuration/mcp-server.mdx | 25 +-
docs/developer_docs/contributing/howtos.md | 2 +-
docs/docs/using-superset/version-history.mdx | 7 +
docs/package.json | 6 +-
docs/yarn.lock | 772 ++++++++++-----------
pyproject.toml | 11 +
superset-embedded-sdk/package-lock.json | 84 +--
superset-embedded-sdk/package.json | 2 +-
.../cypress/e2e/dashboard/drilltodetail.test.ts | 614 ----------------
.../e2e/dashboard/shared_dashboard_functions.ts | 201 ------
.../cypress-base/cypress/e2e/dashboard/utils.ts | 559 ---------------
.../cypress-base/cypress/e2e/explore/chart.test.js | 2 +-
.../cypress-base/cypress/e2e/explore/utils.ts | 4 +-
.../cypress-base/cypress/support/directories.ts | 678 ------------------
.../cypress-base/cypress/utils/urls.ts | 2 -
superset-frontend/package-lock.json | 240 +++----
superset-frontend/package.json | 25 +-
.../packages/generator-superset/package.json | 1 -
.../generator-superset/test/plugin-chart.test.ts | 6 +-
.../packages/superset-ui-core/package.json | 6 +-
.../superset-ui-core/src/currency-format/utils.ts | 22 +
.../test/currency-format/utils.test.ts | 33 +
.../dashboard/dashboard-drill-to-detail.spec.ts | 3 -
.../src/transformProps.ts | 44 +-
.../test/transformProps.test.ts | 45 ++
.../src/components/Echart.test.tsx | 3 +-
.../plugin-chart-echarts/src/components/Echart.tsx | 5 +-
.../plugin-chart-point-cluster-map/package.json | 2 +-
.../plugin-chart-table/src/transformProps.ts | 44 +-
.../plugin-chart-table/test/TableChart.test.tsx | 32 +
superset-frontend/scripts/build.js | 21 +-
superset-frontend/scripts/copyAssets.js | 56 --
.../actions/chartCustomizationActions.test.ts | 20 +-
.../dashboard/actions/chartCustomizationActions.ts | 4 +-
.../src/dashboard/actions/dashboardInfo.ts | 6 +
.../DashboardBuilder/DashboardContainer.test.tsx | 145 +++-
.../DashboardBuilder/DashboardContainer.tsx | 12 +-
.../dashboard/components/Header/Header.test.tsx | 41 +-
.../Header/useHeaderActionsDropdownMenu.tsx | 10 +-
.../PropertiesModal/PropertiesModal.test.tsx | 6 +
.../dashboard/components/PropertiesModal/index.tsx | 6 +-
.../components/gridComponents/Row/Row.test.tsx | 43 +-
.../components/gridComponents/Row/Row.tsx | 124 ++--
.../src/dashboard/components/menu/HoverMenu.tsx | 4 +-
.../components/resizable/ResizableContainer.tsx | 3 +-
superset-frontend/src/dashboard/constants.ts | 6 +
.../src/dashboard/reducers/dashboardInfo.ts | 10 +
.../src/dashboard/reducers/dashboardState.ts | 2 +
.../ExploreChartPanel/ExploreChartPanel.test.tsx | 11 +-
.../explore/components/ExploreChartPanel/index.tsx | 5 +-
.../ExploreViewContainer.test.tsx | 77 +-
.../components/ExploreViewContainer/index.tsx | 28 +-
.../explore/components/PropertiesModal/index.tsx | 4 +
superset-frontend/src/explore/constants.ts | 6 +
.../src/explore/exploreUtils/exploreUtils.test.tsx | 25 +
.../src/explore/exploreUtils/index.ts | 8 +-
.../src/explore/reducers/exploreReducer.ts | 2 +-
.../src/explore/reducers/saveModalReducer.ts | 15 +-
superset-frontend/src/explore/types.ts | 5 +-
.../src/features/versionHistory/ActionRow.tsx | 110 +--
.../DashboardVersionHistory.test.tsx | 89 ++-
.../versionHistory/DashboardVersionHistory.tsx | 46 +-
.../versionHistory/ExploreVersionHistory.test.tsx | 344 ++++++++-
.../versionHistory/ExploreVersionHistory.tsx | 53 +-
.../features/versionHistory/SaveGroupItem.test.tsx | 92 ++-
.../src/features/versionHistory/SaveGroupItem.tsx | 5 -
.../versionHistory/VersionHistoryPanel.test.tsx | 3 +-
superset-frontend/src/utils/urlUtils.test.ts | 23 +
superset-websocket/package-lock.json | 56 +-
superset-websocket/package.json | 2 +-
superset/charts/api.py | 18 +-
superset/cli/importexport.py | 8 +-
superset/common/query_context_processor.py | 7 +-
superset/connectors/sqla/models.py | 14 +-
superset/dashboards/api.py | 15 +-
superset/databases/api.py | 6 +-
superset/datasets/api.py | 6 +-
superset/db_engine_specs/base.py | 15 +-
superset/db_engine_specs/mongodb.py | 9 +
superset/importexport/api.py | 9 +-
superset/mcp_service/chart/schemas.py | 8 +-
superset/mcp_service/dashboard/schemas.py | 8 +-
superset/mcp_service/dataset_scope.py | 6 +-
superset/mcp_service/mcp_config.py | 21 +-
superset/mcp_service/server.py | 131 +---
superset/models/helpers.py | 2 +
superset/queries/saved_queries/api.py | 7 +-
superset/themes/api.py | 7 +-
superset/utils/core.py | 29 +-
superset/utils/log.py | 101 ++-
superset/utils/rls.py | 28 +-
superset/utils/screenshots.py | 9 +-
superset/utils/webdriver.py | 8 +-
tests/integration_tests/base_tests.py | 14 +-
tests/integration_tests/charts/api_tests.py | 11 +
tests/integration_tests/dashboards/api_tests.py | 27 +-
.../dashboards/soft_delete_tests.py | 7 +
.../versioning/activity_write_after_read_tests.py | 5 +-
.../versioning/conditional_token_lock_tests.py | 16 +-
.../versioning/creation_row_tests.py | 35 +-
.../versioning/restore_fails_closed_tests.py | 23 +-
.../charts/semantic_view_chart_filter_test.py | 9 +-
.../commands/report/execution_claim_test.py | 5 +-
.../common/test_query_context_processor.py | 28 +
tests/unit_tests/connectors/sqla/models_test.py | 68 ++
tests/unit_tests/db_engine_specs/test_base.py | 33 +-
tests/unit_tests/db_engine_specs/test_mongodb.py | 36 +
.../mcp_service/dataset/tool/test_dataset_tools.py | 4 +-
.../mcp_service/test_chart_tool_inventory.py | 189 +++++
.../unit_tests/mcp_service/test_tool_inventory.py | 157 +++++
.../mcp_service/test_tool_search_transform.py | 347 ++-------
.../models/test_virtual_dataset_format.py | 28 +
tests/unit_tests/security/guest_rls_test.py | 153 +++-
tests/unit_tests/sql_lab_test.py | 4 +-
tests/unit_tests/utils/create_zip_tests.py | 84 +++
tests/unit_tests/utils/log_tests.py | 150 +++-
tests/unit_tests/utils/screenshot_test.py | 57 ++
tests/unit_tests/utils/test_core.py | 19 +
122 files changed, 3392 insertions(+), 3618 deletions(-)
delete mode 100644
superset-frontend/cypress-base/cypress/e2e/dashboard/drilltodetail.test.ts
delete mode 100644
superset-frontend/cypress-base/cypress/e2e/dashboard/shared_dashboard_functions.ts
delete mode 100644
superset-frontend/cypress-base/cypress/e2e/dashboard/utils.ts
delete mode 100644
superset-frontend/cypress-base/cypress/support/directories.ts
delete mode 100644 superset-frontend/scripts/copyAssets.js
create mode 100644 tests/unit_tests/mcp_service/test_chart_tool_inventory.py
create mode 100644 tests/unit_tests/mcp_service/test_tool_inventory.py
create mode 100644 tests/unit_tests/utils/create_zip_tests.py