Skip to content

Commit a3f9c84

Browse files
Merge branch 'main' into add-default-scala-template-defaults
2 parents 3530c41 + 0cd9bd4 commit a3f9c84

File tree

751 files changed

+15786
-28937
lines changed

Some content is hidden

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

751 files changed

+15786
-28937
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2f10a6ab001e2fa2552f6b25f7fbb4a08014a43f
1+
a7c320a6b531263c8fa45619c1565b63849750e5

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ cmd/workspace/current-user/current-user.go linguist-generated=true
7777
cmd/workspace/dashboard-email-subscriptions/dashboard-email-subscriptions.go linguist-generated=true
7878
cmd/workspace/dashboard-widgets/dashboard-widgets.go linguist-generated=true
7979
cmd/workspace/dashboards/dashboards.go linguist-generated=true
80+
cmd/workspace/data-classification/data-classification.go linguist-generated=true
8081
cmd/workspace/data-quality/data-quality.go linguist-generated=true
8182
cmd/workspace/data-sources/data-sources.go linguist-generated=true
8283
cmd/workspace/database/database.go linguist-generated=true
@@ -107,6 +108,7 @@ cmd/workspace/instance-pools/instance-pools.go linguist-generated=true
107108
cmd/workspace/instance-profiles/instance-profiles.go linguist-generated=true
108109
cmd/workspace/ip-access-lists/ip-access-lists.go linguist-generated=true
109110
cmd/workspace/jobs/jobs.go linguist-generated=true
111+
cmd/workspace/knowledge-assistants/knowledge-assistants.go linguist-generated=true
110112
cmd/workspace/lakeview-embedded/lakeview-embedded.go linguist-generated=true
111113
cmd/workspace/lakeview/lakeview.go linguist-generated=true
112114
cmd/workspace/libraries/libraries.go linguist-generated=true
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Changelog Guard
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- CHANGELOG.md
7+
8+
jobs:
9+
check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Block direct CHANGELOG.md edits
13+
if: "!contains(github.event.pull_request.labels.*.name, 'override-changelog-guard')"
14+
run: |-
15+
echo "::error::CHANGELOG.md should not be modified directly by PRs."
16+
echo "The release workflow manages CHANGELOG.md automatically from NEXT_CHANGELOG.md."
17+
echo "If this is intentional, add the 'override-changelog-guard' label to this PR."
18+
exit 1

.github/workflows/push.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,14 @@ jobs:
145145
- name: Analyze slow tests
146146
run: make slowest
147147

148+
- name: Check out.test.toml files are up to date
149+
shell: bash
150+
run: |
151+
if ! git diff --exit-code; then
152+
echo "ERROR: detected changed files in the repository; Most likely you have out.test.toml files that are out of date. Run 'make generate-out-test-toml' to update."
153+
exit 1
154+
fi
155+
148156
test-exp-aitools:
149157
needs:
150158
- cleanups
@@ -386,6 +394,19 @@ jobs:
386394
owner: ${{ secrets.ORG_NAME }}
387395
repositories: ${{ secrets.REPO_NAME }}
388396

397+
- name: Generate GitHub App Token (check runs)
398+
if: >-
399+
(github.event_name == 'merge_group') ||
400+
(github.event_name == 'pull_request' && !contains(fromJSON(needs.testmask.outputs.targets), 'test'))
401+
id: generate-check-token
402+
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
403+
with:
404+
app-id: ${{ secrets.DECO_TEST_APPROVAL_APP_ID }}
405+
private-key: ${{ secrets.DECO_TEST_APPROVAL_PRIVATE_KEY }}
406+
# DECO_TEST_APPROVAL is installed on the databricks org (not databricks-eng).
407+
owner: databricks
408+
repositories: cli
409+
389410
# Trigger integration tests if the primary "test" target is triggered by this change.
390411
- name: Trigger integration tests (pull request)
391412
if: ${{ github.event_name == 'pull_request' && (contains(fromJSON(needs.testmask.outputs.targets), 'test') || contains(fromJSON(needs.testmask.outputs.targets), 'test-exp-ssh')) }}
@@ -403,6 +424,7 @@ jobs:
403424
if: ${{ github.event_name == 'pull_request' && !contains(fromJSON(needs.testmask.outputs.targets), 'test') && !contains(fromJSON(needs.testmask.outputs.targets), 'test-exp-ssh') }}
404425
uses: actions/github-script@v8
405426
with:
427+
github-token: ${{ steps.generate-check-token.outputs.token }}
406428
script: |
407429
await github.rest.checks.create({
408430
owner: context.repo.owner,
@@ -423,6 +445,7 @@ jobs:
423445
if: ${{ github.event_name == 'merge_group' }}
424446
uses: actions/github-script@v8
425447
with:
448+
github-token: ${{ steps.generate-check-token.outputs.token }}
426449
script: |
427450
await github.rest.checks.create({
428451
owner: context.repo.owner,

.github/workflows/renovate.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: renovate
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * 1" # Weekly on Monday at 00:00 UTC
6+
workflow_dispatch:
7+
8+
jobs:
9+
renovate:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: renovatebot/github-action@0b17c4eb901eca44d018fb25744a50a74b2042df # v46.1.4
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tagging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
workflow_dispatch:
77
# No inputs are required for the manual dispatch.
88

9-
# Runs at 8:00 UTC on Tuesday, Wednesday, and Thursday. To enable automated
9+
# Runs at 8:00 UTC on Monday, Tuesday, Wednesday, and Thursday. To enable automated
1010
# tagging for a repository, simply add it to the if block of the tag job.
1111
schedule:
12-
- cron: '0 8 * * TUE,WED,THU'
12+
- cron: '0 8 * * MON,TUE,WED,THU'
1313

1414
# Ensure that only a single instance of the workflow is running at a time.
1515
concurrency:

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,8 @@ go.work.sum
5757

5858
# Fetched based on recorded hash
5959
.codegen/openapi.json
60+
61+
.claude/settings.local.json
62+
tools/gofumpt
63+
.claude/worktrees/
64+
.worktrees/

.golangci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ linters:
4444
msg: Use cmdio.IsPromptSupported(ctx) to check for a TTY.
4545
- pattern: 'os\.UserHomeDir'
4646
msg: Use env.UserHomeDir(ctx) from libs/env instead.
47+
- pattern: 'os\.Getenv'
48+
msg: Use env.Get(ctx) from the libs/env package instead of os.Getenv.
4749
analyze-types: true
4850
copyloopvar:
4951
check-alias: true
@@ -121,6 +123,10 @@ linters:
121123
- path: bundle/direct/dresources/.*_test.go
122124
linters:
123125
- exhaustruct
126+
- text: "Use env\\.Get"
127+
path: "_test\\.go$"
128+
linters:
129+
- forbidigo
124130
# TODO: remove these exceptions by moving the dependency out of experimental/.
125131
- path: cmd/apps/init.go
126132
linters:

.release_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"timestamp": "2026-03-05 14:36:28+0000"
2+
"timestamp": "2026-03-12 14:27:40+0000"
33
}

.wsignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ python/docs/images/databricks-logo.svg
1111
# Binary files
1212
**/*.zip
1313
**/*.whl
14-
**/*.png
1514

1615
# new lines are recorded differently on windows and unix.
1716
# In unix: "raw_body": "hello, world\n"

0 commit comments

Comments
 (0)