Support refresh runner configs with pipelines service. (#3706)

This commit is contained in:
Tingluo Huang
2025-03-19 12:37:08 -04:00
committed by GitHub
parent 68ca457917
commit f5e4e7e47c
13 changed files with 1059 additions and 21 deletions

View File

@@ -533,7 +533,8 @@ namespace GitHub.Runner.Listener
}
else if (ex is TaskAgentPoolNotFoundException ||
ex is AccessDeniedException ||
ex is VssUnauthorizedException)
ex is VssUnauthorizedException ||
(ex is VssOAuthTokenRequestException oauthEx && oauthEx.Error != "server_error"))
{
Trace.Info($"Non-retriable exception: {ex.Message}");
return false;