Skip to content

test: run parse-offline auth guards on all SDK versions#1558

Merged
sd-db merged 1 commit into
mainfrom
test/parse-offline-guards-all-sdks
Jun 26, 2026
Merged

test: run parse-offline auth guards on all SDK versions#1558
sd-db merged 1 commit into
mainfrom
test/parse-offline-guards-all-sdks

Conversation

@sd-db

@sd-db sd-db commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Description

TestParseTimeIsOffline and TestEnsureConfigTriggersTheRightAuth were gated on the databricks-sdk>=0.103 host-metadata probe, so they were skipped on the min-deps floor (sdk 0.68.0). That gate is wrong for non-PAT auth: building a non-PAT Config does OIDC discovery — a network call on every SDK version (the path #940 hit on 1.10.x), not just probe-carrying ones. Drop the gate and its now-dead marker/import so both guards run on all SDK versions.

Test-only, pure deletion (−11 lines). Verified passing on sdk 0.117 and on the floor sdk 0.68.0 (skipped there before).

Context: #940 — the bug itself shipped fixed in 1.12.1 (#1474); this just hardens the regression guard.

Checklist

  • Ran in development; guards pass on current and min-deps SDK
  • Test-only change
  • CHANGELOG.md — n/a (test-only, not user-facing)

The offline-parse guards were skipped on the min-deps floor (sdk 0.68.0)
because the class was gated on the databricks-sdk>=0.103 host-metadata
probe. That gate is wrong for non-PAT auth, where building Config does
OIDC discovery (a network call on every SDK) -- the path #940 hit on
1.10.x. Drop the gate and its now-dead marker/import so the guards run
on all SDK versions, including min-deps.
@sd-db sd-db requested a review from jprakash-db as a code owner June 24, 2026 14:57
@github-actions

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

@sd-db

sd-db commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator Author

/integration-test min-deps

@github-actions

Copy link
Copy Markdown

Min-deps integration tests dispatched for PR #1558 by @sd-db. Track progress in the Actions tab.

@github-actions

Copy link
Copy Markdown

Min-deps integration results for PR #1558 — UC cluster ✅ success · SQL warehouse ✅ success · All-purpose cluster ✅ success · Shard coverage ✅ success

Run details.

@sd-db sd-db merged commit 018027f into main Jun 26, 2026
9 checks passed
@sd-db sd-db deleted the test/parse-offline-guards-all-sdks branch June 26, 2026 15:27
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.

2 participants