dotnet / dotnet/arcade-services

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

Open
#4,231 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
86
Forks
86
Avg merge
1d 8h
Merged PRs (30d)
35

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.