Skip to content

Add more server-side defaults to config sync#4534

Merged
ilyakuz-db merged 13 commits intomainfrom
more-server-side-defaults
Feb 18, 2026
Merged

Add more server-side defaults to config sync#4534
ilyakuz-db merged 13 commits intomainfrom
more-server-side-defaults

Conversation

@ilyakuz-db
Copy link
Contributor

@ilyakuz-db ilyakuz-db commented Feb 17, 2026

Changes

  1. More resources default to the test server.
  2. Filtering in config-remote-sync. Currently, defaults are hardcoded in config-remote-sync, will update in resource.yml once the config-remote-sync starts using bundle plan checker to determine skipped fields

Why

That was something that appeared in config-remote-sync when I tested it with different bundles

Tests

Updated test-server, added more resources in acceptance tests

@eng-dev-ecosystem-bot
Copy link
Collaborator

Commit: 89be85c

Run: 22110648447

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ azure linux 2 6 271 763 6:00
💚​ azure windows 2 6 273 761 4:48
8 interesting tests: 6 SKIP, 2 RECOVERED
Test Name azure linux azure windows
💚​ TestAccept 💚​R 💚​R
🙈​ TestAccept/bundle/resources/postgres_branches/basic 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/recreate 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/update_protected 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/without_branch_id 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_endpoints/recreate 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/synced_database_tables/basic 🙈​S 🙈​S
💚​ TestAccept/ssh/connection 💚​R 💚​R
Top 4 slowest tests (at least 2 minutes):
duration env testname
2:16 azure windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:12 azure linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:07 azure windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:05 azure linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct

@eng-dev-ecosystem-bot
Copy link
Collaborator

eng-dev-ecosystem-bot commented Feb 17, 2026

Commit: 6484d9a

Run: 22119208298

Env 🔄​flaky 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
🔄​ aws linux 3 2 6 271 763 8:53
💚​ aws windows 2 6 276 761 4:39
💚​ aws-ucws linux 2 6 370 679 7:14
💚​ aws-ucws windows 2 6 372 677 5:48
🔄​ azure linux 1 2 6 270 763 6:32
💚​ azure windows 2 6 273 761 4:41
💚​ azure-ucws linux 2 6 369 677 13:44
💚​ azure-ucws windows 2 6 371 675 10:05
💚​ gcp linux 2 6 267 766 8:58
💚​ gcp windows 2 6 269 764 5:26
11 interesting tests: 6 SKIP, 3 flaky, 2 RECOVERED
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🔄​ TestAccept/bundle/destroy/jobs-and-pipeline/DATABRICKS_BUNDLE_ENGINE=direct 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p
🔄​ TestAccept/bundle/destroy/jobs-and-pipeline/DATABRICKS_BUNDLE_ENGINE=terraform 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p
🙈​ TestAccept/bundle/resources/postgres_branches/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/recreate 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/update_protected 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/without_branch_id 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_endpoints/recreate 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/synced_database_tables/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestAccept/ssh/connection 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🔄​ TestGenerateFromExistingPipelineAndDeploy 🔄​f ✅​p ✅​p ✅​p 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p
Top 33 slowest tests (at least 2 minutes):
duration env testname
5:59 gcp linux TestAccept/ssh/connection
5:45 azure-ucws linux TestAccept/ssh/connection
5:17 gcp linux TestSecretsPutSecretStringValue
5:03 aws linux TestSecretsPutSecretStringValue
4:59 aws-ucws linux TestAccept/ssh/connection
4:16 azure-ucws linux TestSecretsPutSecretStringValue
3:57 aws-ucws windows TestAccept/ssh/connection
3:41 gcp windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:38 gcp windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:18 gcp linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:16 azure-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:07 gcp windows TestAccept/ssh/connection
3:02 azure-ucws windows TestAccept/ssh/connection
3:02 aws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:59 gcp windows TestSecretsPutSecretStringValue
2:48 aws-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:47 azure linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:43 aws windows TestSecretsPutSecretStringValue
2:42 aws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:42 aws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:37 aws-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:36 azure linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:34 aws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:33 gcp linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:27 azure-ucws windows TestSecretsPutSecretStringValue
2:18 aws linux TestAccept/ssh/connection
2:12 azure windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:10 aws-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:09 azure-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:09 azure-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:09 aws-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:08 azure windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:01 azure-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct

@ilyakuz-db ilyakuz-db changed the title More server-side defaults Add more server-side defaults to config sync Feb 17, 2026
@ilyakuz-db ilyakuz-db marked this pull request as ready for review February 18, 2026 08:33
"resources.jobs.*.job_clusters[*].new_cluster.single_user_name": alwaysSkip,

// Standalone cluster fields
"resources.clusters.*.aws_attributes": alwaysSkip,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hardcoded for now, will migrate this to using bundle_plan field checker in next PRs

@ilyakuz-db ilyakuz-db added this pull request to the merge queue Feb 18, 2026
Merged via the queue into main with commit 8528ad3 Feb 18, 2026
18 checks passed
@ilyakuz-db ilyakuz-db deleted the more-server-side-defaults branch February 18, 2026 11:33
}

if cluster.DataSecurityMode == "" {
cluster.DataSecurityMode = compute.DataSecurityModeSingleUser
Copy link
Contributor

Choose a reason for hiding this comment

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

I haven't seen this happening on bundle/invariant/no_drift, so maybe there is a condition missing.

Copy link
Contributor

Choose a reason for hiding this comment

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

Removed this in #4490

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.

3 participants