Repository navigation
Fix 'bundle deployment bind' failing with immutable folders - #7329
Conversation
|
Commit: Regression test reportSelected 1 changed tests (limit=20, 0 not selected) 1 tests: regression=1 unreleased=0 coverage=0 failing=0
TestAccept/bundle/deployment/bind/job/immutable/DMS=: branch ✅ | main (4eeacdb) ❌ | latest (v1.26.0) ❌main (4eeacdb): latest (v1.26.0): same output as main (4eeacdb) |
✅ Integration test reportCommit: b50dfa0
Top 19 slowest tests (at least 2 minutes):
|
The preview changelog check rejects fragments without a trailing PR link, so the bundles fragment for this fix failed CI on PR #7329. Add the link after the period so the validator accepts the entry. Co-authored-by: Isaac <no-reply@databricks.com>
Merging main brings acceptance: always distinguish UUIDs in test output (#7021), which numbers repeated UUIDs. The job get line in the immutable bind test has two UUIDs, so its expected output now shows [UUID][0] and [UUID][1], matching the CI run. Co-authored-by: Isaac <no-reply@databricks.com>
| [[Repls]] | ||
| # Snapshot paths embed the bundle ID and the content hash, both sha256 hex digests. | ||
| Old = "[0-9a-f]{64}" | ||
| New = "[SNAPSHOT_HASH]" |
There was a problem hiding this comment.
is snapshot_hash unstable? if not, we can skip the replacement.
There was a problem hiding this comment.
Both digests change on every run, so the replacement has to stay. The first is the bundle ID, sha256(workspace.state_path), and the state path contains test-bundle-$UNIQUE_NAME; the second is the content hash of the snapshot zip, which includes the rendered databricks.yml with $UNIQUE_NAME and $SCHEMA_NAME substituted. Two consecutive local runs with the Repl removed gave 6bf0af6a…/b13825ad… and 08c3431d…/207fa6a4…. This matches bundle/deploy/immutable, dms/immutable-folder and resources/apps/immutable, which all mask the same pattern.
The two sha256 digests in the snapshot path differ on every run: the bundle ID hashes workspace.state_path and the content hash covers the rendered databricks.yml, and both contain $UNIQUE_NAME. Say so on the Repl so the replacement is not mistaken for a stable value. Co-authored-by: Isaac <no-reply@databricks.com>
❌ Integration test reportCommit: 4bb0730
107 interesting tests: 95 FAIL, 9 RECOVERED, 3 KNOWN
Top 50 slowest tests (at least 2 minutes):
|
Changes
Fix 'bundle deployment bind' failing with immutable folders
Why
Fixes #7306
Tests
Added acceptance tests