Skip to content

Commit 58a3de9

Browse files
chore: sync upstream v0.61.2 (conflicts — resolve before merging)
2 parents 34703ec + 0c64e27 commit 58a3de9

85 files changed

Lines changed: 2642 additions & 34 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clj-kondo/config/modules/config.edn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,6 @@
12551255
settings
12561256
slackbot
12571257
sql-tools
1258-
store-api
12591258
sync
12601259
system
12611260
task

.github/CODEOWNERS

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ enterprise/backend/src/metabase_enterprise/dependencies @metabase/graphy
1212
enterprise/frontend/src/metabase-enterprise/dependencies @metabase/graphy
1313

1414
# @metabase/embedding
15-
enterprise/frontend/src/embedding-sdk-package @metabase/embedding
16-
enterprise/frontend/src/embedding-sdk-bundle @metabase/embedding
17-
enterprise/frontend/src/embedding-sdk-shared @metabase/embedding
18-
frontend/src/metabase/embedding-sdk @metabase/embedding
19-
frontend/src/metabase/public/containers/PublicOrEmbeddedQuestion @metabase/embedding
20-
frontend/src/metabase/public/containers/PublicOrEmbeddedDashboard @metabase/embedding
15+
# enterprise/frontend/src/embedding-sdk-package @metabase/embedding
16+
# enterprise/frontend/src/embedding-sdk-bundle @metabase/embedding
17+
# enterprise/frontend/src/embedding-sdk-shared @metabase/embedding
18+
# frontend/src/metabase/embedding-sdk @metabase/embedding
19+
# frontend/src/metabase/public/containers/PublicOrEmbeddedQuestion @metabase/embedding
20+
# frontend/src/metabase/public/containers/PublicOrEmbeddedDashboard @metabase/embedding
2121

2222
# @metabase/tech-writers
2323
docs @metabase/tech-writers

.github/workflows/backend.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ jobs:
5656
timeout-minutes: 15
5757
name: Eastwood (changed tests only)
5858
steps:
59+
<<<<<<< HEAD
5960
- uses: actions/checkout@v6
61+
=======
62+
- uses: actions/checkout@v4
63+
>>>>>>> v0.61.2
6064
with:
6165
# Enough history for `git merge-base` on a typical PR.
6266
fetch-depth: 200

.github/workflows/pre-release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,11 @@ jobs:
223223
CYPRESS_BROWSER: ${{ steps.cypress-prep.outputs.chrome-path }}
224224
run: |
225225
node e2e/runner/run_cypress_ci.js e2e \
226+
<<<<<<< HEAD
226227
$CYPRESS_GREP_FLAG grepTags="@prerelease+-@EE" \
228+
=======
229+
--expose grepTags="@prerelease+-@EE" \
230+
>>>>>>> v0.61.2
227231
--spec './e2e/test/scenarios/**/*.cy.spec.(js|ts)'
228232

229233
- name: Run a few important EE Cypress tests as sanity check
@@ -232,7 +236,11 @@ jobs:
232236
CYPRESS_BROWSER: ${{ steps.cypress-prep.outputs.chrome-path }}
233237
run: |
234238
node e2e/runner/run_cypress_ci.js e2e \
239+
<<<<<<< HEAD
235240
$CYPRESS_GREP_FLAG grepTags="@prerelease+-@OSS" \
241+
=======
242+
--expose grepTags="@prerelease+-@OSS" \
243+
>>>>>>> v0.61.2
236244
--spec './e2e/test/scenarios/**/*.cy.spec.(js|ts)'
237245

238246
- name: Upload Cypress Artifacts upon failure

.github/workflows/release-embedding-sdk.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ on:
88
description: "Branch we want to release the SDK from (to release from other branches use the workflow from those branches)"
99
type: choice
1010
required: true
11-
default: "master"
11+
default: release-x.61.x
1212
options:
13-
- master
13+
- release-x.61.x
1414

1515
concurrency:
1616
# We want to ensure only one job is running at a time per branch because
@@ -375,15 +375,6 @@ jobs:
375375
name: metabase-sdk
376376
path: sdk
377377

378-
- name: Compute master tag
379-
id: compute-tag
380-
run: |
381-
if [ -n "${{ needs.determine-sdk-version.outputs.pre_release_label }}" ]; then
382-
echo "masterTag=${{ needs.determine-sdk-version.outputs.pre_release_label }}" >> $GITHUB_OUTPUT
383-
else
384-
echo "masterTag=nightly" >> $GITHUB_OUTPUT
385-
fi
386-
387378
# Trusted publishing requires npm >= 11.5.1 and Node >= 22.14.0.
388379
# Node 22.x line bundles npm 10.x, so pin Node 24.x which ships npm 11.x.
389380
- name: Setup Node.js for npm publish with trusted publishing
@@ -395,15 +386,21 @@ jobs:
395386
- name: Publish to NPM
396387
working-directory: sdk
397388
run: |
398-
TAG="${{ steps.compute-tag.outputs.masterTag }}"
399-
echo "Resolved npm tag: $TAG"
400-
npm publish --tag "$TAG"
389+
npm publish --tag 61-stable
390+
401391
# ⚠️ This step should only be executed on the latest stable (gold) release branch.
402392
# Only uncomment this when the new release branch becomes stable (gold).
393+
<<<<<<< HEAD
403394
# - name: Add `latest` tag to the latest release branch (e.g. `release-x.61.x`) deployment
404395
# working-directory: sdk
405396
# run: |
406397
# npm dist-tag add @metabase/embedding-sdk-react@${{ env.sdk_version }} latest
398+
=======
399+
- name: Add `latest` tag to the latest release branch (`release-x.61.x`) deployment
400+
working-directory: sdk
401+
run: |
402+
npm dist-tag add @metabase/embedding-sdk-react@${{ env.sdk_version }} latest
403+
>>>>>>> v0.61.2
407404

408405
git-tag:
409406
needs: [publish-npm, determine-sdk-version]

.github/workflows/run-tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,11 @@ jobs:
133133
skip-custom-viz: ${{ needs.create-test-plan.outputs.custom_viz_all != 'true' }}
134134

135135
e2e-tests:
136+
<<<<<<< HEAD
136137
needs: [create-test-plan, uberjar]
138+
=======
139+
needs: [files-changed, uberjar]
140+
>>>>>>> v0.61.2
137141
# Skip e2e tests when the uberjar build failed or was cancelled — the
138142
# downstream tests can't fetch a missing artifact, and we don't want to
139143
# mask the uberjar failure with a wave of misleading e2e errors. We still
@@ -144,7 +148,11 @@ jobs:
144148
# branch protection blocks the merge as pending.
145149
if: |
146150
always() && !cancelled() &&
151+
<<<<<<< HEAD
147152
needs.create-test-plan.result == 'success' &&
153+
=======
154+
needs.files-changed.result == 'success' &&
155+
>>>>>>> v0.61.2
148156
needs.uberjar.result != 'failure' &&
149157
needs.uberjar.result != 'cancelled'
150158
uses: ./.github/workflows/e2e-tests.yml

bun.lock

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/ai/agent-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ _Admin > AI > MCP_
1313

1414
Admins enable the Agent API under **Admin > AI > MCP**.
1515

16+
Admins enable the Agent API under **Admin > AI > MCP**. See [Agent API settings](./settings.md#agent-api-settings).
17+
1618
## Agent API endpoints and reference
1719

1820
Check out the API endpoint docs: [/api/agent](../api.html#tag/apiagent).

docs/ai/mcp.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ The field accepts wildcards (`*`) for subdomains. Changes take effect in about a
4141

4242
## Connect an MCP client
4343

44+
<<<<<<< HEAD
4445
If your admin has turned on [your Metabase's MCP server](#enable-mcp-server), all you need to do is point your MCP client at Metabase's MCP endpoint, `/api/mcp`. For example:
46+
=======
47+
If your admin has turned on [your Metabase's MCP server](./settings.md#enable-mcp-server), all you need to do is point your MCP client at Metabase's MCP endpoint, `/api/mcp`. For example:
48+
>>>>>>> v0.61.2
4549
4650
```
4751
https://{your-metabase.example.com}/api/mcp
@@ -90,7 +94,11 @@ MCP server requests are handled by whatever AI client you're using (like a deskt
9094

9195
For example, if you ask your AI client to use your Metabase's MCP server "what's our q3 revenue," your client will interact with the MCP server to figure out which tools it needs to field your request. Your AI can decide that it needs to use the tool **construct_query** and **execute_query**, and what those queries might be. Then your client will call those tools for Metabase to run.
9296

97+
<<<<<<< HEAD
9398
You don't need to have an [AI provider](settings.md#choose-ai-provider) configured in Metabase to use your Metabase's MCP server. If you _do_ have an AI provider configured in Metabase to power Metabot, that provider will _not_ be used for MCP server requests. MCP calls by your local client have no effect on token usage for your Metabase's AI connection.
99+
=======
100+
You don't need to have an [AI provider](settings.md#supported-providers) configured in Metabase to use your Metabase's MCP server. If you _do_ have an AI provider configured in Metabase to power Metabot, that provider will _not_ be used for MCP server requests. MCP calls by your local client have no effect on token usage for your Metabase's AI connection.
101+
>>>>>>> v0.61.2
94102
95103
## Available tools
96104

docs/ai/overview.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
---
2+
<<<<<<< HEAD
23
title: AI in Metabase overview
34
summary: Overview of all the ways you can use AI with Metabase.
45
---
56

67
# AI in Metabase overview
8+
=======
9+
title: AI in Metabase
10+
summary: Overview of all the ways you can use AI with Metabase.
11+
---
12+
13+
# AI in Metabase
14+
>>>>>>> v0.61.2
715
816
AI in Metabase is optional. You can use Metabase without AI at all. But if you do want to use AI to interact with Metabase, we have you covered.
917

0 commit comments

Comments
 (0)