Skip to content

Make parent_id_fields imply provided_id_fields - #7938

Merged
denik merged 2 commits into
mainfrom
denik/parent-implies-provided
Nov 25, 2026
Merged

denik merged 2 commits into
mainfrom
denik/parent-implies-provided

Conversation

@denik

@denik denik commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Changes

Every field in parent_id_fields (#7718) was also listed in provided_id_fields. Parent ID fields now count as provided ID fields on their own, so the duplicate entries are gone from the schema, volume and registered model configs. The action-category exclusivity test now rejects a field listed in both.

A plan that recreates on a parent field now shows reason: parent instead of id_field. Secrets on main list catalog_name and schema_name only as parent ID fields, so these are now provided ID fields for secrets too: a local change still recreates, and a remote-only difference is skipped, as for volumes and models.

Comes before #7379 in the stack; it and #7381 rebase on this one.

Tests

  • TestResourcesYMLActionCategoriesExclusive includes parent_id_fields.
  • New TestProvidedIDRulesIncludeParentIDFields.

This pull request and its description were written by Isaac.

Every parent ID field was also listed as a provided ID field. Parent ID fields now count as provided ID fields (ProvidedIDRules), the duplicate entries are gone, and the action-category exclusivity test rejects listing a field in both.

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions github-actions Bot added the DABs DABs related issues label Nov 24, 2026
denik added a commit that referenced this pull request Nov 24, 2026
…elds imply them (#7938)

Co-authored-by: Isaac <no-reply@databricks.com>
@denik
denik added this pull request to stack #7939 November 24, 2026 17:13
Co-authored-by: Isaac <no-reply@databricks.com>
denik added a commit that referenced this pull request Nov 24, 2026
…elds imply them (#7938)

Co-authored-by: Isaac <no-reply@databricks.com>
denik added a commit that referenced this pull request Nov 24, 2026
Co-authored-by: Isaac <no-reply@databricks.com>
denik added a commit that referenced this pull request Nov 24, 2026
…elds imply them (#7938)

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions

Copy link
Copy Markdown
Contributor

Commit: bd45cdc86 | Workflow run

Regression test report

Selected 4 changed tests (limit=20, 0 not selected)

9 tests: regression=9 unreleased=0 coverage=0 failing=0
test branch main (c450460) latest (v1.28.0)
TestAccept/bundle/resources/schemas/recreate_interrupted/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/schemas/recreate_out_of_band/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/schemas/recreate_out_of_band/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/volumes/move_from_renamed_schema/DMS=/READPLAN= ✅ ❌ ❌
TestAccept/bundle/resources/volumes/move_from_renamed_schema/DMS=/READPLAN=1 ✅ ❌ ❌
TestAccept/bundle/resources/volumes/move_from_renamed_schema/DMS=true/READPLAN= ✅ ❌ ❌
TestAccept/bundle/resources/volumes/move_from_renamed_schema/DMS=true/READPLAN=1 ✅ ❌ ❌
TestAccept/bundle/resources/volumes/uppercase-name/DMS= ✅ ❌ ❌
TestAccept/bundle/resources/volumes/uppercase-name/DMS=true ✅ ❌ ❌
TestAccept/bundle/resources/schemas/recreate_interrupted/DMS=: branch ✅ | main (c450460) ❌ | latest (v1.28.0) ❌

main (c450460):

kill.go:91: kill: killed PID 10265 (pattern: DELETE /api/2.1/unity-catalog/volumes/main.test-schema-y3szjiklkvgihcq7g4pm6sueqa.myvolume)
    acceptance_test.go:1402: Diff:
        --- bundle/resources/schemas/recreate_interrupted/output.txt
        +++ /tmp/TestAcceptbundleresourcesschemasrecreate_interruptedDMS=1176201472/002/output.txt
        @@ -100,7 +100,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema-[UNIQUE_NAME]",
                 "new": "test-schema-renamed-[UNIQUE_NAME]"
               },
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema-y3szjiklkvgihcq7g4pm6sueqa",
        LOG.deploy_requests:     "storage_root": "s3://mybucket/a"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema-y3szjiklkvgihcq7g4pm6sueqa",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/volumes/main.test-schema-renamed-y3szjiklkvgihcq7g4pm6sueqa.myvolume"
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema-renamed-y3szjiklkvgihcq7g4pm6sueqa",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }

latest (v1.28.0):

kill.go:91: kill: killed PID 11093 (pattern: DELETE /api/2.1/unity-catalog/volumes/main.test-schema-kgutnmp4ajfjneaaqmvapywrfq.myvolume)
    acceptance_test.go:1402: Diff:
        --- bundle/resources/schemas/recreate_interrupted/output.txt
        +++ /tmp/TestAcceptbundleresourcesschemasrecreate_interruptedDMS=2990816084/002/output.txt
        @@ -100,7 +100,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema-[UNIQUE_NAME]",
                 "new": "test-schema-renamed-[UNIQUE_NAME]"
               },
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema-kgutnmp4ajfjneaaqmvapywrfq",
        LOG.deploy_requests:     "storage_root": "s3://mybucket/a"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema-kgutnmp4ajfjneaaqmvapywrfq",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/volumes/main.test-schema-renamed-kgutnmp4ajfjneaaqmvapywrfq.myvolume"
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema-renamed-kgutnmp4ajfjneaaqmvapywrfq",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
TestAccept/bundle/resources/schemas/recreate_out_of_band/DMS=: branch ✅ | main (c450460) ❌ | latest (v1.28.0) ❌

main (c450460):

acceptance_test.go:1402: Diff:
        --- bundle/resources/schemas/recreate_out_of_band/output.txt
        +++ /tmp/TestAcceptbundleresourcesschemasrecreate_out_of_bandDMS=4168126177/002/output.txt
        @@ -83,7 +83,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema-[UNIQUE_NAME]",
                 "new": "test-schema-renamed-[UNIQUE_NAME]"
               },
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema-sttwafwnnbd5xjv4ahbrjlthje"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema-sttwafwnnbd5xjv4ahbrjlthje",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema-renamed-sttwafwnnbd5xjv4ahbrjlthje",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
    acceptance_test.go:1180: 
        LOG.recreate_requests: {
        LOG.recreate_requests:   "method": "DELETE",
        LOG.recreate_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema-sttwafwnnbd5xjv4ahbrjlthje",
        LOG.recreate_requests:   "q": {
        LOG.recreate_requests:     "force": "true"
        LOG.recreate_requests:   }
        LOG.recreate_requests: }
        LOG.recreate_requests: {
        LOG.recreate_requests:   "method": "POST",
        LOG.recreate_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.recreate_requests:   "body": {
        LOG.recreate_requests:     "catalog_name": "main",
        LOG.recreate_requests:     "name": "test-schema-renamed-sttwafwnnbd5xjv4ahbrjlthje"
        LOG.recreate_requests:   }
        LOG.recreate_requests: }
        LOG.recreate_requests: {
        LOG.recreate_requests:   "method": "POST",
        LOG.recreate_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.recreate_requests:   "body": {
        LOG.recreate_requests:     "catalog_name": "main",
        LOG.recreate_requests:     "name": "myvolume",
        LOG.recreate_requests:     "schema_name": "test-schema-renamed-sttwafwnnbd5xjv4ahbrjlthje",
        LOG.recreate_requests:     "volume_type": "MANAGED"
        LOG.recreate_requests:   }
        LOG.recreate_requests: }

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/resources/schemas/recreate_out_of_band/output.txt
        +++ /tmp/TestAcceptbundleresourcesschemasrecreate_out_of_bandDMS=2062876417/002/output.txt
        @@ -83,7 +83,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema-[UNIQUE_NAME]",
                 "new": "test-schema-renamed-[UNIQUE_NAME]"
               },
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema-t3izx2pasbc7rcldp3zfvwultm"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema-t3izx2pasbc7rcldp3zfvwultm",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema-renamed-t3izx2pasbc7rcldp3zfvwultm",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
    acceptance_test.go:1180: 
        LOG.recreate_requests: {
        LOG.recreate_requests:   "method": "DELETE",
        LOG.recreate_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema-t3izx2pasbc7rcldp3zfvwultm",
        LOG.recreate_requests:   "q": {
        LOG.recreate_requests:     "force": "true"
        LOG.recreate_requests:   }
        LOG.recreate_requests: }
        LOG.recreate_requests: {
        LOG.recreate_requests:   "method": "POST",
        LOG.recreate_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.recreate_requests:   "body": {
        LOG.recreate_requests:     "catalog_name": "main",
        LOG.recreate_requests:     "name": "test-schema-renamed-t3izx2pasbc7rcldp3zfvwultm"
        LOG.recreate_requests:   }
        LOG.recreate_requests: }
        LOG.recreate_requests: {
        LOG.recreate_requests:   "method": "POST",
        LOG.recreate_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.recreate_requests:   "body": {
        LOG.recreate_requests:     "catalog_name": "main",
        LOG.recreate_requests:     "name": "myvolume",
        LOG.recreate_requests:     "schema_name": "test-schema-renamed-t3izx2pasbc7rcldp3zfvwultm",
        LOG.recreate_requests:     "volume_type": "MANAGED"
        LOG.recreate_requests:   }
        LOG.recreate_requests: }
TestAccept/bundle/resources/schemas/recreate_out_of_band/DMS=true: branch ✅ | main (c450460) ❌ | latest (v1.28.0) ❌

main (c450460):

acceptance_test.go:1402: Diff:
        --- bundle/resources/schemas/recreate_out_of_band/output.txt
        +++ /tmp/TestAcceptbundleresourcesschemasrecreate_out_of_bandDMS=tru1085126611/002/output.txt
        @@ -83,7 +83,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema-[UNIQUE_NAME]",
                 "new": "test-schema-renamed-[UNIQUE_NAME]"
               },
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema-pik2kyttlvayvl2knfeltvnal4"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema-pik2kyttlvayvl2knfeltvnal4",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema-renamed-pik2kyttlvayvl2knfeltvnal4",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
    acceptance_test.go:1180: 
        LOG.recreate_requests: {
        LOG.recreate_requests:   "method": "DELETE",
        LOG.recreate_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema-pik2kyttlvayvl2knfeltvnal4",
        LOG.recreate_requests:   "q": {
        LOG.recreate_requests:     "force": "true"
        LOG.recreate_requests:   }
        LOG.recreate_requests: }
        LOG.recreate_requests: {
        LOG.recreate_requests:   "method": "POST",
        LOG.recreate_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.recreate_requests:   "body": {
        LOG.recreate_requests:     "catalog_name": "main",
        LOG.recreate_requests:     "name": "test-schema-renamed-pik2kyttlvayvl2knfeltvnal4"
        LOG.recreate_requests:   }
        LOG.recreate_requests: }
        LOG.recreate_requests: {
        LOG.recreate_requests:   "method": "POST",
        LOG.recreate_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.recreate_requests:   "body": {
        LOG.recreate_requests:     "catalog_name": "main",
        LOG.recreate_requests:     "name": "myvolume",
        LOG.recreate_requests:     "schema_name": "test-schema-renamed-pik2kyttlvayvl2knfeltvnal4",
        LOG.recreate_requests:     "volume_type": "MANAGED"
        LOG.recreate_requests:   }
        LOG.recreate_requests: }
FAIL

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/resources/schemas/recreate_out_of_band/output.txt
        +++ /tmp/TestAcceptbundleresourcesschemasrecreate_out_of_bandDMS=tru304013324/002/output.txt
        @@ -83,7 +83,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema-[UNIQUE_NAME]",
                 "new": "test-schema-renamed-[UNIQUE_NAME]"
               },
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema-epx7hclv5nen3ekchwzms2i5hq"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema-epx7hclv5nen3ekchwzms2i5hq",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema-renamed-epx7hclv5nen3ekchwzms2i5hq",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
    acceptance_test.go:1180: 
        LOG.recreate_requests: {
        LOG.recreate_requests:   "method": "DELETE",
        LOG.recreate_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema-epx7hclv5nen3ekchwzms2i5hq",
        LOG.recreate_requests:   "q": {
        LOG.recreate_requests:     "force": "true"
        LOG.recreate_requests:   }
        LOG.recreate_requests: }
        LOG.recreate_requests: {
        LOG.recreate_requests:   "method": "POST",
        LOG.recreate_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.recreate_requests:   "body": {
        LOG.recreate_requests:     "catalog_name": "main",
        LOG.recreate_requests:     "name": "test-schema-renamed-epx7hclv5nen3ekchwzms2i5hq"
        LOG.recreate_requests:   }
        LOG.recreate_requests: }
        LOG.recreate_requests: {
        LOG.recreate_requests:   "method": "POST",
        LOG.recreate_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.recreate_requests:   "body": {
        LOG.recreate_requests:     "catalog_name": "main",
        LOG.recreate_requests:     "name": "myvolume",
        LOG.recreate_requests:     "schema_name": "test-schema-renamed-epx7hclv5nen3ekchwzms2i5hq",
        LOG.recreate_requests:     "volume_type": "MANAGED"
        LOG.recreate_requests:   }
        LOG.recreate_requests: }
