Skip to content

acc: merge identical terraform/direct request goldens into single files - #6249

Open
janniklasrose wants to merge 4 commits into
mainfrom
merge-engine-identical-fixtures
Open

acc: merge identical terraform/direct request goldens into single files#6249
janniklasrose wants to merge 4 commits into
mainfrom
merge-engine-identical-fixtures

Conversation

@janniklasrose

Copy link
Copy Markdown
Contributor

Changes

Follow-up to @denik's review feedback on #6246: where a test records per-engine golden files (out.X.terraform.* / out.X.direct.*) that are byte-identical — because the operation is engine-independent — merge each pair into a single engine-agnostic out.X.* file and drop the $DATABRICKS_BUNDLE_ENGINE suffix from the script's redirect.

21 pairs across 19 tests are merged. Scope was deliberately limited to files written by a dedicated redirect in the test's own script. Intentionally left per-engine:

  • Files from the shared bundle/resources/permissions/_script and the postgres_projects print_requests() helper — those same lines also emit genuinely per-engine-differing files, so the suffix must stay.
  • Files consumed by the Phase = 1 analyzers user_agent/verify.py and permissions/analyze_requests.py, which parse the engine from the filename (a file without .terraform./.direct. is skipped) — merging would silently drop them from the analysis.

Tests

Acceptance goldens regenerated via ./task test-update; full local TestAccept verify pass is green (the one flaky 60s timeout in permissions/pipelines/update, a test untouched here, passes when run alone). Cloud-only tests are verified by integration CI.

Stacked on #6247. Merge that (and #6246) first.

This pull request and its description were written by Isaac.

## Changes

Bump the pinned Databricks Terraform provider from v1.124.0 to v1.125.0.

Notable schema changes:
- The provider no longer issues a `GET /api/2.0/preview/scim/v2/Me` request during deploy/destroy/plan.

## Tests

Acceptance goldens regenerated via `./task test-update`.

Co-authored-by: Isaac
## Changes

Bump `github.com/databricks/databricks-sdk-go` from v0.166.0 to v0.169.0.

- `secrets-uc` graduated out of Public Preview (help text and bundle schema).
- Pipeline ingestion fanout options promoted from Private Preview to Beta.
- New output-only `resources.jobs.*.trigger_state.pause_status` field.

The SDK's breaking removals (iamv2 `InternalId`, catalog provider credential
fields) and the `bundledeployments` `State` type changes are not referenced by
the CLI, so no code changes were required.

## Tests

Acceptance goldens regenerated via `./task test-update`.

Co-authored-by: Isaac
Several acceptance tests recorded per-engine golden files
(out.X.terraform.* and out.X.direct.*) that are byte-identical because the
operation is engine-independent. Merge each such pair into a single
engine-agnostic out.X.* file and drop the $DATABRICKS_BUNDLE_ENGINE suffix
from the script's redirect.

Only files written by a dedicated redirect in the test's own script are
merged. Files produced by the shared permissions _script or the
postgres_projects print_requests helper (which also emit genuinely
per-engine-differing files), and files consumed by the Phase-1 user_agent
and permissions analyzers (verify.py / analyze_requests.py parse the engine
from the filename), are intentionally left per-engine.

Follow-up to review feedback on #6246.

Co-authored-by: Isaac
@github-actions

Copy link
Copy Markdown
Contributor

Waiting for approval

Based on git history, these people are best suited to review:

  • @denik -- recent work in acceptance/bundle/resources/dashboards/dataset-catalog-schema/, acceptance/bundle/telemetry/deploy-whl-artifacts/, acceptance/bundle/resources/dashboards/change-parent-path/

Eligible reviewers: @andrewnester, @anton-107, @lennartkats-db, @pietern, @shreyas-goenka

Suggestions based on git history. See OWNERS for ownership rules.

Base automatically changed from bump-sdk-0.169.0 to main August 12, 2026 11:47
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 60fb1c7

Run: 31596383647

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 4 313 1126 10:35
💚​ aws windows 4 4 315 1124 10:09
💚​ azure linux 4 4 306 1128 9:04
💚​ azure windows 4 4 308 1126 7:55
💚​ gcp linux 1 5 307 1128 7:56
💚​ gcp windows 1 5 309 1126 10:56
8 interesting tests: 4 RECOVERED, 4 SKIP
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 🙈​S 🙈​S
💚​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R
Top 24 slowest tests (at least 2 minutes):
duration env testname
4:13 gcp windows TestAccept/bundle/deployment/bind/pipelines/recreate/DATABRICKS_BUNDLE_ENGINE=terraform
3:11 azure windows TestAccept/bundle/resources/model_serving_endpoints/basic/DATABRICKS_BUNDLE_ENGINE=terraform
3:05 aws linux TestAccept/bundle/resources/dashboards/change-parent-path/DATABRICKS_BUNDLE_ENGINE=terraform
3:01 azure linux TestAccept/bundle/resources/grants/schemas/remove_principal/DATABRICKS_BUNDLE_ENGINE=direct
2:52 aws windows TestAccept/bundle/resources/dashboards/change-parent-path/DATABRICKS_BUNDLE_ENGINE=terraform
2:48 gcp windows TestAccept/bundle/resources/quality_monitors/create/DATABRICKS_BUNDLE_ENGINE=terraform
2:47 aws windows TestAccept/bundle/resources/grants/schemas/remove_principal/DATABRICKS_BUNDLE_ENGINE=terraform
2:42 gcp windows TestAccept/bundle/resources/grants/schemas/remove_principal/DATABRICKS_BUNDLE_ENGINE=terraform
2:37 gcp windows TestAccept/bundle/resources/dashboards/change-parent-path/DATABRICKS_BUNDLE_ENGINE=direct
2:37 azure windows TestAccept/bundle/resources/grants/schemas/remove_principal/DATABRICKS_BUNDLE_ENGINE=terraform
2:34 aws windows TestFilerWorkspaceFilesExtensionsReadDir
2:27 aws linux TestAccept/bundle/deployment/bind/pipelines/recreate/DATABRICKS_BUNDLE_ENGINE=terraform
2:27 gcp windows TestAccept/bundle/resources/grants/schemas/remove_principal/DATABRICKS_BUNDLE_ENGINE=direct
2:24 aws linux TestAccept/bundle/resources/grants/schemas/remove_principal/DATABRICKS_BUNDLE_ENGINE=terraform
2:21 azure linux TestAccept/bundle/deployment/bind/pipelines/recreate/DATABRICKS_BUNDLE_ENGINE=terraform
2:17 aws linux TestAccept/bundle/resources/dashboards/change-parent-path/DATABRICKS_BUNDLE_ENGINE=direct
2:15 azure windows TestAccept/bundle/resources/dashboards/change-parent-path/DATABRICKS_BUNDLE_ENGINE=terraform
2:13 gcp windows TestAccept/bundle/resources/grants/schemas/duplicate_privileges/DATABRICKS_BUNDLE_ENGINE=terraform
2:12 gcp linux TestAccept/bundle/resources/grants/schemas/remove_principal/DATABRICKS_BUNDLE_ENGINE=direct
2:07 aws windows TestAccept/bundle/resources/model_serving_endpoints/basic/DATABRICKS_BUNDLE_ENGINE=terraform
2:05 gcp linux TestAccept/bundle/resources/grants/schemas/remove_principal/DATABRICKS_BUNDLE_ENGINE=terraform
2:02 gcp windows TestAccept/bundle/resources/model_serving_endpoints/basic/DATABRICKS_BUNDLE_ENGINE=terraform
2:01 aws linux TestAccept/bundle/resources/model_serving_endpoints/basic/DATABRICKS_BUNDLE_ENGINE=terraform
2:00 gcp linux TestAccept/bundle/resources/dashboards/change-parent-path/DATABRICKS_BUNDLE_ENGINE=direct

@janniklasrose
janniklasrose requested a review from denik August 12, 2026 12:25
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.

2 participants