Skip to content

acceptance: always distinguish UUIDs in test output - #7021

Draft
janniklasrose wants to merge 1 commit into
janniklasrose/acc/uuid-compatible-testsfrom
janniklasrose/acc/uuid-unique-on-by-default
Draft

janniklasrose wants to merge 1 commit into
janniklasrose/acc/uuid-compatible-testsfrom
janniklasrose/acc/uuid-unique-on-by-default

Conversation

@janniklasrose

@janniklasrose janniklasrose commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Changes

Remove the temporary UniqueUUID option and always distinguish UUIDs. Remove its obsolete opt-out tests and regenerate acceptance goldens: the 115 regenerated golden files contain only UUID numeric-suffix changes.

Why

Expected output should distinguish different UUIDs consistently. #7423 handles the immutable and template tests, so this PR needs no test-script or comparison-helper fixes.

Tests

./task test-update, ./task fmt, ./task checks, ./task lint, and ./task test passed. The acceptance runner retried two transient job-references Git-metadata failures successfully; all final results passed, including both immutable variants and the template comparisons.

This PR was written by Isaac and revised with Codex.

denik
denik previously approved these changes Oct 12, 2026
matches := repl.Old.FindAllString(s, -1)
if len(matches) <= 1 {
// Assign a stable [N] suffix per distinct matched value, in order of first
// appearance. Number only when there is more than one distinct value: a lone

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'd send this change as separate PR, to separate all those diffs unrelate to UUIDs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Split out into #7420: it contains the generic Distinct change and the non-UUID golden updates. #7423 contains the test compatibility fixes. This PR now only removes the temporary UniqueUUID option and its obsolete tests, and updates the UUID goldens.

"name": "schema-[UNIQUE_NAME]",
"owner": "[USERNAME]",
"schema_id": "[UUID]",
"updated_at": [UNIX_TIME_MILLIS][0],

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.

Why did [0] disappear here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

created_at and updated_at contain the same timestamp, so there is only one distinct value. The generic change adds suffixes only when there are multiple distinct values; repeated occurrences of a single value stay unsuffixed. That behavior and these timestamp golden changes now live in #7420. This PR only adds UUID numbering to metastore_id and schema_id in this file.

@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

❌ Integration test report

Commit: 4190d12

Run: 42721332984

Env ❌​FAIL ✅​pass 🙈​skip Time
❌​ aws linux-2core-8gb 5 320 44 8:30
❌​ aws-windows-latest-4core-16gb 5 322 42 11:17
❌​ azure linux-2core-8gb 5 316 45 9:11
❌​ azure-windows-latest-4core-16gb 5 318 43 12:08
❌​ gcp linux-2core-8gb 11 311 45 5:48
❌​ gcp-windows-latest-4core-16gb 5 319 43 11:18
11 interesting tests: 11 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 ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/resources/materialization_sets/batch ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/resources/materialization_sets/batch/DMS= ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/resources/materialization_sets/removal_scope ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
❌​ TestAccept/bundle/resources/materialization_sets/removal_scope/DMS= ❌​F ❌​F ❌​F ❌​F ❌​F ❌​F
❌​ TestFilerWorkspaceNotebook ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
❌​ TestFilerWorkspaceNotebook/rJupyterNb.ipynb ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
❌​ TestFilerWorkspaceNotebook/rNb.r ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
❌​ TestFilerWorkspaceNotebook/scalaJupyterNb.ipynb ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
❌​ TestFilerWorkspaceNotebook/scalaNb.scala ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
❌​ TestFilerWorkspaceNotebook/sqlNb.sql ✅​p ✅​p ✅​p ✅​p ❌​F ✅​p
Top 1 slowest tests (at least 2 minutes):
duration env testname
2:26 azure linux-2core-8gb TestAccept/bundle/resources/job_runs/failed_run/DMS=

@janniklasrose
janniklasrose force-pushed the janniklasrose/acc/uuid-unique-on-by-default branch from 767640b to 8fabaa1 Compare November 9, 2026 22:54
@janniklasrose
janniklasrose removed this pull request from stack #7022 November 9, 2026 22:55
@janniklasrose
janniklasrose added this pull request to stack #7421 November 9, 2026 22:55
@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Commit: 4190d12bb | Workflow run

Regression test report

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

25 tests: regression=0 unreleased=0 coverage=25 failing=0
test branch main (b694c4c) latest (v1.25.0)
TestAccept/air/run-submit ✅ ✅ ✅
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/immutable/basic/DMS= ✅ ✅ ✅
TestAccept/bundle/deploy/immutable/breakglass/DMS= ✅ ✅ ✅
TestAccept/bundle/deploy/immutable/destroy-redeploy/DMS= ✅ ✅ ✅
TestAccept/bundle/deploy/immutable/dev-mode/DMS= ✅ ✅ ✅
TestAccept/bundle/deploy/immutable/legacy-state/DMS= ✅ ✅ ✅
TestAccept/bundle/deploy/immutable/no-artifacts/DMS=/READPLAN= ✅ ✅ ✅
TestAccept/bundle/deploy/immutable/no-artifacts/DMS=/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/deploy/immutable/permissions-change/DMS= ✅ ✅ ✅
TestAccept/bundle/deploy/immutable/select/DMS= ✅ ✅ ✅
TestAccept/bundle/deploy/readplan/whl-upload/DMS= ✅ ✅ ✅
TestAccept/bundle/dms/immutable-folder/DMS=true/READPLAN= ✅ ✅ ✅
TestAccept/bundle/dms/immutable-folder/DMS=true/READPLAN=1 ✅ ✅ ✅
TestAccept/bundle/integration_whl/serverless_extras_dynamic_version/DMS= ✅ ✅ ✅
TestAccept/bundle/integration_whl/serverless_extras_dynamic_version/DMS=true ✅ ✅ ✅
TestAccept/bundle/migrate/command/basic/DMS= ✅ ✅ ✅
TestAccept/bundle/migrate/command/default-python/DMS= ✅ ✅ ✅
TestAccept/bundle/migrate/command/grants/DMS= ✅ ✅ ✅
TestAccept/bundle/migrate/command/permissions/DMS= ✅ ✅ ✅
TestAccept/bundle/migrate/command/runas/DMS= ✅ ✅ ✅
TestAccept/selftest/uuid ✅ ✅ ✅

@janniklasrose
janniklasrose force-pushed the janniklasrose/acc/uuid-unique-on-by-default branch from 8fabaa1 to 4190d12 Compare November 9, 2026 23:30
@janniklasrose
janniklasrose removed this pull request from stack #7421 November 9, 2026 23:31
@janniklasrose
janniklasrose changed the base branch from janniklasrose/acc/uuid-unique-knob to janniklasrose/acc/uuid-compatible-tests November 9, 2026 23:31
@janniklasrose
janniklasrose added this pull request to stack #7424 November 9, 2026 23:31
@janniklasrose janniklasrose changed the title acceptance: number distinct UUIDs by default (UniqueUUID on) acceptance: always distinguish UUIDs in test output Nov 9, 2026

This branch has not been deployed

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

Labels

AIR Databricks AI Runtime CLI DABs DABs related issues PyDABs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants