Skip to content

config-remote-sync: do not import the ACL of a resource that declares no permissions (option B: no import) - #8149

Draft
denik wants to merge 1 commit into
pmr/sync-permissions-other-identity-testsfrom
pmr/sync-permissions-no-import
Draft

denik wants to merge 1 commit into
pmr/sync-permissions-other-identity-testsfrom
pmr/sync-permissions-no-import

Conversation

@denik

@denik denik commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Draft for a decision: not for review or merge until an option is chosen.

Stacked on the tests PR #8146. Original change: #7536. Sibling option: #8148 (import only for the syncing identity's own deployment).

Changes

bundle config-remote-sync no longer imports the ACL of a deployed resource that declares no permissions. That part of #7536 is removed; permissions the config declares are still synced per principal, including a block that was written but not deployed yet.

The bundle does not manage the ACL of such a resource: deploy leaves it alone. A permissions: block written by the sync changes that for good. Every later deploy replaces the ACL with the block, whoever deploys and to whichever target, and the block was written from the point of view of the identity that synced (see the tests PR). To have a grant made in the UI synced, the resource has to declare permissions.

ACLs are now read only for a declared block that was never deployed and for jobs whose owner the run_as sync needs, so a sync sends one request less per resource without permissions.

Why

See #8146: when a service principal deploys and another identity syncs, the next deploy revokes that identity's CAN_MANAGE, or asks for a transferred ownership back; and an ACL imported from one target replaces the ACL of the same resource in the other targets.

Tests

Goldens of the tests PR, updated to what this option produces:

Test With this PR
other_identity/can_manage, syncer_home, experiment, owner, no_grants No change detected; the deploy leaves the ACL alone. Badness removed.
other_identity/handover, other_target Nothing is imported, so the later deploy leaves the ACL alone.
other_identity/declared, undeployed Unchanged, Badness kept: these go through the per-principal sync, which this PR does not touch.

Existing tests that covered the import:

  • unmanaged_permissions: first shows that nothing is imported, then declares the same blocks by hand; the rest of the script (unreadable ACL, a grant made before the block is deployed, level change, added and removed principals) is unchanged.
  • cluster_policy_permissions: shows that a group's CAN_USE on a policy without permissions is not imported, then declares it by hand; the creator's CAN_USE is still kept out of the block and the deploy applies it.
  • job_run_as: the job with a transferred owner no longer gets a permissions: block.

Unit test for which ACLs are read.

Gaps and risks

  • This removes a feature: a grant made in the UI on a resource without a permissions: block is no longer written to the config. The grant itself is not lost, since deploy does not touch that ACL.
  • withoutCurrentUserDefaults is now reached only for cluster policies; trimming it is left for the chosen option.
  • declared and undeployed still record a grant that is lost.
  • Risk: medium. Removes behavior the workspace UI may rely on.

🤖 AI agent (fable5.2, isaac_claude)

This pull request and its description were written by Isaac.

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Regression test report ✅

Commit: 8eaf9e3fe | Workflow run

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

