Skip to content

Conversation

@orslow
Copy link

@orslow orslow commented Jan 23, 2026

Changes

Sort depends_on array within each job task by task_key to ensure consistent ordering.

Why

The Databricks API returns depends_on sorted by task_key. When the local configuration has depends_on not sorted alphabetically, Terraform detects a diff even though there are no actual changes. This causes unnecessary "change" actions in bundle plan output.

Tests

Built the CLI locally and compared bundle plan output before and after the change, verified that jobs with depends_on in non-alphabetical order no longer show false diffs.

@github-actions
Copy link

An authorized user can trigger integration tests manually by following the instructions below:

Trigger:
go/deco-tests-run/cli

Inputs:

  • PR number: 4363
  • Commit SHA: 49cc5634d875f5c720e52afdeca65b59c5e94612

Checks will be approved automatically on success.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant