Skip to content

acc: update postgres update_mask=spec factcheck for new backend behavior - #7308

Merged
denik merged 1 commit into
mainfrom
denik/postgres-spec-mask-no-500
Nov 3, 2026
Merged

denik merged 1 commit into
mainfrom
denik/postgres-spec-mask-no-500

Conversation

@denik

@denik denik commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Changes

Since 2026-11-02 ~16:00 UTC the postgres API no longer returns 500 for update-project ... spec when the body omits a non-default default_endpoint_settings. It now applies the request and keeps the stored settings (patch semantics). This PR:

  • removes the 500 emulation from the testserver (wholeSpecMasked, isNonDefaultEndpointSettings, nextTraceID, all now unused),
  • updates the factcheck/update_mask_spec golden and script comment,
  • drops the [TRACE_ID] replacement, which only that error used.

Why

factcheck/update_mask_spec has failed on every AWS cloud run since then: 28 failures across Linux and Windows.

Dashboard:

=== update_mask=spec with a body that now omits the non-default default_endpoint_settings
>>> [CLI] postgres update-project projects/factcheck-spec-[UNIQUE_NAME] spec --json {"spec":{"display_name":"changed2","pg_version":16,"history_retention_duration":"604800s"}}
-Error: The request could not be processed. Please try again later and contact Databricks if the problem persists. [TraceId: [TRACE_ID]]
+{
+  "name": "projects/factcheck-spec-[UNIQUE_NAME]",
...
+    "default_endpoint_settings": {
+      "autoscaling_limit_max_cu": 4,
+      "autoscaling_limit_min_cu": 0.5,
+      "suspend_timeout_duration": "300s"
+    },
+    "display_name": "changed2",

Tests

  • Local: go test ./acceptance -run TestAccept/bundle/resources/postgres -update changes only this golden.
  • Cloud (AWS): factcheck/update_mask_spec and factcheck/update_mask_star pass.

This pull request and its description were written by Isaac.

Since 2026-11-02 the postgres API no longer returns 500 for update_mask=spec with a
body that omits non-default default_endpoint_settings; it keeps the stored settings.
Drop the 500 emulation from the testserver and update the golden.

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions github-actions Bot added the DABs DABs related issues label Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Commit: f4bdbc6e6 | Workflow run

Regression test report

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

1 tests: regression=0 unreleased=0 coverage=1 failing=0

test branch main (c6955d8) latest (v1.23.0)
TestAccept/bundle/resources/postgres_projects/factcheck/update_mask_spec ✅ ✅ ✅

@denik
denik marked this pull request as ready for review November 3, 2026 12:23
@denik
denik requested review from a team as code owners November 3, 2026 12:23
@denik
denik enabled auto-merge November 3, 2026 12:25
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: f4bdbc6

Run: 41634026430

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 272 15 9:17
✅​ aws-windows-latest-4core-16gb 274 13 5:21
✅​ azure linux-2core-8gb 270 16 9:25
✅​ azure-windows-latest-4core-16gb 272 14 5:01
✅​ gcp linux-2core-8gb 271 16 8:08
✅​ gcp-windows-latest-4core-16gb 273 14 4:50
Top 6 slowest tests (at least 2 minutes):
duration env testname
4:17 aws linux-2core-8gb TestAccept
4:13 azure linux-2core-8gb TestAccept
4:10 gcp linux-2core-8gb TestAccept
3:06 azure-windows-latest-4core-16gb TestAccept
2:59 gcp-windows-latest-4core-16gb TestAccept
2:58 aws-windows-latest-4core-16gb TestAccept

@denik
denik added this pull request to the merge queue Nov 3, 2026
Merged via the queue into main with commit aae07ca Nov 3, 2026
28 checks passed
@denik
denik deleted the denik/postgres-spec-mask-no-500 branch November 3, 2026 12:44
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: aae07ca

Run: 41638295057

Env ❌​FAIL 🤯​MISS 🔄​flaky ✅​pass 🙈​skip Time
❌​ aws linux-2core-8gb 13 22 1463 1228 354:09
❌​ aws-windows-latest-4core-16gb 3 33 1387 1253 351:33
🔄​ azure linux-2core-8gb 4 1339 1282 319:06
🔄​ azure-windows-latest-4core-16gb 10 1258 1307 332:24
❌​ gcp linux-2core-8gb 3 5 1322 1287 349:48
❌​ gcp-windows-latest-4core-16gb 4 8 1243 1312 351:04
75 interesting tests: 32 MISS, 23 flaky, 20 FAIL
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 🤯​M 🤯​M ✅​p ✅​p ❌​F ❌​F
🤯​ TestAccept/bundle/artifacts/artifact_path_with_volume/volume_doesnot_exist ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/artifacts/artifact_path_with_volume/volume_doesnot_exist/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/artifacts/artifact_path_with_volume/volume_doesnot_exist/DMS=true ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/debug/fetch-repository-info ✅​p 🤯​M ✅​p ✅​p ❌​F ❌​F
❌​ TestAccept/bundle/debug/fetch-repository-info/DMS= ✅​p 🤯​M ✅​p ✅​p ❌​F ❌​F
❌​ TestAccept/bundle/debug/fetch-repository-info/DMS=true ✅​p 🤯​M ✅​p ✅​p 🔄​f ❌​F
❌​ TestAccept/bundle/deploy/spark-jar-task ✅​p ❌​F ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/deploy/spark-jar-task/DMS= ✅​p ❌​F ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/deploy/spark-jar-task/DMS=true ✅​p ❌​F ✅​p ✅​p ✅​p ✅​p
🔄​ TestAccept/bundle/deployment/bind/pipelines/recreate ✅​p ✅​p 🔄​f 🔄​f ✅​p 🔄​f
🔄​ TestAccept/bundle/deployment/bind/pipelines/recreate/DMS= ✅​p ✅​p ✅​p 🔄​f ✅​p 🔄​f
🔄​ TestAccept/bundle/deployment/bind/pipelines/recreate/DMS=true ✅​p ✅​p 🔄​f ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/deployment/bind/secret-scope ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/deployment/bind/secret-scope/DMS=true ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
🔄​ TestAccept/bundle/dms/no-drift ✅​p ✅​p ✅​p 🔄​f ✅​p ✅​p
🔄​ TestAccept/bundle/dms/no-drift/DMS=true ✅​p ✅​p ✅​p 🔄​f ✅​p ✅​p
🤯​ TestAccept/bundle/generate/auto-bind 🤯​M ✅​p ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/invariant/delete_idempotent 🤯​M ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN= ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1 🤯​M ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN= ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1 ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN= ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1 ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
🔄​ TestAccept/bundle/resources/apps/lifecycle-started ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
🔄​ TestAccept/bundle/resources/apps/lifecycle-started-omitted ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
🔄​ TestAccept/bundle/resources/apps/lifecycle-started-omitted/DMS= ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
🔄​ TestAccept/bundle/resources/apps/lifecycle-started-toggle ✅​p ✅​p 🔄​f ✅​p ✅​p ✅​p
🔄​ TestAccept/bundle/resources/apps/lifecycle-started-toggle/DMS= ✅​p ✅​p 🔄​f ✅​p ✅​p ✅​p
🔄​ TestAccept/bundle/resources/apps/lifecycle-started/DMS= ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
🔄​ TestAccept/bundle/resources/cluster_policies/out_of_band_change ✅​p ✅​p ✅​p 🔄​f ✅​p ✅​p
🔄​ TestAccept/bundle/resources/cluster_policies/out_of_band_change/DMS=true ✅​p ✅​p ✅​p 🔄​f ✅​p ✅​p
🔄​ TestAccept/bundle/resources/cluster_policies/policy_family_definition ✅​p ✅​p ✅​p 🔄​f ✅​p ✅​p
🔄​ TestAccept/bundle/resources/cluster_policies/policy_family_definition/DMS= ✅​p ✅​p ✅​p 🔄​f ✅​p ✅​p
🔄​ TestAccept/bundle/resources/clusters/lifecycle-started ✅​p ✅​p ✅​p 🔄​f ✅​p ✅​p
🔄​ TestAccept/bundle/resources/clusters/lifecycle-started-toggle ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🔄​ TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=true ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🔄​ TestAccept/bundle/resources/clusters/lifecycle-started/DMS= ✅​p ✅​p ✅​p 🔄​f ✅​p ✅​p
❌​ TestAccept/bundle/resources/genie_spaces/change-serialized-space ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/resources/genie_spaces/change-serialized-space/DMS= ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/resources/grants/volumes ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/resources/grants/volumes/DMS=true ❌​F ✅​p ✅​p ✅​p ✅​p ✅​p
❌​ TestAccept/bundle/resources/postgres_endpoints/recreate ❌​F ✅​p 🙈​s 🙈​s 🙈​s 🙈​s
❌​ TestAccept/bundle/resources/postgres_endpoints/recreate/DMS= ❌​F ✅​p
🔄​ TestAccept/bundle/resources/quality_monitors/change_assets_dir ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🔄​ TestAccept/bundle/resources/quality_monitors/change_assets_dir/DMS= ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
🤯​ TestAccept/bundle/resources/vector_search_endpoints/basic ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/resources/vector_search_endpoints/basic/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name/DMS=true ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/resources/vector_search_indexes/basic ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/resources/vector_search_indexes/basic/DMS= ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/resources/vector_search_indexes/grants/select ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestAccept/bundle/resources/vector_search_indexes/grants/select/DMS=true ✅​p 🤯​M ✅​p ✅​p ✅​p ✅​p
🔄​ TestAccept/bundle/resources/volumes/comment_out_of_band ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
🔄​ TestAccept/bundle/resources/volumes/comment_out_of_band/DMS= ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
🤯​ TestCIUniqueName 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestClassifyRegression 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestDbrAcceptance 🤯​M 🤯​M 🙈​s 🙈​s 🙈​s 🙈​s
🤯​ TestInprocessMode 🤯​M 🤯​M 🙈​s 🙈​s 🙈​s 🙈​s
🤯​ TestInvariantConfigsCoverage 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestLeafTests 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestParseTestOutput 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestRenderRegressionReport 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestRenderRegressionReportDedupesIdenticalFailures 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestSubsetApproximatesPct 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestSubsetChangedAlwaysRuns 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestSubsetChangedVariantFilter 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestSubsetChangedVariantFilterAlternatives 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestSubsetDisabled 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestSubsetPctBoundaries 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestSubsetSeedChangesSelection 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestSubsetSeedDeterministic 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
🤯​ TestSubsetVariantsIndependent 🤯​M 🤯​M ✅​p ✅​p ✅​p ✅​p
Top 50 slowest tests (at least 2 minutes):
duration env testname
11:33 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
11:32 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
11:27 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
11:24 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
10:35 aws-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
10:33 azure linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
10:23 aws-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
10:22 azure linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
10:21 aws linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
10:05 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
10:03 azure-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
9:49 azure-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
9:41 azure-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
9:39 aws linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
9:31 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
9:24 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
9:05 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
9:04 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/deploy/local_ssd_count/DMS=
9:02 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job.yml.tmpl/READPLAN=
8:53 azure linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1
8:49 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
8:47 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
8:47 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
8:45 aws linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
8:35 azure-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
8:34 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_with_depends_on.yml.tmpl/READPLAN=
8:33 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=
8:21 aws linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
8:19 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
8:14 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_permission_ref.yml.tmpl/READPLAN=
8:01 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_libraries.yml.tmpl/READPLAN=1
7:49 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
7:47 gcp linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1
7:41 aws linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=vector_search_index.yml.tmpl/READPLAN=1
7:37 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/no_drift/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
7:37 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=job_cross_resource_ref.yml.tmpl/READPLAN=
7:36 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
7:34 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
7:27 aws linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
7:26 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=true
7:22 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/deploy/local_ssd_count/DMS=true
7:19 aws linux-2core-8gb TestAccept/bundle/invariant/no_drift/DMS=true/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
7:18 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=model_with_permissions.yml.tmpl/READPLAN=1
7:08 gcp-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=app.yml.tmpl/READPLAN=1
7:05 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=instance_pool.yml.tmpl/READPLAN=
7:05 azure linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
7:04 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=experiment.yml.tmpl/READPLAN=
7:03 aws-windows-latest-4core-16gb TestAccept/bundle/invariant/destroy_idempotent/DMS=/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1
7:02 azure linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
7:01 aws linux-2core-8gb TestAccept/bundle/invariant/delete_idempotent/DMS=/INPUT_CONFIG=app.yml.tmpl/READPLAN=

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