145 tests: regression=20 unreleased=26 coverage=99 failing=0
test branch main (e6f3460) latest (v1.28.0)
TestAccept/bundle/config-remote-sync/cli_defaults/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/cli_defaults/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/cluster_override_existing_key/DMS= ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/cluster_override_existing_key/DMS=true ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/cluster_override_merge_key/DMS= ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/cluster_override_merge_key/DMS=true ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/cluster_policy_cross_target/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/cluster_policy_cross_target/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/cluster_policy_permissions/DMS= ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/cluster_policy_permissions/DMS=true ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/cluster_policy_remote_addition/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/cluster_policy_remote_addition/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/cluster_policy_replaces_array/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/cluster_policy_replaces_array/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/config_edits/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/config_edits/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/dashboard_etag/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/dashboard_etag/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/external_cluster_policy_cross_target/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/external_cluster_policy_cross_target/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/flushed_cache/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/flushed_cache/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/formatting_preserved/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/formatting_preserved/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_fields/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_fields/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_multiple_tasks/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_multiple_tasks/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_params_variables/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_params_variables/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_pipeline_task/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_pipeline_task/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_run_as/DMS= ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/job_run_as/DMS=true ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/job_run_as_sources/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/job_run_as_sources/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/json_status_missing_state/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/json_status_missing_state/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/json_status_selectors/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/json_status_selectors/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/merge_key_inherited/DMS= ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/merge_key_inherited/DMS=true ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/missing_cluster_policy/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/missing_cluster_policy/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/multiple_files/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/multiple_files/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/multiple_resources/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/null_parent/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/null_parent/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/output_json/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/output_json/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/output_no_changes/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/output_no_changes/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/permissions/other_identity/can_manage/DMS= ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/permissions/other_identity/can_manage/DMS=true ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/permissions/other_identity/declared/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/permissions/other_identity/declared/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/permissions/other_identity/experiment/DMS= ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/permissions/other_identity/experiment/DMS=true ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/permissions/other_identity/handover/DMS= ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/permissions/other_identity/handover/DMS=true ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/permissions/other_identity/no_grants/DMS= ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/permissions/other_identity/no_grants/DMS=true ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/permissions/other_identity/owner/DMS= ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/permissions/other_identity/owner/DMS=true ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/permissions/other_identity/syncer_home/DMS= ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/permissions/other_identity/syncer_home/DMS=true ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/permissions/other_identity/undeployed/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/permissions/other_identity/undeployed/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/permissions/other_target/DMS= ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/permissions/other_target/DMS=true ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/pipeline_fields/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/pipeline_fields/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/policy_injected_cluster_fields/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/policy_injected_cluster_fields/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/remove_multiple_tasks/DMS= ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/remove_multiple_tasks/DMS=true ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/resolve_variables/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/resolve_variables/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/resource_keys/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/resource_keys/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/select_basic/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/select_basic/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/select_multiple/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/select_multiple/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/skip_deployment/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/skip_deployment/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/skip_permissions/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/skip_permissions/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/anchored_override_field/DMS= ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/anchored_override_field/DMS=true ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/cleared_key_override/DMS= ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/cleared_key_override/DMS=true ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/cli_default_split_element/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/cli_default_split_element/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/dotted_target/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/dotted_target/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/isolation/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/isolation/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/keyed_edit/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/keyed_edit/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/keyed_remove/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/keyed_remove/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/keyed_rename/DMS= ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/keyed_rename/DMS=true ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/keyed_twoblock/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/keyed_twoblock/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/multifile/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/multifile/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/nested_add_split_parent/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/nested_add_split_parent/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/nested_sequence/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/nested_sequence/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/positional/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/positional/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/remove_field_both_blocks/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/remove_field_both_blocks/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/remove_with_unrelated_add/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/remove_with_unrelated_add/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/rename_ambiguous_pairing/DMS= ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/rename_ambiguous_pairing/DMS=true ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/rename_ambiguous_single_block/DMS= ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/rename_ambiguous_single_block/DMS=true ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/rename_two_removes_one_add/DMS= ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/rename_two_removes_one_add/DMS=true ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/target_variable/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/target_variable/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/top_level_field_both_blocks/DMS= ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/top_level_field_both_blocks/DMS=true ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/split/variable_file_order/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/split/variable_file_order/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/target_override/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/target_override/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/task_rename_revert/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/task_rename_revert/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/terraform_state/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/unmanaged_permissions/DMS= ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/unmanaged_permissions/DMS=true ✅ ❌ ❌
TestAccept/bundle/config-remote-sync/validation_errors/DMS= ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/validation_errors/DMS=true ✅ ✅ ✅
TestAccept/bundle/config-remote-sync/variable_reference_parent/DMS= ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/variable_reference_parent/DMS=true ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/yaml_anchors/DMS= ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/yaml_anchors/DMS=true ✅ ✅ ❌
TestAccept/bundle/config-remote-sync/cluster_override_existing_key/DMS=: branch ✅ | main (e6f3460) ✅ | latest (v1.28.0) ❌

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/cluster_override_existing_key/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-synccluster_override_existing_k1169152243/002/output.txt
        @@ -8,44 +8,8 @@
         === Sync replaces the job_cluster_key the YAML already has and keeps the variables
         
         >>> [CLI] bundle config-remote-sync -t dev --save
        -Detected changes in 1 resource(s):
        +Error: failed to generate YAML files: failed to apply change to file [TEST_TMP_DIR]/databricks.yml for a field resources.jobs.my_job.tasks[2].new_cluster: failed to apply change: op add /resources/jobs/my_job/tasks/2/new_cluster: key new_cluster already exists and can not be added
         
        -Resource: resources.jobs.my_job
        -  tasks[task_key='by_complex_variable'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        -  tasks[task_key='by_complex_variable'].new_cluster: skip (the field is a variable reference)
        -  tasks[task_key='by_variable'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        -  tasks[task_key='by_variable'].job_cluster_key: replace
        -  tasks[task_key='main'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        -  tasks[task_key='main'].job_cluster_key: replace
        -
        -
        -
        ->>> diff.py databricks.yml.backup databricks.yml
        ---- databricks.yml.backup
        -+++ databricks.yml
        -@@ -28,5 +28,5 @@
        -       tasks:
        -         - task_key: main
        --          job_cluster_key: shared
        -+          job_cluster_key: other
        -           notebook_task:
        -             notebook_path: /Users/{{workspace_user_name}}/nb
        -
        -=== The override still clears job_cluster_key, so the next sync detects it again
        -
        ->>> [CLI] bundle config-remote-sync -t dev
        -Detected changes in 1 resource(s):
        -
        -Resource: resources.jobs.my_job
        -  tasks[task_key='by_complex_variable'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        -  tasks[task_key='by_complex_variable'].new_cluster: skip (the field is a variable reference)
        -  tasks[task_key='by_variable'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        -  tasks[task_key='by_variable'].job_cluster_key: replace
        -  tasks[task_key='main'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        -  tasks[task_key='main'].job_cluster_key: replace
        -
        -
        -
         >>> [CLI] bundle destroy --auto-approve -t dev
         The following resources will be deleted:
           delete resources.jobs.my_job
        @@ -53,3 +16,5 @@
         All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/test-bundle-[UNIQUE_NAME]/dev
         
         Destroy: 1 deleted
        +
        +Exit code: 1
TestAccept/bundle/config-remote-sync/cluster_override_existing_key/DMS=true: branch ✅ | main (e6f3460) ✅ | latest (v1.28.0) ❌

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/cluster_override_existing_key/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-synccluster_override_existing_k417333600/002/output.txt
        @@ -8,44 +8,8 @@
         === Sync replaces the job_cluster_key the YAML already has and keeps the variables
         
         >>> [CLI] bundle config-remote-sync -t dev --save
        -Detected changes in 1 resource(s):
        +Error: failed to generate YAML files: failed to apply change to file [TEST_TMP_DIR]/databricks.yml for a field resources.jobs.my_job.tasks[2].new_cluster: failed to apply change: op add /resources/jobs/my_job/tasks/2/new_cluster: key new_cluster already exists and can not be added
         
        -Resource: resources.jobs.my_job
        -  tasks[task_key='by_complex_variable'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        -  tasks[task_key='by_complex_variable'].new_cluster: skip (the field is a variable reference)
        -  tasks[task_key='by_variable'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        -  tasks[task_key='by_variable'].job_cluster_key: replace
        -  tasks[task_key='main'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        -  tasks[task_key='main'].job_cluster_key: replace
        -
        -
        -
        ->>> diff.py databricks.yml.backup databricks.yml
        ---- databricks.yml.backup
        -+++ databricks.yml
        -@@ -28,5 +28,5 @@
        -       tasks:
        -         - task_key: main
        --          job_cluster_key: shared
        -+          job_cluster_key: other
        -           notebook_task:
        -             notebook_path: /Users/{{workspace_user_name}}/nb
        -
        -=== The override still clears job_cluster_key, so the next sync detects it again
        -
        ->>> [CLI] bundle config-remote-sync -t dev
        -Detected changes in 1 resource(s):
        -
        -Resource: resources.jobs.my_job
        -  tasks[task_key='by_complex_variable'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        -  tasks[task_key='by_complex_variable'].new_cluster: skip (the field is a variable reference)
        -  tasks[task_key='by_variable'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        -  tasks[task_key='by_variable'].job_cluster_key: replace
        -  tasks[task_key='main'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        -  tasks[task_key='main'].job_cluster_key: replace
        -
        -
        -
         >>> [CLI] bundle destroy --auto-approve -t dev
         The following resources will be deleted:
           delete resources.jobs.my_job
        @@ -53,3 +16,5 @@
         All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/test-bundle-[UNIQUE_NAME]/dev
         
         Destroy: 1 deleted
        +
        +Exit code: 1
TestAccept/bundle/config-remote-sync/cluster_override_merge_key/DMS=: branch ✅ | main (e6f3460) ✅ | latest (v1.28.0) ❌

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/cluster_override_merge_key/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-synccluster_override_merge_key1300111517/002/output.txt
        @@ -11,11 +11,11 @@
         Detected changes in 1 resource(s):
         
         Resource: resources.jobs.my_job
        -  tasks[task_key='defines_inside'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        +  tasks[task_key='defines_inside'].existing_cluster_id: remove
           tasks[task_key='defines_inside'].job_cluster_key: add
        -  tasks[task_key='from_inside'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        +  tasks[task_key='from_inside'].existing_cluster_id: remove
           tasks[task_key='from_inside'].job_cluster_key: add
        -  tasks[task_key='from_outside'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        +  tasks[task_key='from_outside'].existing_cluster_id: remove
           tasks[task_key='from_outside'].job_cluster_key: add
TestAccept/bundle/config-remote-sync/cluster_override_merge_key/DMS=true: branch ✅ | main (e6f3460) ✅ | latest (v1.28.0) ❌

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/cluster_override_merge_key/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-synccluster_override_merge_key851224222/002/output.txt
        @@ -11,11 +11,11 @@
         Detected changes in 1 resource(s):
         
         Resource: resources.jobs.my_job
        -  tasks[task_key='defines_inside'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        +  tasks[task_key='defines_inside'].existing_cluster_id: remove
           tasks[task_key='defines_inside'].job_cluster_key: add
        -  tasks[task_key='from_inside'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        +  tasks[task_key='from_inside'].existing_cluster_id: remove
           tasks[task_key='from_inside'].job_cluster_key: add
        -  tasks[task_key='from_outside'].existing_cluster_id: skip (change cannot be attributed to a single source block: no source location for the value being changed)
        +  tasks[task_key='from_outside'].existing_cluster_id: remove
           tasks[task_key='from_outside'].job_cluster_key: add
         
         
        
FAIL
TestAccept/bundle/config-remote-sync/cluster_policy_permissions/DMS=: branch ✅ | main (e6f3460) ❌ | latest (v1.28.0) ❌

main (e6f3460):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/cluster_policy_permissions/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-synccluster_policy_permissions2808302680/002/output.txt
        @@ -16,9 +16,13 @@
         === A grant on a policy that declares no permissions is not imported
         
         >>> [CLI] bundle config-remote-sync
        -No changes detected.
        +Detected changes in 1 resource(s):
         
        +Resource: resources.cluster_policies.policy
        +  permissions: add
         
        +
        +
         === Declare the group's grant by hand
         
         >>> [CLI] bundle validate -o json

latest (v1.28.0): same output as main (e6f3460)

TestAccept/bundle/config-remote-sync/cluster_policy_permissions/DMS=true: branch ✅ | main (e6f3460) ❌ | latest (v1.28.0) ❌

main (e6f3460):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/cluster_policy_permissions/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-synccluster_policy_permissions1657635266/002/output.txt
        @@ -16,9 +16,13 @@
         === A grant on a policy that declares no permissions is not imported
         
         >>> [CLI] bundle config-remote-sync
        -No changes detected.
        +Detected changes in 1 resource(s):
         
        +Resource: resources.cluster_policies.policy
        +  permissions: add
         
        +
        +
         === Declare the group's grant by hand
         
         >>> [CLI] bundle validate -o json

latest (v1.28.0): same output as main (e6f3460)

TestAccept/bundle/config-remote-sync/job_run_as/DMS=: branch ✅ | main (e6f3460) ❌ | latest (v1.28.0) ❌

main (e6f3460):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/job_run_as/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-syncjob_run_asDMS=2741788838/002/output.txt
        @@ -34,7 +34,7 @@
         === Detect and save changes
         
         >>> [CLI] bundle config-remote-sync --save
        -Detected changes in 6 resource(s):
        +Detected changes in 7 resource(s):
         
         Resource: resources.jobs.no_run_as
           run_as: add
        @@ -45,6 +45,9 @@
         Resource: resources.jobs.removed_run_as
           run_as: add
         
        +Resource: resources.jobs.transferred_owner
        +  permissions: add
        +
         Resource: resources.jobs.user_to_creator
           run_as.user_name: replace
         
        @@ -67,9 +70,17 @@
         +        service_principal_name: [UUID]
              # The remote run_as names the owner, which is what no run_as means.
              run_as_to_owner:
        -@@ -36,9 +38,11 @@
        +@@ -28,4 +30,7 @@
                      notebook_path: /Users/{{workspace_user_name}}/notebook
         
        ++      permissions:
        ++        - level: IS_OWNER
        ++          user_name: new-owner@example.com
        +     # run_as is removed from config and deployed; the job keeps it remotely.
        +     removed_run_as:
        +@@ -36,9 +41,11 @@
        +             notebook_path: /Users/{{workspace_user_name}}/notebook
        +
         +      run_as:
         +        user_name: first-user@example.com
              # run_as is added to config locally and not deployed.
        @@ -80,21 +89,21 @@
         +        user_name: remote-user@example.com
                tasks:
                  - task_key: main
        -@@ -49,5 +53,5 @@
        +@@ -49,5 +56,5 @@
                name: user-to-user-[UNIQUE_NAME]
                run_as:
         -        user_name: first-user@example.com
         +        user_name: second-user@example.com
                tasks:
                  - task_key: main
        -@@ -58,5 +62,5 @@
        +@@ -58,5 +65,5 @@
                name: user-to-creator-[UNIQUE_NAME]
                run_as:
         -        user_name: first-user@example.com
         +        user_name: [USERNAME]
                tasks:
                  - task_key: main
        -@@ -67,5 +71,5 @@
        +@@ -67,5 +74,5 @@
                name: user-to-sp-[UNIQUE_NAME]
                run_as:
         -        user_name: first-user@example.com
        @@ -111,8 +108,10 @@
         === Plan after sync
         
         >>> [CLI] bundle plan
        -Plan: 0 to add, 0 to change, 0 to delete, 8 unchanged
        +create jobs.transferred_owner.permissions
         
        +Plan: 1 to add, 0 to change, 0 to delete, 8 unchanged
        +
         >>> [CLI] bundle destroy --auto-approve
         The following resources will be deleted:
           delete resources.jobs.no_run_as

latest (v1.28.0): same output as main (e6f3460)

TestAccept/bundle/config-remote-sync/job_run_as/DMS=true: branch ✅ | main (e6f3460) ❌ | latest (v1.28.0) ❌

main (e6f3460):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/job_run_as/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-syncjob_run_asDMS=true1067337668/002/output.txt
        @@ -34,7 +34,7 @@
         === Detect and save changes
         
         >>> [CLI] bundle config-remote-sync --save
        -Detected changes in 6 resource(s):
        +Detected changes in 7 resource(s):
         
         Resource: resources.jobs.no_run_as
           run_as: add
        @@ -45,6 +45,9 @@
         Resource: resources.jobs.removed_run_as
           run_as: add
         
        +Resource: resources.jobs.transferred_owner
        +  permissions: add
        +
         Resource: resources.jobs.user_to_creator
           run_as.user_name: replace
         
        @@ -67,9 +70,17 @@
         +        service_principal_name: [UUID]
              # The remote run_as names the owner, which is what no run_as means.
              run_as_to_owner:
        -@@ -36,9 +38,11 @@
        +@@ -28,4 +30,7 @@
                      notebook_path: /Users/{{workspace_user_name}}/notebook
         
        ++      permissions:
        ++        - level: IS_OWNER
        ++          user_name: new-owner@example.com
        +     # run_as is removed from config and deployed; the job keeps it remotely.
        +     removed_run_as:
        +@@ -36,9 +41,11 @@
        +             notebook_path: /Users/{{workspace_user_name}}/notebook
        +
         +      run_as:
         +        user_name: first-user@example.com
              # run_as is added to config locally and not deployed.
        @@ -80,21 +89,21 @@
         +        user_name: remote-user@example.com
                tasks:
                  - task_key: main
        -@@ -49,5 +53,5 @@
        +@@ -49,5 +56,5 @@
                name: user-to-user-[UNIQUE_NAME]
                run_as:
         -        user_name: first-user@example.com
         +        user_name: second-user@example.com
                tasks:
                  - task_key: main
        -@@ -58,5 +62,5 @@
        +@@ -58,5 +65,5 @@
                name: user-to-creator-[UNIQUE_NAME]
                run_as:
         -        user_name: first-user@example.com
         +        user_name: [USERNAME]
                tasks:
                  - task_key: main
        -@@ -67,5 +71,5 @@
        +@@ -67,5 +74,5 @@
                name: user-to-sp-[UNIQUE_NAME]
                run_as:
         -        user_name: first-user@example.com
        @@ -111,8 +108,10 @@
         === Plan after sync
         
         >>> [CLI] bundle plan
        -Plan: 0 to add, 0 to change, 0 to delete, 8 unchanged
        +create jobs.transferred_owner.permissions
         
        +Plan: 1 to add, 0 to change, 0 to delete, 8 unchanged
        +
         >>> [CLI] bundle destroy --auto-approve
         The following resources will be deleted:
           delete resources.jobs.no_run_as

latest (v1.28.0): same output as main (e6f3460)

TestAccept/bundle/config-remote-sync/merge_key_inherited/DMS=: branch ✅ | main (e6f3460) ✅ | latest (v1.28.0) ❌

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/merge_key_inherited/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-syncmerge_key_inheritedDMS=1896117442/002/output.txt
        @@ -9,134 +9,8 @@
         === Edit fields inherited through YAML merge keys
         
         === Detect and save changes
        -Detected changes in 3 resource(s):
        +Error: failed to generate YAML files: failed to apply change to file [TEST_TMP_DIR]/databricks.yml for a field resources.jobs.my_job.tasks[3].notebook_task.base_parameters.input_file_name: field not found in YAML configuration: op replace /resources/jobs/my_job/tasks/3/notebook_task/base_parameters/input_file_name: key input_file_name does not exist and can not be replaced
         
        -Resource: resources.jobs.my_job
        -  job_clusters[job_cluster_key='derived'].new_cluster.autoscale: add
        -  job_clusters[job_cluster_key='derived'].new_cluster.num_workers: skip (the file does not write it where it is defined)
        -  tasks[task_key='b_task'].depends_on[task_key='a_task']: skip (the file does not write it where it is defined)
        -  tasks[task_key='b_task'].depends_on[task_key='prep']: skip (the file does not write it where it is defined)
        -  tasks[task_key='b_task'].max_retries: skip (the file does not write it where it is defined)
        -  tasks[task_key='b_task'].min_retry_interval_millis: add
        -  tasks[task_key='b_task'].notebook_task.base_parameters['input_file_name']: add
        -  tasks[task_key='c_task'].depends_on[task_key='a_task']: skip (the file does not write it where it is defined)
        -  tasks[task_key='c_task'].depends_on[task_key='setup']: skip (the file does not write it where it is defined)
        -  tasks[task_key='prep']: skip (the file does not write it where it is defined)
        -  tasks[task_key='setup']: remove
        -  timeout_seconds: add
        -
        -Resource: resources.jobs.rename_job
        -  tasks[task_key='main']: skip (the file does not write it where it is defined)
        -  tasks[task_key='main2']: skip (the file does not write it where it is defined)
        -
        -Resource: resources.pipelines.my_pipeline
        -  clusters: skip (the file does not write it where it is defined)
        -
        -
        -
        -=== Configuration changes
        -
        ->>> diff.py databricks.yml.backup databricks.yml
        ---- databricks.yml.backup
        -+++ databricks.yml
        -@@ -28,5 +28,6 @@
        -               max_retries: 3
        -         my_job:
        --          <<: [*job_overrides, *other_job]
        -+          !!merge <<: [*job_overrides, *other_job]
        -+          timeout_seconds: 1200
        -         rename_job:
        -           tasks:
        -@@ -38,7 +39,7 @@
        -   jobs:
        -     rename_job:
        --      <<: *job_overrides
        -+      !!merge <<: *job_overrides
        -       tasks:
        --        - <<: *renamed_task
        -+        - !!merge <<: *renamed_task
        -           notebook_task:
        -             notebook_path: /Users/{{workspace_user_name}}/notebook
        -@@ -53,7 +54,10 @@
        -         - job_cluster_key: derived
        -           new_cluster:
        --            <<: *base_cluster
        -+            !!merge <<: *base_cluster
        -             spark_conf:
        -               spark.speculation: "true"
        -+            autoscale:
        -+              max_workers: 2
        -+              min_workers: 1
        -       tasks:
        -         - task_key: prep
        -@@ -61,8 +65,4 @@
        -           notebook_task:
        -             notebook_path: /Users/{{workspace_user_name}}/prep
        --        - task_key: setup
        --          job_cluster_key: base
        --          notebook_task:
        --            notebook_path: /Users/{{workspace_user_name}}/setup
        -         - &base_task
        -           task_key: a_task
        -@@ -77,11 +77,13 @@
        -             base_parameters: &base_params
        -               input_file_name: ${var.input_a}
        --        - <<: *base_task
        -+        - !!merge <<: *base_task
        -           task_key: b_task
        -           notebook_task:
        -             notebook_path: /Users/{{workspace_user_name}}/notebook
        -             base_parameters:
        --              <<: *base_params
        -+              !!merge <<: *base_params
        -               extra: b
        --        - <<: *base_task
        -+              input_file_name: ${var.input_b}
        -+          min_retry_interval_millis: 5000
        -+        - !!merge <<: *base_task
        -           task_key: c_task
        -
        ->>> diff.py pipeline.yml.backup pipeline.yml
        -
        -=== Effective configuration after the sync
        -{
        -  "timeout_seconds": 1200,
        -  "b_task": {
        -    "max_retries": 2,
        -    "min_retry_interval_millis": 5000,
        -    "depends_on": [
        -      {
        -        "task_key": "prep"
        -      },
        -      {
        -        "task_key": "setup"
        -      }
        -    ],
        -    "input_file_name": "other"
        -  }
        -}
        -
        -=== Edit inherited fields with and without a target override supplying them
        -Detected changes in 1 resource(s):
        -
        -Resource: resources.jobs.rename_job
        -  tasks[task_key='main'].max_retries: skip (the file does not write it where it is defined)
        -  timeout_seconds: add
        -
        -
        -
        ->>> diff.py databricks.yml.backup databricks.yml
        ---- databricks.yml.backup
        -+++ databricks.yml
        -@@ -44,4 +44,5 @@
        -           notebook_task:
        -             notebook_path: /Users/{{workspace_user_name}}/notebook
        -+      timeout_seconds: 900
        -     my_job:
        -       timeout_seconds: 300
        -json.resources.jobs.rename_job.tasks[0].max_retries = 1;
        -json.resources.jobs.rename_job.timeout_seconds = 900;
        -
         >>> [CLI] bundle destroy --auto-approve
         The following resources will be deleted:
           delete resources.jobs.my_job
        @@ -151,3 +24,5 @@
         All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/test-bundle-[UNIQUE_NAME]/default
         
         Destroy: 4 deleted
        +
        +Exit code: 1
TestAccept/bundle/config-remote-sync/merge_key_inherited/DMS=true: branch ✅ | main (e6f3460) ✅ | latest (v1.28.0) ❌

latest (v1.28.0):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/merge_key_inherited/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-syncmerge_key_inheritedDMS=tru3890533040/002/output.txt
        @@ -9,134 +9,8 @@
         === Edit fields inherited through YAML merge keys
         
         === Detect and save changes
        -Detected changes in 3 resource(s):
        +Error: failed to generate YAML files: failed to apply change to file [TEST_TMP_DIR]/databricks.yml for a field resources.jobs.my_job.tasks[3].notebook_task.base_parameters.input_file_name: field not found in YAML configuration: op replace /resources/jobs/my_job/tasks/3/notebook_task/base_parameters/input_file_name: key input_file_name does not exist and can not be replaced
         
        -Resource: resources.jobs.my_job
        -  job_clusters[job_cluster_key='derived'].new_cluster.autoscale: add
        -  job_clusters[job_cluster_key='derived'].new_cluster.num_workers: skip (the file does not write it where it is defined)
        -  tasks[task_key='b_task'].depends_on[task_key='a_task']: skip (the file does not write it where it is defined)
        -  tasks[task_key='b_task'].depends_on[task_key='prep']: skip (the file does not write it where it is defined)
        -  tasks[task_key='b_task'].max_retries: skip (the file does not write it where it is defined)
        -  tasks[task_key='b_task'].min_retry_interval_millis: add
        -  tasks[task_key='b_task'].notebook_task.base_parameters['input_file_name']: add
        -  tasks[task_key='c_task'].depends_on[task_key='a_task']: skip (the file does not write it where it is defined)
        -  tasks[task_key='c_task'].depends_on[task_key='setup']: skip (the file does not write it where it is defined)
        -  tasks[task_key='prep']: skip (the file does not write it where it is defined)
        -  tasks[task_key='setup']: remove
        -  timeout_seconds: add
        -
        -Resource: resources.jobs.rename_job
        -  tasks[task_key='main']: skip (the file does not write it where it is defined)
        -  tasks[task_key='main2']: skip (the file does not write it where it is defined)
        -
        -Resource: resources.pipelines.my_pipeline
        -  clusters: skip (the file does not write it where it is defined)
        -
        -
        -
        -=== Configuration changes
        -
        ->>> diff.py databricks.yml.backup databricks.yml
        ---- databricks.yml.backup
        -+++ databricks.yml
        -@@ -28,5 +28,6 @@
        -               max_retries: 3
        -         my_job:
        --          <<: [*job_overrides, *other_job]
        -+          !!merge <<: [*job_overrides, *other_job]
        -+          timeout_seconds: 1200
        -         rename_job:
        -           tasks:
        -@@ -38,7 +39,7 @@
        -   jobs:
        -     rename_job:
        --      <<: *job_overrides
        -+      !!merge <<: *job_overrides
        -       tasks:
        --        - <<: *renamed_task
        -+        - !!merge <<: *renamed_task
        -           notebook_task:
        -             notebook_path: /Users/{{workspace_user_name}}/notebook
        -@@ -53,7 +54,10 @@
        -         - job_cluster_key: derived
        -           new_cluster:
        --            <<: *base_cluster
        -+            !!merge <<: *base_cluster
        -             spark_conf:
        -               spark.speculation: "true"
        -+            autoscale:
        -+              max_workers: 2
        -+              min_workers: 1
        -       tasks:
        -         - task_key: prep
        -@@ -61,8 +65,4 @@
        -           notebook_task:
        -             notebook_path: /Users/{{workspace_user_name}}/prep
        --        - task_key: setup
        --          job_cluster_key: base
        --          notebook_task:
        --            notebook_path: /Users/{{workspace_user_name}}/setup
        -         - &base_task
        -           task_key: a_task
        -@@ -77,11 +77,13 @@
        -             base_parameters: &base_params
        -               input_file_name: ${var.input_a}
        --        - <<: *base_task
        -+        - !!merge <<: *base_task
        -           task_key: b_task
        -           notebook_task:
        -             notebook_path: /Users/{{workspace_user_name}}/notebook
        -             base_parameters:
        --              <<: *base_params
        -+              !!merge <<: *base_params
        -               extra: b
        --        - <<: *base_task
        -+              input_file_name: ${var.input_b}
        -+          min_retry_interval_millis: 5000
        -+        - !!merge <<: *base_task
        -           task_key: c_task
        -
        ->>> diff.py pipeline.yml.backup pipeline.yml
        -
        -=== Effective configuration after the sync
        -{
        -  "timeout_seconds": 1200,
        -  "b_task": {
        -    "max_retries": 2,
        -    "min_retry_interval_millis": 5000,
        -    "depends_on": [
        -      {
        -        "task_key": "prep"
        -      },
        -      {
        -        "task_key": "setup"
        -      }
        -    ],
        -    "input_file_name": "other"
        -  }
        -}
        -
        -=== Edit inherited fields with and without a target override supplying them
        -Detected changes in 1 resource(s):
        -
        -Resource: resources.jobs.rename_job
        -  tasks[task_key='main'].max_retries: skip (the file does not write it where it is defined)
        -  timeout_seconds: add
        -
        -
        -
        ->>> diff.py databricks.yml.backup databricks.yml
        ---- databricks.yml.backup
        -+++ databricks.yml
        -@@ -44,4 +44,5 @@
        -           notebook_task:
        -             notebook_path: /Users/{{workspace_user_name}}/notebook
        -+      timeout_seconds: 900
        -     my_job:
        -       timeout_seconds: 300
        -json.resources.jobs.rename_job.tasks[0].max_retries = 1;
        -json.resources.jobs.rename_job.timeout_seconds = 900;
        -
         >>> [CLI] bundle destroy --auto-approve
         The following resources will be deleted:
           delete resources.jobs.my_job
        @@ -151,3 +24,5 @@
         All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/test-bundle-[UNIQUE_NAME]/default
         
         Destroy: 4 deleted
        +
        +Exit code: 1
TestAccept/bundle/config-remote-sync/permissions/other_identity/can_manage/DMS=: branch ✅ | main (e6f3460) ❌ | latest (v1.28.0) ❌

main (e6f3460):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/permissions/other_identity/can_manage/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-syncpermissionsother_identity2496323359/002/output.txt
        @@ -15,21 +15,33 @@
         === The current identity runs config-remote-sync
         
         >>> [CLI] bundle config-remote-sync --save
        -No changes detected.
        +Detected changes in 1 resource(s):
         
        +Resource: resources.jobs.my_job
        +  permissions: add
         
        +
        +
         >>> diff.py databricks.yml.backup databricks.yml
        +--- databricks.yml.backup
        ++++ databricks.yml
        +@@ -9,2 +9,5 @@
        +     my_job:
        +       name: test-job-[UNIQUE_NAME]
        ++      permissions:
        ++        - level: IS_OWNER
        ++          service_principal_name: [TEST_SP_APPLICATION_ID]
         
         === The service principal deploys the synced config
         
         >>> as-test-sp [CLI] bundle deploy
         Uploading bundle files to /Workspace/Users/[TEST_SP_APPLICATION_ID]/.bundle/test-bundle-[UNIQUE_NAME]/files...
        -Files: 0 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
        +Created jobs.my_job.permissions
        +Files: 1 uploaded, 0 deleted
        +Resources: 1 created, 0 changed, 0 deleted, 1 unchanged
         
         === The job's ACL after the deploy
         
        -CAN_MANAGE [USERNAME]
         IS_OWNER [TEST_SP_APPLICATION_ID]
         
         >>> as-test-sp [CLI] bundle destroy --auto-approve

latest (v1.28.0): same output as main (e6f3460)

TestAccept/bundle/config-remote-sync/permissions/other_identity/can_manage/DMS=true: branch ✅ | main (e6f3460) ❌ | latest (v1.28.0) ❌

main (e6f3460):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/permissions/other_identity/can_manage/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-syncpermissionsother_identity3674319789/002/output.txt
        @@ -15,21 +15,33 @@
         === The current identity runs config-remote-sync
         
         >>> [CLI] bundle config-remote-sync --save
        -No changes detected.
        +Detected changes in 1 resource(s):
         
        +Resource: resources.jobs.my_job
        +  permissions: add
         
        +
        +
         >>> diff.py databricks.yml.backup databricks.yml
        +--- databricks.yml.backup
        ++++ databricks.yml
        +@@ -9,2 +9,5 @@
        +     my_job:
        +       name: test-job-[UNIQUE_NAME]
        ++      permissions:
        ++        - level: IS_OWNER
        ++          service_principal_name: [TEST_SP_APPLICATION_ID]
         
         === The service principal deploys the synced config
         
         >>> as-test-sp [CLI] bundle deploy
         Uploading bundle files to /Workspace/Users/[TEST_SP_APPLICATION_ID]/.bundle/test-bundle-[UNIQUE_NAME]/files...
        -Files: 0 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
        +Created jobs.my_job.permissions
        +Files: 1 uploaded, 0 deleted
        +Resources: 1 created, 0 changed, 0 deleted, 1 unchanged
         
         === The job's ACL after the deploy
         
        -CAN_MANAGE [USERNAME]
         IS_OWNER [TEST_SP_APPLICATION_ID]
         
         >>> as-test-sp [CLI] bundle destroy --auto-approve

latest (v1.28.0): same output as main (e6f3460)

TestAccept/bundle/config-remote-sync/permissions/other_identity/experiment/DMS=: branch ✅ | main (e6f3460) ❌ | latest (v1.28.0) ❌

main (e6f3460):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/permissions/other_identity/experiment/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-syncpermissionsother_identity2454655203/002/output.txt
        @@ -15,22 +15,34 @@
         === The current identity runs config-remote-sync
         
         >>> [CLI] bundle config-remote-sync --save
        -No changes detected.
        +Detected changes in 1 resource(s):
         
        +Resource: resources.experiments.my_experiment
        +  permissions: add
         
        +
        +
         >>> diff.py databricks.yml.backup databricks.yml
        +--- databricks.yml.backup
        ++++ databricks.yml
        +@@ -9,2 +9,5 @@
        +     my_experiment:
        +       name: /Users/[TEST_SP_APPLICATION_ID]/test-experiment-[UNIQUE_NAME]
        ++      permissions:
        ++        - level: CAN_MANAGE
        ++          service_principal_name: [TEST_SP_APPLICATION_ID]
         
         === The service principal deploys the synced config
         
         >>> as-test-sp [CLI] bundle deploy
         Uploading bundle files to /Workspace/Users/[TEST_SP_APPLICATION_ID]/.bundle/test-bundle-[UNIQUE_NAME]/files...
        -Files: 0 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
        +Created experiments.my_experiment.permissions
        +Files: 1 uploaded, 0 deleted
        +Resources: 1 created, 0 changed, 0 deleted, 1 unchanged
         
         === The experiment's ACL after the deploy
         
         CAN_MANAGE [TEST_SP_APPLICATION_ID]
        -CAN_MANAGE [USERNAME]
         
         >>> as-test-sp [CLI] bundle destroy --auto-approve
         The following resources will be deleted:

latest (v1.28.0): same output as main (e6f3460)

TestAccept/bundle/config-remote-sync/permissions/other_identity/experiment/DMS=true: branch ✅ | main (e6f3460) ❌ | latest (v1.28.0) ❌

main (e6f3460):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/permissions/other_identity/experiment/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-syncpermissionsother_identity1937281386/002/output.txt
        @@ -15,22 +15,34 @@
         === The current identity runs config-remote-sync
         
         >>> [CLI] bundle config-remote-sync --save
        -No changes detected.
        +Detected changes in 1 resource(s):
         
        +Resource: resources.experiments.my_experiment
        +  permissions: add
         
        +
        +
         >>> diff.py databricks.yml.backup databricks.yml
        +--- databricks.yml.backup
        ++++ databricks.yml
        +@@ -9,2 +9,5 @@
        +     my_experiment:
        +       name: /Users/[TEST_SP_APPLICATION_ID]/test-experiment-[UNIQUE_NAME]
        ++      permissions:
        ++        - level: CAN_MANAGE
        ++          service_principal_name: [TEST_SP_APPLICATION_ID]
         
         === The service principal deploys the synced config
         
         >>> as-test-sp [CLI] bundle deploy
         Uploading bundle files to /Workspace/Users/[TEST_SP_APPLICATION_ID]/.bundle/test-bundle-[UNIQUE_NAME]/files...
        -Files: 0 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
        +Created experiments.my_experiment.permissions
        +Files: 1 uploaded, 0 deleted
        +Resources: 1 created, 0 changed, 0 deleted, 1 unchanged
         
         === The experiment's ACL after the deploy
         
         CAN_MANAGE [TEST_SP_APPLICATION_ID]
        -CAN_MANAGE [USERNAME]
         
         >>> as-test-sp [CLI] bundle destroy --auto-approve
         The following resources will be deleted:

latest (v1.28.0): same output as main (e6f3460)

TestAccept/bundle/config-remote-sync/permissions/other_identity/handover/DMS=: branch ✅ | main (e6f3460) ❌ | latest (v1.28.0) ❌

main (e6f3460):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/permissions/other_identity/handover/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-syncpermissionsother_identity1700053141/002/output.txt
        @@ -15,18 +15,38 @@
         === The current identity runs config-remote-sync
         
         >>> [CLI] bundle config-remote-sync --save
        -No changes detected.
        +Detected changes in 1 resource(s):
         
        +Resource: resources.jobs.my_job
        +  permissions: add
         
        +
        +
         >>> diff.py databricks.yml.backup databricks.yml
        +--- databricks.yml.backup
        ++++ databricks.yml
        +@@ -9,2 +9,5 @@
        +     my_job:
        +       name: test-job-[UNIQUE_NAME]
        ++      permissions:
        ++        - level: CAN_MANAGE
        ++          service_principal_name: [TEST_SP_APPLICATION_ID]
         
         === The service principal takes over the deployment and deploys the synced config
         
         >>> errcode as-test-sp [CLI] bundle deploy
         Uploading bundle files to /Workspace/Users/[TEST_SP_APPLICATION_ID]/.bundle/test-bundle-[UNIQUE_NAME]/files...
        -Files: 0 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
        +Error: cannot create resources.jobs.my_job.permissions: [TEST_SP_APPLICATION_ID] does not have Manage permissions on Jobs: only workspace admins can change the owner of a job. Please contact the owner or an administrator for access. (403 PERMISSION_DENIED)
         
        +Endpoint: PUT [DATABRICKS_URL]/api/2.0/permissions/jobs/[MY_JOB_ID]
        +HTTP Status: 403 Forbidden
        +API error_code: PERMISSION_DENIED
        +API message: [TEST_SP_APPLICATION_ID] does not have Manage permissions on Jobs: only workspace admins can change the owner of a job. Please contact the owner or an administrator for access.
        +
        +Files: 1 uploaded, 0 deleted
        +
        +Exit code: 1
        +
         === The job's ACL after the deploy
         
         CAN_MANAGE [TEST_SP_APPLICATION_ID]

latest (v1.28.0): same output as main (e6f3460)

TestAccept/bundle/config-remote-sync/permissions/other_identity/handover/DMS=true: branch ✅ | main (e6f3460) ❌ | latest (v1.28.0) ❌

main (e6f3460):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/permissions/other_identity/handover/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-syncpermissionsother_identity1300795195/002/output.txt
        @@ -15,18 +15,38 @@
         === The current identity runs config-remote-sync
         
         >>> [CLI] bundle config-remote-sync --save
        -No changes detected.
        +Detected changes in 1 resource(s):
         
        +Resource: resources.jobs.my_job
        +  permissions: add
         
        +
        +
         >>> diff.py databricks.yml.backup databricks.yml
        +--- databricks.yml.backup
        ++++ databricks.yml
        +@@ -9,2 +9,5 @@
        +     my_job:
        +       name: test-job-[UNIQUE_NAME]
        ++      permissions:
        ++        - level: CAN_MANAGE
        ++          service_principal_name: [TEST_SP_APPLICATION_ID]
         
         === The service principal takes over the deployment and deploys the synced config
         
         >>> errcode as-test-sp [CLI] bundle deploy
         Uploading bundle files to /Workspace/Users/[TEST_SP_APPLICATION_ID]/.bundle/test-bundle-[UNIQUE_NAME]/files...
        -Files: 0 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
        +Error: cannot create resources.jobs.my_job.permissions: [TEST_SP_APPLICATION_ID] does not have Manage permissions on Jobs: only workspace admins can change the owner of a job. Please contact the owner or an administrator for access. (403 PERMISSION_DENIED)
         
        +Endpoint: PUT [DATABRICKS_URL]/api/2.0/permissions/jobs/[MY_JOB_ID]
        +HTTP Status: 403 Forbidden
        +API error_code: PERMISSION_DENIED
        +API message: [TEST_SP_APPLICATION_ID] does not have Manage permissions on Jobs: only workspace admins can change the owner of a job. Please contact the owner or an administrator for access.
        +
        +Files: 1 uploaded, 0 deleted
        +
        +Exit code: 1
        +
         === The job's ACL after the deploy
         
         CAN_MANAGE [TEST_SP_APPLICATION_ID]

latest (v1.28.0): same output as main (e6f3460)

TestAccept/bundle/config-remote-sync/permissions/other_identity/no_grants/DMS=: branch ✅ | main (e6f3460) ❌ | latest (v1.28.0) ❌

main (e6f3460):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/permissions/other_identity/no_grants/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-syncpermissionsother_identity1931789714/002/output.txt
        @@ -14,17 +14,30 @@
         === The current identity runs config-remote-sync
         
         >>> [CLI] bundle config-remote-sync --save
        -No changes detected.
        +Detected changes in 1 resource(s):
         
        +Resource: resources.jobs.my_job
        +  permissions: add
         
        +
        +
         >>> diff.py databricks.yml.backup databricks.yml
        +--- databricks.yml.backup
        ++++ databricks.yml
        +@@ -9,2 +9,5 @@
        +     my_job:
        +       name: test-job-[UNIQUE_NAME]
        ++      permissions:
        ++        - level: IS_OWNER
        ++          service_principal_name: [TEST_SP_APPLICATION_ID]
         
         === The service principal deploys the synced config
         
         >>> as-test-sp [CLI] bundle deploy
         Uploading bundle files to /Workspace/Users/[TEST_SP_APPLICATION_ID]/.bundle/test-bundle-[UNIQUE_NAME]/files...
        -Files: 0 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
        +Created jobs.my_job.permissions
        +Files: 1 uploaded, 0 deleted
        +Resources: 1 created, 0 changed, 0 deleted, 1 unchanged
         
         >>> as-test-sp [CLI] bundle destroy --auto-approve
         The following resources will be deleted:

latest (v1.28.0): same output as main (e6f3460)

TestAccept/bundle/config-remote-sync/permissions/other_identity/no_grants/DMS=true: branch ✅ | main (e6f3460) ❌ | latest (v1.28.0) ❌

main (e6f3460):

acceptance_test.go:1402: Diff:
        --- bundle/config-remote-sync/permissions/other_identity/no_grants/output.txt
        +++ /tmp/TestAcceptbundleconfig-remote-syncpermissionsother_identity2151373204/002/output.txt
        @@ -14,17 +14,30 @@
         === The current identity runs config-remote-sync
         
         >>> [CLI] bundle config-remote-sync --save
        -No changes detected.
        +Detected changes in 1 resource(s):
         
        +Resource: resources.jobs.my_job
        +  permissions: add
         
        +
        +
         >>> diff.py databricks.yml.backup databricks.yml
        +--- databricks.yml.backup
        ++++ databricks.yml
        +@@ -9,2 +9,5 @@
        +     my_job:
        +       name: test-job-[UNIQUE_NAME]
        ++      permissions:
        ++        - level: IS_OWNER
        ++          service_principal_name: [TEST_SP_APPLICATION_ID]
         
         === The service principal deploys the synced config
         
         >>> as-test-sp [CLI] bundle deploy
         Uploading bundle files to /Workspace/Users/[TEST_SP_APPLICATION_ID]/.bundle/test-bundle-[UNIQUE_NAME]/files...
        -Files: 0 uploaded, 0 deleted
        -Resources: 0 created, 0 changed, 0 deleted, 1 unchanged
        +Created jobs.my_job.permissions
        +Files: 1 uploaded, 0 deleted
        +Resources: 1 created, 0 changed, 0 deleted, 1 unchanged
         
         >>> as-test-sp [CLI] bundle destroy --auto-approve
         The following resources will be deleted:

latest (v1.28.0): same output as main (e6f3460)

28 more failure details omitted, see the full report in the run.

@denik
denik force-pushed the pmr/sync-permissions-no-import branch from a314c91 to 342fd07 Compare November 28, 2026 00:05
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: 8eaf9e3

Run: 46088533264

Env 🤯​MISS 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux-2core-8gb 1 284 53 12:19
💚​ aws-windows-latest-4core-16gb 1 173 90 3:46
🤯​ azure linux-2core-8gb 61 1 178 27 4:03
🤯​ azure-windows-latest-4core-16gb 61 1 172 29 3:10
🤯​ gcp linux-2core-8gb 61 1 200 20 6:08
🤯​ gcp-windows-latest-4core-16gb 61 1 173 29 3:38
62 interesting tests: 61 MISS, 1 RECOVERED
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
🤯​ TestAccept/bundle/config-remote-sync/cli_defaults ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/cluster_override_existing_key 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/cluster_override_merge_key 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/cluster_policy_cross_target ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/cluster_policy_remote_addition ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/cluster_policy_replaces_array 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/config_edits ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/dashboard_etag ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/external_cluster_policy_cross_target ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/flushed_cache ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/formatting_preserved ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/job_fields ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/job_multiple_tasks ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/job_params_variables ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/job_pipeline_task ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/job_run_as_sources 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/json_status_missing_state ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/json_status_selectors ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/merge_key_inherited 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/missing_cluster_policy 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/multiple_files ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/multiple_resources ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/null_parent 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/output_json ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/output_no_changes ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/pipeline_fields ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/policy_injected_cluster_fields ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/remove_multiple_tasks 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/resolve_variables ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/resource_keys 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/select_basic ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/select_multiple ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/skip_deployment ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/skip_permissions ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/anchored_override_field 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/cleared_key_override 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/cli_default_split_element 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/dotted_target 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/isolation 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/keyed_edit 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/keyed_remove 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/keyed_rename 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/keyed_twoblock 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/multifile 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/nested_add_split_parent 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/nested_sequence 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/positional 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/remove_field_both_blocks 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/remove_with_unrelated_add 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/rename_ambiguous_pairing 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/rename_ambiguous_single_block 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/rename_two_removes_one_add 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/target_variable 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/top_level_field_both_blocks 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/split/variable_file_order 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/target_override ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/task_rename_revert ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/terraform_state 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/validation_errors 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/variable_reference_parent 🙈​s 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
🤯​ TestAccept/bundle/config-remote-sync/yaml_anchors ✅​p 🙈​s 🤯​M 🤯​M 🤯​M 🤯​M
Top 8 slowest tests (at least 2 minutes):
duration env testname
6:21 aws linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
6:18 aws linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=
4:21 gcp linux-2core-8gb TestAccept
4:05 aws linux-2core-8gb TestAccept
3:44 aws-windows-latest-4core-16gb TestAccept
3:36 gcp-windows-latest-4core-16gb TestAccept
3:19 azure linux-2core-8gb TestAccept
3:08 azure-windows-latest-4core-16gb TestAccept

@denik
denik force-pushed the pmr/sync-permissions-no-import branch from 342fd07 to 4cfa034 Compare November 28, 2026 00:26
…onfig-remote-sync

The bundle does not manage that ACL. A permissions block written for it
replaces the ACL on every later deploy, by any identity and to any target,
and it was written from the point of view of the identity that synced.
Permissions the config declares are still synced per principal.

aws: TestAccept/bundle/config-remote-sync
gcp: TestAccept/bundle/config-remote-sync/permissions

Co-authored-by: Isaac <no-reply@databricks.com>
@denik
denik force-pushed the pmr/sync-permissions-no-import branch from 4cfa034 to 8eaf9e3 Compare November 28, 2026 00:32

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants