Skip to content

Conversation

@konstin
Copy link
Member

@konstin konstin commented Nov 18, 2025

Fixes #16447

Passing this around explicitly uncovers some behaviors where we pass e.g. the credentials store to reading the lockfile. The changes in this PR should preserve the existing behavior for now, they only make the locations we read from more explicit.

Labeling this PR as "Enhancement" instead of "Internal" in case this changes behavior when it shouldn't have.

@konstin konstin force-pushed the konsti/dont-use-a-global-mutable-credential-cache branch from 2d19aa5 to 920d5e1 Compare November 18, 2025 16:26
@konstin konstin temporarily deployed to uv-test-registries November 18, 2025 16:29 — with GitHub Actions Inactive
@konstin konstin force-pushed the konsti/dont-use-a-global-mutable-credential-cache branch from 920d5e1 to 2bd9262 Compare December 3, 2025 12:36
@konstin konstin temporarily deployed to uv-test-registries December 3, 2025 12:38 — with GitHub Actions Inactive
@konstin konstin changed the title Don't use a global static as credentials cache Use explicit credentials cache instead of global static Dec 3, 2025
@konstin konstin added the enhancement New feature or improvement to existing functionality label Dec 3, 2025
@konstin konstin force-pushed the konsti/dont-use-a-global-mutable-credential-cache branch from 2bd9262 to 49290de Compare December 3, 2025 12:45
@konstin konstin marked this pull request as ready for review December 3, 2025 12:47
@konstin konstin temporarily deployed to uv-test-registries December 3, 2025 12:47 — with GitHub Actions Inactive
@konstin konstin merged commit 05fa19c into main Dec 3, 2025
163 checks passed
@konstin konstin deleted the konsti/dont-use-a-global-mutable-credential-cache branch December 3, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test registry_client::tests::test_redirect_to_server_with_credentials is flaky

3 participants