TestAccept/bundle/resources/volumes/move_from_renamed_schema/DMS=/READPLAN=: branch ✅ | main (c450460) ❌ | latest (v1.28.0) ❌

main (c450460):

acceptance_test.go:1402: Diff:
        --- bundle/resources/volumes/move_from_renamed_schema/output.txt
        +++ /tmp/TestAcceptbundleresourcesvolumesmove_from_renamed_schemaDMS358787763/002/output.txt
        @@ -108,7 +108,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema1-[UNIQUE_NAME]",
                 "new": "test-schema2-[UNIQUE_NAME]",
                 "remote": "test-schema1-[UNIQUE_NAME]"
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema2-23ffpppx7bcuno4a366gp4qguy"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema1-23ffpppx7bcuno4a366gp4qguy"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema1-23ffpppx7bcuno4a366gp4qguy",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/volumes/main.test-schema2-23ffpppx7bcuno4a366gp4qguy.myvolume"
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema2-23ffpppx7bcuno4a366gp4qguy",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema1-renamed-23ffpppx7bcuno4a366gp4qguy",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/resources/volumes/move_from_renamed_schema/output.txt
        +++ /tmp/TestAcceptbundleresourcesvolumesmove_from_renamed_schemaDMS3288403556/002/output.txt
        @@ -108,7 +108,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema1-[UNIQUE_NAME]",
                 "new": "test-schema2-[UNIQUE_NAME]",
                 "remote": "test-schema1-[UNIQUE_NAME]"
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema2-olfwiz6f3rhtrgijxbcxnaixk4"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema1-olfwiz6f3rhtrgijxbcxnaixk4"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema1-olfwiz6f3rhtrgijxbcxnaixk4",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/volumes/main.test-schema2-olfwiz6f3rhtrgijxbcxnaixk4.myvolume"
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema1-renamed-olfwiz6f3rhtrgijxbcxnaixk4",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema2-olfwiz6f3rhtrgijxbcxnaixk4",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
TestAccept/bundle/resources/volumes/move_from_renamed_schema/DMS=/READPLAN=1: branch ✅ | main (c450460) ❌ | latest (v1.28.0) ❌

main (c450460):

acceptance_test.go:1402: Diff:
        --- bundle/resources/volumes/move_from_renamed_schema/output.txt
        +++ /tmp/TestAcceptbundleresourcesvolumesmove_from_renamed_schemaDMS2214137226/002/output.txt
        @@ -108,7 +108,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema1-[UNIQUE_NAME]",
                 "new": "test-schema2-[UNIQUE_NAME]",
                 "remote": "test-schema1-[UNIQUE_NAME]"
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema2-piybrjcyzfgihbrgeygc3dxduy"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema1-piybrjcyzfgihbrgeygc3dxduy"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema1-piybrjcyzfgihbrgeygc3dxduy",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/volumes/main.test-schema2-piybrjcyzfgihbrgeygc3dxduy.myvolume"
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema2-piybrjcyzfgihbrgeygc3dxduy",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema1-renamed-piybrjcyzfgihbrgeygc3dxduy",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/resources/volumes/move_from_renamed_schema/output.txt
        +++ /tmp/TestAcceptbundleresourcesvolumesmove_from_renamed_schemaDMS2993246912/002/output.txt
        @@ -108,7 +108,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema1-[UNIQUE_NAME]",
                 "new": "test-schema2-[UNIQUE_NAME]",
                 "remote": "test-schema1-[UNIQUE_NAME]"
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema2-hvgd7ergwrdnzbyywfu3uk2hii"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema1-hvgd7ergwrdnzbyywfu3uk2hii"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema1-hvgd7ergwrdnzbyywfu3uk2hii",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/volumes/main.test-schema2-hvgd7ergwrdnzbyywfu3uk2hii.myvolume"
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema2-hvgd7ergwrdnzbyywfu3uk2hii",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema1-renamed-hvgd7ergwrdnzbyywfu3uk2hii",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
TestAccept/bundle/resources/volumes/move_from_renamed_schema/DMS=true/READPLAN=: branch ✅ | main (c450460) ❌ | latest (v1.28.0) ❌

main (c450460):

