Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
52fc603
perf(auth): share M2M discovery and tokens across live sessions
vuanhphung Nov 13, 2026
79281af
fix(auth): fail waiters with the refresh error when the token expired
vuanhphung Nov 13, 2026
8baa22f
fix(auth): share a failed M2M discovery with the opens waiting on it
vuanhphung Nov 13, 2026
8ee181f
fix(auth): don't share M2M auth between sessions with different trans…
vuanhphung Nov 13, 2026
73192cf
fix(auth): keep a still-valid token for waiters on a failed refresh
vuanhphung Nov 13, 2026
d4775a1
fix(auth): run the shared M2M discovery on the opener's own runtime
vuanhphung Nov 13, 2026
90ede11
fix(auth): retry once after a failed background refresh in a shared s…
vuanhphung Nov 13, 2026
9fae788
fix(auth): clear the refresh flag when a background refresh never runs
vuanhphung Nov 13, 2026
a1676bd
fix(auth): retry a failed background refresh only when the server nev…
vuanhphung Nov 13, 2026
5480bd0
test(auth): wait for the first discovery attempt instead of sleeping
vuanhphung Nov 13, 2026
14a1b92
refactor(client): destructure transport configs exhaustively in the f…
vuanhphung Nov 13, 2026
7a21909
fix(auth): retry after any refresh cut short, not only background ones
vuanhphung Nov 13, 2026
debf6a1
fix(auth): skip a refresh another caller just finished; don't retry t…
vuanhphung Nov 13, 2026
327df4e
fix(auth): the refreshing caller also keeps a still-valid token on fa…
vuanhphung Nov 13, 2026
fa60b31
test(auth): release refreshes only once a waiter is waiting
vuanhphung Nov 13, 2026
892ef71
fix(auth): log a failed refresh that falls back to the cached token
vuanhphung Nov 13, 2026
de07064
fix(auth): give waiters a cancelled outcome when the refresher panics
vuanhphung Nov 13, 2026
ca316e3
fix(auth): wait for a shared refresh off the tokio workers
vuanhphung Nov 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ changes go in their respective binding's NEXT_CHANGELOG.
with an optional partner entry from `adbc.databricks.user_agent_entry`
(`adbc.spark.user_agent_entry` is a compatibility alias). `User-Agent` in
`adbc.databricks.http.headers` is now rejected; use the dedicated entry option.
- OAuth M2M and Azure service-principal sessions in one process that use the
same host, client id, secret, scopes and HTTP transport settings share one
OIDC discovery and one access token while any of them is open, so opening
many sessions at once sends one token request instead of one per session.
(The Azure management token is still fetched per session.)

### Updated

Expand Down
Loading
Loading