Skip to content

Bump databricks-sdk-go from v0.171.0 to v0.175.0 - #6322

Open
shreyas-goenka wants to merge 3 commits into
mainfrom
bump-sdk-0.175.0
Open

Bump databricks-sdk-go from v0.171.0 to v0.175.0#6322
shreyas-goenka wants to merge 3 commits into
mainfrom
bump-sdk-0.175.0

Conversation

@shreyas-goenka

@shreyas-goenka shreyas-goenka commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

This SDK bump also inlined GitSource and SourceCodePath into the apps spec so the DABs override is removed in this PR.

DABs still does not fully manage the lifecycle for these fields. The change is purely structural.

Bump the pinned SDK and OpenAPI spec SHA, and regenerate all downstream
artifacts. Breaking changes handled:

- jobs.JobCluster.NewCluster became *compute.ClusterSpec (v0.172): nil-guard
  the job-cluster fixups and update the affected test fixtures.
- pipelines.GetPipelineResponse gained EffectiveServerlessComputeId: add it to
  PipelineRemote so TestPipelineRemote's coverage check passes.
- apps.App absorbed source_code_path, git_source, and default_git_source
  (v0.175), duplicating the json tags DABs already declared on resources.App,
  AppState, and AppRemote. Two fields at one path broke app diffing (phantom
  source_code_path drift plus an "unexpected local and remote diffs" warning),
  so drop the DABs copies and use the embedded ones. The bundle key
  source_code_path is unchanged for users, and appRequestBody keeps these
  deploy-only fields out of app create/update bodies as before. Remote-side
  suppression now comes from the spec (input_only/output_only) via
  resources.generated.yml.

Co-authored-by: Isaac
Co-authored-by: Isaac
The v0.175 spec no longer annotates serving telemetry_config.table_names as input_only, so resources.generated.yml stopped emitting the rule and the field became permanent drift: the backend consumes table_names to provision a profile and never returns it, so bundle plan never converged for a model serving endpoint with telemetry_config. Restore the hand-written rule that the v0.171 spec had made redundant.

Co-authored-by: Isaac
@shreyas-goenka
shreyas-goenka marked this pull request as ready for review August 19, 2026 16:06
@github-actions

Copy link
Copy Markdown
Contributor

Approval status: pending

/acceptance/bundle/ - needs approval

Files: acceptance/bundle/refschema/out.fields.txt
Suggested: @pietern
Also eligible: @janniklasrose, @andrewnester, @denik, @anton-107, @lennartkats-db

/bundle/ - needs approval

21 files changed
Suggested: @pietern
Also eligible: @janniklasrose, @andrewnester, @denik, @anton-107, @lennartkats-db

/cmd/workspace/apps/ - needs approval

Files: cmd/workspace/apps/apps.go
Suggested: @pkosiec
Also eligible: @MarioCadenas, @fjakobs, @Shridhad, @atilafassina, @keugenek, @igrekun, @pffigueiredo, @ditadi, @calvarjorge

General files (require maintainer)

33 files changed
Based on git history:

  • @pietern -- recent work in python/databricks/bundles/pipelines/_models/, bundle/direct/dresources/, bundle/internal/validation/generated/

Any maintainer (@andrewnester, @anton-107, @denik, @pietern, @simonfaltum, @renaudhartert-db, @janniklasrose, @lennartkats-db, @rugpanov, @rclarey) can approve all areas.
See OWNERS for ownership rules.

@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 9927802

Run: 32267536631

Env 🟨​KNOWN 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 4 286 1161 10:44
💚​ aws windows 4 4 288 1159 7:40
💚​ azure linux 4 4 285 1161 7:58
💚​ azure windows 4 4 287 1159 8:16
🟨​ gcp linux 1 1 4 286 1161 12:32
🟨​ gcp windows 1 1 4 288 1159 10:57
8 interesting tests: 4 SKIP, 3 RECOVERED, 1 KNOWN
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🟨​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 🟨​K 🟨​K
💚​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R
Top 10 slowest tests (at least 2 minutes):
duration env testname
7:36 aws windows TestAccept
7:33 azure windows TestAccept
7:19 gcp windows TestAccept
4:28 gcp windows TestFilerWorkspaceFilesExtensionsReadDir
4:10 aws linux TestAccept
3:56 gcp linux TestAccept
3:43 azure linux TestAccept
3:22 gcp windows TestFilerRecursiveDelete/workspace_files
2:27 gcp windows TestImportDirWithOverwriteFlag
2:16 gcp windows TestFilerWorkspaceFilesExtensionsDelete

@shreyas-goenka
shreyas-goenka requested review from andrewnester, denik and pietern and removed request for andrewnester and pietern August 20, 2026 08:52
// appRequestBody returns config.App with the deploy-only fields cleared. source_code_path
// and git_source became part of apps.App in SDK v0.175, but DABs applies them through the
// Deploy API (see manageLifecycle), so they must not ride along in create/update bodies.
func appRequestBody(config *AppState) apps.App {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can fix this as a followup. For now i want to keep this PR a no-op.

@denik denik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andrewnester could you also review apps part?


// appRequestBody returns config.App with the deploy-only fields cleared. source_code_path
// and git_source became part of apps.App in SDK v0.175, but DABs applies them through the
// Deploy API (see manageLifecycle), so they must not ride along in create/update bodies.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does Deploy API also supports these or did they remove it there?

is the plan to use create API for these fields in the future?

app := config.App
app.SourceCodePath = ""
app.GitSource = nil
return app

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this makes a copy, right? can you explicitly mention it here?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants