Skip to content

acc: redact ?w= workspace ID in default-python/combinations - #7416

Merged
pavloKozlov merged 1 commit into
mainfrom
acc-combinations-redact-workspace-id
Nov 9, 2026
Merged

pavloKozlov merged 1 commit into
mainfrom
acc-combinations-redact-workspace-id

Conversation

@pavloKozlov

Copy link
Copy Markdown
Contributor

Changes

Strip ?[ow]=[WORKSPACE_ID] from the output of the default-python/combinations tests, like integration_classic and other cloud tests already do.

Why

After #7350, built-in templates add ?w=<id> to the host when the workspace ID comes from a profile or an env var. Cloud runs of the acceptance tests pass the workspace ID to the CLI as DATABRICKS_WORKSPACE_ID, so all 32 combinations print ?w= and fail in the nightly runs. Local runs don't set it, so nothing changes there.

Tests

The golden output doesn't change. A local run with Env.DATABRICKS_WORKSPACE_ID set in test.toml (to mimic cloud) hits the same diff as the nightly without this change. The next nightly run is the real check. The ?w= host itself is still pinned locally by default-minimal/profiles.

This pull request and its description were written by Isaac.

On cloud runs the acceptance harness passes the resolved workspace ID to the
CLI as DATABRICKS_WORKSPACE_ID, so built-in templates now add ?w=<id> to the
host. Strip it like integration_classic and other cloud tests do.

Co-authored-by: Isaac <no-reply@databricks.com>
@pavloKozlov
pavloKozlov marked this pull request as ready for review November 9, 2026 16:14
@pavloKozlov
pavloKozlov requested review from a team as code owners November 9, 2026 16:14
@pavloKozlov
pavloKozlov requested a review from anton-107 November 9, 2026 16:14
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: c7ef052

Run: 42652759140

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 271 15 4:10
✅​ aws-windows-latest-4core-16gb 273 13 3:18
✅​ azure linux-2core-8gb 270 15 4:21
✅​ azure-windows-latest-4core-16gb 272 13 3:07
✅​ gcp linux-2core-8gb 271 15 4:01
✅​ gcp-windows-latest-4core-16gb 273 13 3:10
Top 3 slowest tests (at least 2 minutes):
duration env testname
3:11 aws-windows-latest-4core-16gb TestAccept
3:02 gcp-windows-latest-4core-16gb TestAccept
2:56 azure-windows-latest-4core-16gb TestAccept

@pavloKozlov
pavloKozlov added this pull request to the merge queue Nov 9, 2026
Merged via the queue into main with commit fe59d1e Nov 9, 2026
25 checks passed
@pavloKozlov
pavloKozlov deleted the acc-combinations-redact-workspace-id branch November 9, 2026 17:37
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