Skip to content

Conversation

@Tejas-Kochar
Copy link
Contributor

@Tejas-Kochar Tejas-Kochar commented Jan 8, 2026

What changes are proposed in this pull request?

This makes writes to the token store to avoid cache corruption from concurrent writes. It does this using write-then-rename.

How is this tested?

Existing token store tests (credentials/u2m/cache/file_test.go).

Manually tested databricks-cli auth type with existing profile, it continued to work.


NO_CHANGELOG=true

@github-actions
Copy link

github-actions bot commented Jan 8, 2026

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-go

Inputs:

  • PR number: 1406
  • Commit SHA: 427b41bb689b0d2a3e322c2218b812ef84d01a09

Checks will be approved automatically on success.

Copy link
Contributor

@renaudhartert-db renaudhartert-db left a comment

Choose a reason for hiding this comment

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

👍

@Tejas-Kochar Tejas-Kochar added this pull request to the merge queue Jan 9, 2026
Merged via the queue into main with commit c6318b8 Jan 9, 2026
15 checks passed
@Tejas-Kochar Tejas-Kochar deleted the token-store-atomic branch January 9, 2026 07:47
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