acceptance_test.go:1402: Diff:
        --- bundle/resources/volumes/move_from_renamed_schema/output.txt
        +++ /tmp/TestAcceptbundleresourcesvolumesmove_from_renamed_schemaDMS2171886729/002/output.txt
        @@ -108,7 +108,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema1-[UNIQUE_NAME]",
                 "new": "test-schema2-[UNIQUE_NAME]",
                 "remote": "test-schema1-[UNIQUE_NAME]"
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema1-rqsaplgs3vckhnxvbpn7uizhwa"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema2-rqsaplgs3vckhnxvbpn7uizhwa"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema1-rqsaplgs3vckhnxvbpn7uizhwa",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/volumes/main.test-schema2-rqsaplgs3vckhnxvbpn7uizhwa.myvolume"
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema2-rqsaplgs3vckhnxvbpn7uizhwa",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema1-renamed-rqsaplgs3vckhnxvbpn7uizhwa",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/resources/volumes/move_from_renamed_schema/output.txt
        +++ /tmp/TestAcceptbundleresourcesvolumesmove_from_renamed_schemaDMS2691383938/002/output.txt
        @@ -108,7 +108,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema1-[UNIQUE_NAME]",
                 "new": "test-schema2-[UNIQUE_NAME]",
                 "remote": "test-schema1-[UNIQUE_NAME]"
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema1-uhxg6axrvrevrkoijkdq7h25si"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema1-uhxg6axrvrevrkoijkdq7h25si",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema2-uhxg6axrvrevrkoijkdq7h25si"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/volumes/main.test-schema2-uhxg6axrvrevrkoijkdq7h25si.myvolume"
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema1-renamed-uhxg6axrvrevrkoijkdq7h25si",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema2-uhxg6axrvrevrkoijkdq7h25si",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
TestAccept/bundle/resources/volumes/move_from_renamed_schema/DMS=true/READPLAN=1: branch ✅ | main (c450460) ❌ | latest (v1.28.0) ❌

main (c450460):

acceptance_test.go:1402: Diff:
        --- bundle/resources/volumes/move_from_renamed_schema/output.txt
        +++ /tmp/TestAcceptbundleresourcesvolumesmove_from_renamed_schemaDMS3562497844/002/output.txt
        @@ -108,7 +108,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema1-[UNIQUE_NAME]",
                 "new": "test-schema2-[UNIQUE_NAME]",
                 "remote": "test-schema1-[UNIQUE_NAME]"
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema2-ejsu4ot5tfeoblslrmlvzgieca"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema1-ejsu4ot5tfeoblslrmlvzgieca"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema1-ejsu4ot5tfeoblslrmlvzgieca",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/volumes/main.test-schema2-ejsu4ot5tfeoblslrmlvzgieca.myvolume"
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema1-renamed-ejsu4ot5tfeoblslrmlvzgieca",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema2-ejsu4ot5tfeoblslrmlvzgieca",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/resources/volumes/move_from_renamed_schema/output.txt
        +++ /tmp/TestAcceptbundleresourcesvolumesmove_from_renamed_schemaDMS975163443/002/output.txt
        @@ -108,7 +108,7 @@
             "changes": {
               "schema_name": {
                 "action": "recreate",
        -        "reason": "parent",
        +        "reason": "id_field",
                 "old": "test-schema1-[UNIQUE_NAME]",
                 "new": "test-schema2-[UNIQUE_NAME]",
                 "remote": "test-schema1-[UNIQUE_NAME]"
        
    acceptance_test.go:1180: 
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema2-c5pdkiocuzfkrifwe4hkwls5m4"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/schemas",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "test-schema1-c5pdkiocuzfkrifwe4hkwls5m4"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
        LOG.deploy_requests: {
        LOG.deploy_requests:   "method": "POST",
        LOG.deploy_requests:   "path": "/api/2.1/unity-catalog/volumes",
        LOG.deploy_requests:   "body": {
        LOG.deploy_requests:     "catalog_name": "main",
        LOG.deploy_requests:     "name": "myvolume",
        LOG.deploy_requests:     "schema_name": "test-schema1-c5pdkiocuzfkrifwe4hkwls5m4",
        LOG.deploy_requests:     "volume_type": "MANAGED"
        LOG.deploy_requests:   }
        LOG.deploy_requests: }
    acceptance_test.go:1180: 
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/volumes/main.test-schema2-c5pdkiocuzfkrifwe4hkwls5m4.myvolume"
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema1-renamed-c5pdkiocuzfkrifwe4hkwls5m4",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
        LOG.destroy_requests: {
        LOG.destroy_requests:   "method": "DELETE",
        LOG.destroy_requests:   "path": "/api/2.1/unity-catalog/schemas/main.test-schema2-c5pdkiocuzfkrifwe4hkwls5m4",
        LOG.destroy_requests:   "q": {
        LOG.destroy_requests:     "force": "true"
        LOG.destroy_requests:   }
        LOG.destroy_requests: }
TestAccept/bundle/resources/volumes/uppercase-name/DMS=: branch ✅ | main (c450460) ❌ | latest (v1.28.0) ❌

main (c450460):

acceptance_test.go:1402: Diff:
        --- bundle/resources/volumes/uppercase-name/out.deploy.txt
        +++ /tmp/TestAcceptbundleresourcesvolumesuppercase-nameDMS=2605203366/001/out.deploy.txt
        @@ -50,7 +50,7 @@
               },
               "schema_name": {
                 "action": "skip",
        -        "reason": "parent"
        +        "reason": "id_field"
               },
               "storage_location": {
                 "action": "skip",
        
    acceptance_test.go:1180: 
        LOG.destroy: The following resources will be deleted:
        LOG.destroy:   delete resources.schemas.schema1
        LOG.destroy:   delete resources.volumes.vol1
        LOG.destroy: 
        LOG.destroy: This action will result in the deletion of the following UC schemas. Any underlying data may be lost:
        LOG.destroy:   delete resources.schemas.schema1
        LOG.destroy: 
        LOG.destroy: This action will result in the deletion of the following volumes.
        LOG.destroy: For managed volumes, the files stored in the volume are also deleted from your
        LOG.destroy: cloud tenant within 30 days. For external volumes, the metadata about the volume
        LOG.destroy: is removed from the catalog, but the underlying files are not deleted:
        LOG.destroy:   delete resources.volumes.vol1
        LOG.destroy: 
        LOG.destroy: All files and directories at the following location will be deleted: /Workspace/Users/tester@databricks.com/.bundle/test-bundle-ziky7vnaebegzh4yda7ulg26uu/default
        LOG.destroy: 
        LOG.destroy: Destroy: 2 deleted

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/resources/volumes/uppercase-name/out.deploy.txt
        +++ /tmp/TestAcceptbundleresourcesvolumesuppercase-nameDMS=2976628771/001/out.deploy.txt
        @@ -50,7 +50,7 @@
               },
               "schema_name": {
                 "action": "skip",
        -        "reason": "parent"
        +        "reason": "id_field"
               },
               "storage_location": {
                 "action": "skip",
        
    acceptance_test.go:1180: 
        LOG.destroy: The following resources will be deleted:
        LOG.destroy:   delete resources.schemas.schema1
        LOG.destroy:   delete resources.volumes.vol1
        LOG.destroy: 
        LOG.destroy: This action will result in the deletion of the following UC schemas. Any underlying data may be lost:
        LOG.destroy:   delete resources.schemas.schema1
        LOG.destroy: 
        LOG.destroy: This action will result in the deletion of the following volumes.
        LOG.destroy: For managed volumes, the files stored in the volume are also deleted from your
        LOG.destroy: cloud tenant within 30 days. For external volumes, the metadata about the volume
        LOG.destroy: is removed from the catalog, but the underlying files are not deleted:
        LOG.destroy:   delete resources.volumes.vol1
        LOG.destroy: 
        LOG.destroy: All files and directories at the following location will be deleted: /Workspace/Users/tester@databricks.com/.bundle/test-bundle-5nlj4vplmvapldq6ve6h7ymbrm/default
        LOG.destroy: 
        LOG.destroy: Destroy: 2 deleted
TestAccept/bundle/resources/volumes/uppercase-name/DMS=true: branch ✅ | main (c450460) ❌ | latest (v1.28.0) ❌

main (c450460):

acceptance_test.go:1402: Diff:
        --- bundle/resources/volumes/uppercase-name/out.deploy.txt
        +++ /tmp/TestAcceptbundleresourcesvolumesuppercase-nameDMS=true979639367/001/out.deploy.txt
        @@ -50,7 +50,7 @@
               },
               "schema_name": {
                 "action": "skip",
        -        "reason": "parent"
        +        "reason": "id_field"
               },
               "storage_location": {
                 "action": "skip",
        
    acceptance_test.go:1180: 
        LOG.destroy: The following resources will be deleted:
        LOG.destroy:   delete resources.schemas.schema1
        LOG.destroy:   delete resources.volumes.vol1
        LOG.destroy: 
        LOG.destroy: This action will result in the deletion of the following UC schemas. Any underlying data may be lost:
        LOG.destroy:   delete resources.schemas.schema1
        LOG.destroy: 
        LOG.destroy: This action will result in the deletion of the following volumes.
        LOG.destroy: For managed volumes, the files stored in the volume are also deleted from your
        LOG.destroy: cloud tenant within 30 days. For external volumes, the metadata about the volume
        LOG.destroy: is removed from the catalog, but the underlying files are not deleted:
        LOG.destroy:   delete resources.volumes.vol1
        LOG.destroy: 
        LOG.destroy: All files and directories at the following location will be deleted: /Workspace/Users/tester@databricks.com/.bundle/test-bundle-ghz75daosbdy5badbrn2svzn5q/default
        LOG.destroy: 
        LOG.destroy: Destroy: 2 deleted

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/resources/volumes/uppercase-name/out.deploy.txt
        +++ /tmp/TestAcceptbundleresourcesvolumesuppercase-nameDMS=true3035286508/001/out.deploy.txt
        @@ -50,7 +50,7 @@
               },
               "schema_name": {
                 "action": "skip",
        -        "reason": "parent"
        +        "reason": "id_field"
               },
               "storage_location": {
                 "action": "skip",
        
    acceptance_test.go:1180: 
        LOG.destroy: The following resources will be deleted:
        LOG.destroy:   delete resources.schemas.schema1
        LOG.destroy:   delete resources.volumes.vol1
        LOG.destroy: 
        LOG.destroy: This action will result in the deletion of the following UC schemas. Any underlying data may be lost:
        LOG.destroy:   delete resources.schemas.schema1
        LOG.destroy: 
        LOG.destroy: This action will result in the deletion of the following volumes.
        LOG.destroy: For managed volumes, the files stored in the volume are also deleted from your
        LOG.destroy: cloud tenant within 30 days. For external volumes, the metadata about the volume
        LOG.destroy: is removed from the catalog, but the underlying files are not deleted:
        LOG.destroy:   delete resources.volumes.vol1
        LOG.destroy: 
        LOG.destroy: All files and directories at the following location will be deleted: /Workspace/Users/tester@databricks.com/.bundle/test-bundle-zzwiu5ffzbgmhizkpshl7v4cna/default
        LOG.destroy: 
        LOG.destroy: Destroy: 2 deleted
FAIL

@denik
denik marked this pull request as ready for review November 24, 2026 17:30
@denik
denik requested review from a team as code owners November 24, 2026 17:30

@review-oss-bot review-oss-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Automated review at bd45cdc. Each finding was verified against the code.

No blocking issues found. 3 non-blocking comment(s) and 1 question(s) below.

This PR makes parent_id_fields count as provided ID fields through a new ProvidedIDRules() accessor, removes the duplicate YAML entries for schemas, volumes and registered models, and makes the exclusivity test reject a field listed in both places. The mechanics look right, and the changes to secrets and to the plan reason match the description. Before merging, I'd add a test for the secrets planning change and make the new unit test check the merge it is named for.

Questions

  1. With the id_field copies gone, every recreate or skip on a parent field now reports reason: parent. That includes a volume moved to an unrelated schema (move_from_renamed_schema) and a case-only remote diff (uppercase-name), even though neither is caused by the parent. Next to parent_renamed, this reads as if the parent caused it. Should the YAML reason stay id_field, or become something like parent_id_field, so plan output still says why? (non-blocking)

}
localChange := !structdiff.IsEqual(ch.Old, ch.New)
if reason, ok := findMatchingRule(path, cfg.ProvidedIDFields); ok {
if reason, ok := findMatchingRule(path, cfg.ProvidedIDRules()); ok {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[nice to have] For secrets, catalog_name/schema_name are listed only under parent_id_fields, so this line now matches them before secrets.generated.yml's recreate_on_changes (spec:immutable) at line 596. A remote-only difference that recreated on base is now skipped, and a local change reports parent instead of spec:immutable. No secrets golden or unit test covers either case. Can you add an acceptance test that shows the plan for a local schema_name change (recreate) and a remote-only case difference (skip)?


func TestProvidedIDRulesIncludeParentIDFields(t *testing.T) {
var fields []string
for _, rule := range GetResourceConfig("volumes").ProvidedIDRules() {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[nice to have] volumes has no provided_id_fields left, so this test would still pass if ProvidedIDRules returned only ParentIDFields. Can it use registered_models (name plus catalog_name/schema_name) so both halves of the merge are checked?

return nil
}

// ProvidedIDRules returns the provided ID fields, the parent ID fields among them.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[nit] "the parent ID fields among them" reads like a filter that returns only the parent ones. How about: "ProvidedIDRules returns ProvidedIDFields followed by ParentIDFields: every field whose local change recreates the resource and whose remote-only difference is skipped (see classifyIDField)."

@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: bd45cdc

Run: 45447107893

Env 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux-2core-8gb 1 283 20 5:14
💚​ aws-windows-latest-4core-16gb 1 285 18 4:26
💚​ azure linux-2core-8gb 1 282 20 5:18
💚​ azure-windows-latest-4core-16gb 1 284 18 4:34
💚​ gcp linux-2core-8gb 1 283 20 5:13
💚​ gcp-windows-latest-4core-16gb 1 285 18 4:24
Test Name aws linux-2core-8gb aws-windows-latest-4core-16gb azure linux-2core-8gb azure-windows-latest-4core-16gb gcp linux-2core-8gb gcp-windows-latest-4core-16gb
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 6 slowest tests (at least 2 minutes):
duration env testname
4:08 azure linux-2core-8gb TestAccept
4:05 aws linux-2core-8gb TestAccept
4:01 gcp linux-2core-8gb TestAccept
3:41 azure-windows-latest-4core-16gb TestAccept
3:36 aws-windows-latest-4core-16gb TestAccept
3:32 gcp-windows-latest-4core-16gb TestAccept

@denik
denik added this pull request to the merge queue Nov 25, 2026

@review-oss-bot review-oss-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Automated review at bd45cdc. Each finding was verified against the code.

No blocking issues found. 3 non-blocking comment(s) and 1 question(s) below.

This PR makes parent_id_fields count as provided ID fields through a new ProvidedIDRules() accessor, removes the duplicate YAML entries for schemas, volumes and registered models, and switches the plan readers to the accessor. The refactor itself looks right. My main concern is that it changes secret planning, which is intended but untested: secrets now skip a remote-only catalog_name/schema_name difference where they used to recreate. The new unit test also can't tell whether the union is actually built, and there's an open question about the relabelled plan reason.

Questions

  1. Merging in ParentIDFields also carries over their reason: parent. The UC-lowercasing skip in volumes/uppercase-name/out.deploy.txt is now labelled parent, and so are the move-to-another-schema recreates. That sits close to ReasonParentRenamed, which marks real parent renames. Is parent the word you want users to see in the plan output, or should these keep id_field (or use something like parent_id)? (non-blocking)

}

// ProvidedIDRules returns the provided ID fields, the parent ID fields among them.
func (c *ResourceLifecycleConfig) ProvidedIDRules() []FieldRule {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[nice to have] secrets.yml lists catalog_name/schema_name only under parent_id_fields. At base, classifyIDField didn't match them, so they fell through to the generated recreate_on_changes (spec:immutable). A remote-only difference, such as config Main against a UC-lowercased remote main, recreated the secret. Now it is skipped, and a local change recreates with reason parent. reconcileIDFields in bundle/migrate/build_state.go also starts reconciling these fields for secrets. No golden under acceptance/bundle/resources/secrets changed. Can you add an acceptance case that plans a case-only remote difference on catalog_name (expect skip) and a real catalog_name change (expect recreate/parent)?


func TestProvidedIDRulesIncludeParentIDFields(t *testing.T) {
var fields []string
for _, rule := range GetResourceConfig("volumes").ProvidedIDRules() {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[nice to have] volumes no longer has any provided_id_fields, so ProvidedIDRules() returns only ParentIDFields. An implementation that ignored ProvidedIDFields entirely would still pass. Can you use registered_models instead? It has name plus both parent fields, so the test checks the union the helper exists to build.

return nil
}

// ProvidedIDRules returns the provided ID fields, the parent ID fields among them.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[nit] "the provided ID fields, the parent ID fields among them" can be read as returning only the parent fields. Suggest: "ProvidedIDRules returns ProvidedIDFields followed by ParentIDFields; a parent ID field is a provided ID field too and is not listed again under provided_id_fields."

Merged via the queue into main with commit 70e31a6 Nov 25, 2026
29 of 31 checks passed
@denik
denik deleted the denik/parent-implies-provided branch November 25, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants