Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update-dependencies with an arcade update can sometimes take an excessive time #4231

Open
mmitche opened this issue Dec 9, 2024 · 0 comments

Comments

@mmitche
Copy link
Member

mmitche commented Dec 9, 2024

If update-dependencies is run with an arcade BAR build ID, it appears that the process takes an excessive amount of time gathering up the arcade files, at least if they are being obtained from AzDO. It hink most of this time is spent in:

public async Task<string> GetTokenForAccountAsync(string account)
{
    var credential = GetCredential(account);
    return (await credential.GetTokenAsync(new TokenRequestContext([AzureDevOpsScope]), cancellationToken: default)).Token;
}
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

No branches or pull requests

1 participant