Skip to content

testdiff: leave repeated single values unnumbered - #7420

Merged
janniklasrose merged 1 commit into
mainfrom
janniklasrose/acc/distinct-single-value
Nov 10, 2026
Merged

janniklasrose merged 1 commit into
mainfrom
janniklasrose/acc/distinct-single-value

Conversation

@janniklasrose

@janniklasrose janniklasrose commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Changes

Add numeric suffixes for Distinct replacements only when an output contains multiple distinct values. A repeated single value now stays unsuffixed: [HASH][0] becomes [HASH]. Includes the corresponding acceptance golden updates.

Why

Keep numbering focused on distinguishing different values. This is the generic prerequisite for the UUID numbering stack, followed by #7020, #7423, and #7021.

Tests

Unit coverage checks single matches, repeated identical values, and multiple distinct values. Formatting, checks, lint, and the full test suite passed on the completed stack; #7021 records the transient retry.

This change was split and validated with Codex.

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Commit: 3d50b7c40 | Workflow run

Regression test report

Selected 20 changed tests (limit=20, 4 not selected)

36 tests: regression=0 unreleased=0 coverage=36 failing=0
test branch main (b694c4c) latest (v1.25.0)
TestAccept/bundle/artifacts/artifact_path_with_volume/volume_doesnot_exist/DMS= ✅ ✅ ✅
TestAccept/bundle/artifacts/artifact_path_with_volume/volume_doesnot_exist/DMS=true ✅ ✅ ✅
TestAccept/bundle/artifacts/artifact_path_with_volume/volume_not_deployed/DMS= ✅ ✅ ✅
TestAccept/bundle/artifacts/artifact_path_with_volume/volume_not_deployed/DMS=true ✅ ✅ ✅
TestAccept/bundle/deploy/readplan/whl-upload/DMS= ✅ ✅ ✅
TestAccept/bundle/integration_whl/serverless_extras_dynamic_version/DMS= ✅ ✅ ✅
TestAccept/bundle/integration_whl/serverless_extras_dynamic_version/DMS=true ✅ ✅ ✅
TestAccept/bundle/migrate/command/default-python/DMS= ✅ ✅ ✅
TestAccept/bundle/migrate/command/grants/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/dashboards/detect-change/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/dashboards/detect-change/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/job_runs/retried_run_now/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/job_runs/retried_run_now/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/basic/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/basic/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/recreate/catalog-name/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/recreate/catalog-name/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/recreate/name-change/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/recreate/name-change/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/recreate/route-optimized/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/recreate/route-optimized/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/recreate/schema-name/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/recreate/schema-name/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/recreate/table-prefix/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/recreate/table-prefix/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/update/ai-gateway/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/update/ai-gateway/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/update/both_gateway_and_tags/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/update/both_gateway_and_tags/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/update/config/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/update/config/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/update/email-notifications/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/update/email-notifications/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/update/tags/DMS= ✅ ✅ ✅
TestAccept/bundle/resources/model_serving_endpoints/update/tags/DMS=true ✅ ✅ ✅
TestAccept/bundle/resources/vector_search_indexes/recreate/with_endpoint/DMS= ✅ ✅ ✅

@eng-dev-ecosystem-bot

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

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: 3d50b7c

Run: 42721330533

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 283 35 4:19
✅​ aws-windows-latest-4core-16gb 285 33 4:10
✅​ azure linux-2core-8gb 282 35 4:33
✅​ azure-windows-latest-4core-16gb 284 33 4:15
✅​ gcp linux-2core-8gb 283 35 4:16
✅​ gcp-windows-latest-4core-16gb 285 33 4:10
Top 3 slowest tests (at least 2 minutes):
duration env testname
3:10 azure-windows-latest-4core-16gb TestAccept
3:09 aws-windows-latest-4core-16gb TestAccept
3:08 gcp-windows-latest-4core-16gb TestAccept

@janniklasrose
janniklasrose force-pushed the janniklasrose/acc/distinct-single-value branch from 4d2a3b5 to 3d50b7c Compare November 9, 2026 23:30
@janniklasrose
janniklasrose removed this pull request from stack #7421 November 9, 2026 23:31
@janniklasrose
janniklasrose added this pull request to stack #7424 November 9, 2026 23:31
@janniklasrose
janniklasrose marked this pull request as ready for review November 10, 2026 09:57
@janniklasrose
janniklasrose requested review from a team as code owners November 10, 2026 09:57
@janniklasrose
janniklasrose added this pull request to the merge queue Nov 10, 2026
Merged via the queue into main with commit ab94990 Nov 10, 2026
27 checks passed
@janniklasrose
janniklasrose deleted the janniklasrose/acc/distinct-single-value branch November 10, 2026 12:06
idelafuente-oc pushed a commit to idelafuente-oc/cli that referenced this pull request Nov 11, 2026
…databricks#7020)

## Changes

Add opt-in UUID numbering through `UniqueUUID`, defaulting to `false`,
with unit tests and acceptance selftests. Existing goldens stay
unchanged.

## Why

Keep the UUID replacement implementation separate from the golden
updates. This is layer 2 after databricks#7420: databricks#7423 prepares affected tests,
then databricks#7021 removes the temporary option and enables numbering
unconditionally.

## Tests

`go test ./libs/testdiff ./acceptance/internal` and both UUID acceptance
selftests passed on this layer.

_This PR was written by Isaac and revised with Codex._

Co-authored-by: Isaac <no-reply@databricks.com>
@denik denik added the test-only-fix PRs that update failing of flaky tests without changing CLI code. label Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues test-only-fix PRs that update failing of flaky tests without changing CLI code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants