Skip to content

bundle/generate: read recorded state from DMS for in-place generate - #6588

Draft
shreyas-goenka wants to merge 3 commits into
mainfrom
isaac/dms-generate-recorded-state
Draft

bundle/generate: read recorded state from DMS for in-place generate#6588
shreyas-goenka wants to merge 3 commits into
mainfrom
isaac/dms-generate-recorded-state

Conversation

@shreyas-goenka

Copy link
Copy Markdown
Contributor

In-place bundle generate --resource resolved deployed IDs from local state, which is only a tombstone under deployment-history recording. It now reads recorded resources from DMS via a shared OpenDirectStateForRead helper, so dashboard/genie-space generate work with recording on. Turns on the DMS acceptance variant for the three generate in-place tests.

This pull request and its description were written by Isaac.

shreyas-goenka and others added 2 commits September 9, 2026 15:04
The in-place `bundle generate --resource` flow resolved deployed resource
IDs from local state, which is only a tombstone when deployment-history
recording is on. Read the recorded resources from the deployment metadata
service instead via a shared OpenDirectStateForRead helper, so dashboard and
genie-space generate work under recording. Enables the DMS acceptance
variant for the three generate in-place tests.

Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: f6a18a9

Run: 34409608313

Env 🔄​flaky 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux 1 279 17 4:59
💚​ aws windows 1 281 15 4:35
💚​ azure linux 1 278 17 5:49
💚​ azure windows 1 280 15 5:04
🔄​ gcp linux 4 1 275 17 7:47
💚​ gcp windows 1 281 15 5:06
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🔄​ TestAccept/bundle/resources/dashboards/generate_inplace/DATABRICKS_BUNDLE_ENGINE=direct/DMS= ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🔄​ TestAccept/bundle/resources/dashboards/generate_inplace/DATABRICKS_BUNDLE_ENGINE=direct/DMS=true ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🔄​ TestAccept/bundle/resources/dashboards/generate_inplace/DATABRICKS_BUNDLE_ENGINE=terraform/DMS= ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🔄​ TestDashboardAssumptions_WorkspaceImport ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
Top 5 slowest tests (at least 2 minutes):
duration env testname
4:20 gcp windows TestAccept
3:55 aws windows TestAccept
3:52 azure windows TestAccept
2:14 azure linux TestAccept
2:08 aws linux TestAccept

Co-authored-by: Isaac <no-reply@databricks.com>
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