Repository navigation
Conversation
denik
added this pull request to stack #7131
October 20, 2026 14:15
This was referenced Oct 20, 2026
Contributor
|
Commit: Regression test reportSelected 15 changed tests (limit=20, 0 not selected) 28 tests: regression=28 unreleased=0 coverage=0 failing=0
TestAccept/bundle/lifecycle/depends-on-validation/DMS=: branch ✅ | main (4d88efe) ❌ | latest (v1.22.1) ❌main (4d88efe): latest (v1.22.1): same output as main (4d88efe) TestAccept/bundle/lifecycle/depends-on-validation/DMS=true: branch ✅ | main (4d88efe) ❌ | latest (v1.22.1) ❌main (4d88efe): latest (v1.22.1): same output as main (4d88efe) TestAccept/bundle/lifecycle/depends-on/DMS=: branch ✅ | main (4d88efe) ❌ | latest (v1.22.1) ❌main (4d88efe): latest (v1.22.1): TestAccept/bundle/lifecycle/depends-on/DMS=true: branch ✅ | main (4d88efe) ❌ | latest (v1.22.1) ❌main (4d88efe): latest (v1.22.1): TestAccept/bundle/migrate/auto/depends-on/DMS=: branch ✅ | main (4d88efe) ❌ | latest (v1.22.1) ❌main (4d88efe): latest (v1.22.1): same output as main (4d88efe) TestAccept/bundle/migrate/command/grants/DMS=: branch ✅ | main (4d88efe) ❌ | latest (v1.22.1) ❌main (4d88efe): latest (v1.22.1): TestAccept/bundle/refschema/DMS=: branch ✅ | main (4d88efe) ❌ | latest (v1.22.1) ❌main (4d88efe): latest (v1.22.1): 21 more failure details omitted, see the full report in the run. |
Collaborator
Integration test reportCommit: a0662b8
Top 10 slowest tests (at least 2 minutes):
|
denik
force-pushed
the
capture-uc-depends-on
branch
2 times, most recently
from
October 26, 2026 10:11
9b84e22 to
7092af3
Compare
Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
Dependents keep the literal schema name, and ApplyPresets prefixes it together with the schema instead of relying on an injected reference. Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
denik
force-pushed
the
capture-uc-depends-on
branch
from
October 26, 2026 11:01
7092af3 to
a0662b8
Compare
denik
added a commit
that referenced
this pull request
Oct 26, 2026
## Changes Add `lifecycle.depends_on`, a list of `- resource: <key>` entries (`foo` or `jobs.foo`) that orders a resource after the listed ones on deploy and before them on destroy. Edges are saved in state like reference-derived ones, including by `bundle migrate`. A target that is skipped from the plan is ignored. Uses `Resources.ResolveKey` from #7128. Used by #7132 to replace the references injected for implicit schema/catalog dependencies. ## Tests Acceptance tests for ordering, validation errors, and a config with `depends_on` migrating from Terraform. This pull request and its description were written by Isaac. --------- Co-authored-by: Isaac <no-reply@databricks.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
CaptureUCDependenciesno longer rewrites a literalschema_name/catalog_nameinto${resources.schemas.X.name}just to order a resource after the schema or catalog it names. It addslifecycle.depends_oninstead, so field values stay literal.The reference also carried the schema's final name, which presets change in development mode.
ApplyPresetsnow prefixes the schema name in the dependents too, using the same matching.Builds on #7120 (
lifecycle.depends_on).This pull request and its description were written by Isaac.