Skip to content

Conversation

@endgame
Copy link
Collaborator

@endgame endgame commented Mar 10, 2025

Previously, we were recursing through the provider list inside the exception handler, which resulted in authentication methods being tried back-to-front.

@matteoeghirotta @pbrisbin please confirm whether this fixes your issue.

Closes #1023
Fixes #1018

@endgame endgame added this to the 2.1 milestone Mar 10, 2025
Previously, we were recursing through the provider list inside the
exception handler, which resulted in authentication methods being
tried back-to-front.
@pbrisbin
Copy link
Contributor

I can confirm the slow down is gone for me.

@endgame
Copy link
Collaborator Author

endgame commented Mar 10, 2025

Thank you.

@endgame endgame merged commit 5bc343d into brendanhay:main Mar 10, 2025
1 of 5 checks passed
@endgame endgame deleted the catch-auth-exceptions-correctly branch March 10, 2025 23:07
jerith666 added a commit to jerith666/nixpkgs that referenced this pull request Jun 23, 2025
@lf- lf- mentioned this pull request Nov 25, 2025
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.

newEnv discover adds excessive latency in latest code

2 participants