Skip to content

fix: use in-memory store in keyring tests to avoid macOS keychain permission dialog#2367

Merged
dgageot merged 1 commit intodocker:mainfrom
dgageot:board/fix-macos-keychain-permission-dialog-in-7f9c6cf8
Apr 10, 2026
Merged

fix: use in-memory store in keyring tests to avoid macOS keychain permission dialog#2367
dgageot merged 1 commit intodocker:mainfrom
dgageot:board/fix-macos-keychain-permission-dialog-in-7f9c6cf8

Conversation

@dgageot
Copy link
Copy Markdown
Member

@dgageot dgageot commented Apr 10, 2026

Keyring token store tests were calling NewKeyringTokenStore() which, on macOS, opens the real keychain and triggers a system permission dialog during go test. Replaced with NewInMemoryTokenStore() since these tests validate the OAuthTokenStore interface contract, not the keychain integration itself.

@dgageot dgageot requested a review from a team as a code owner April 10, 2026 08:17
@dgageot dgageot merged commit b355a29 into docker:main Apr 10, 2026
8 checks passed
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