Skip to content

Add more server-side defaults to config sync - #4534

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

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

Conversation

@ilyakuz-db

@ilyakuz-dbilyakuz-db commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Collaborator

Commit: 89be85c

Run: 22110648447

Env💚​RECOVERED🙈​SKIP✅​pass🙈​skipTime
💚​azure linux262717636:00
💚​azure windows262737614:48
8 interesting tests: 6 SKIP, 2 RECOVERED
Test Nameazure linuxazure 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):
durationenvtestname
2:16azure windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:12azure linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:07azure windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:05azure linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct

@eng-dev-ecosystem-bot

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

Copy link
Copy Markdown
Collaborator

Commit: 6484d9a

Run: 22119208298

Env🔄​flaky💚​RECOVERED🙈​SKIP✅​pass🙈​skipTime
🔄​aws linux3262717638:53
💚​aws windows262767614:39
💚​aws-ucws linux263706797:14
💚​aws-ucws windows263726775:48
🔄​azure linux1262707636:32
💚​azure windows262737614:41
💚​azure-ucws linux2636967713:44
💚​azure-ucws windows2637167510:05
💚​gcp linux262677668:58
💚​gcp windows262697645:26
11 interesting tests: 6 SKIP, 3 flaky, 2 RECOVERED
Test Nameaws linuxaws windowsaws-ucws linuxaws-ucws windowsazure linuxazure windowsazure-ucws linuxazure-ucws windowsgcp linuxgcp 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):
durationenvtestname
5:59gcp linuxTestAccept/ssh/connection
5:45azure-ucws linuxTestAccept/ssh/connection
5:17gcp linuxTestSecretsPutSecretStringValue
5:03aws linuxTestSecretsPutSecretStringValue
4:59aws-ucws linuxTestAccept/ssh/connection
4:16azure-ucws linuxTestSecretsPutSecretStringValue
3:57aws-ucws windowsTestAccept/ssh/connection
3:41gcp windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:38gcp windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:18gcp linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:16azure-ucws linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:07gcp windowsTestAccept/ssh/connection
3:02azure-ucws windowsTestAccept/ssh/connection
3:02aws linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:59gcp windowsTestSecretsPutSecretStringValue
2:48aws-ucws windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:47azure linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:43aws windowsTestSecretsPutSecretStringValue
2:42aws windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:42aws windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:37aws-ucws linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:36azure linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:34aws linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:33gcp linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:27azure-ucws windowsTestSecretsPutSecretStringValue
2:18aws linuxTestAccept/ssh/connection
2:12azure windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:10aws-ucws linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:09azure-ucws linuxTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:09azure-ucws windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:09aws-ucws windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:08azure windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:01azure-ucws windowsTestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct

@ilyakuz-dbilyakuz-db changed the title More server-side defaultsAdd more server-side defaults to config syncFeb 17, 2026
"resources.jobs.*.job_clusters[*].new_cluster.single_user_name": alwaysSkip,

// Standalone cluster fields
"resources.clusters.*.aws_attributes": alwaysSkip,

Copy link
Copy Markdown
ContributorAuthor

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 queueFeb 18, 2026
Merged via the queue into main with commit 8528ad3Feb 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
Copy Markdown
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
Copy Markdown
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

denik pushed a commit that referenced this pull request May 20, 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
<!-- How have you tested the changes? -->
Updated test-server, added more resources in acceptance tests
<!-- If your PR needs to be included in the release notes for the next
release,
add a separate entry in NEXT_CHANGELOG.md as part of your PR. -->
Sign up for freeto 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

@ilyakuz-db@eng-dev-ecosystem-bot@denik