Skip to content

BrokerServer should not retry on 401.#4445

Open
TingluoHuang wants to merge 1 commit into
mainfrom
users/tihuang/401
Open

BrokerServer should not retry on 401.#4445
TingluoHuang wants to merge 1 commit into
mainfrom
users/tihuang/401

Conversation

@TingluoHuang
Copy link
Copy Markdown
Member

No description provided.

@TingluoHuang TingluoHuang requested a review from a team as a code owner May 22, 2026 02:37
Copilot AI review requested due to automatic review settings May 22, 2026 02:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Prevents the runner’s broker polling logic from retrying when authentication fails (HTTP 401), avoiding repeated retry loops on unauthorized responses.

Changes:

  • Treat VssUnauthorizedException as non-retriable in BrokerServer.ShouldRetryException.
  • Update .gitignore to ignore *.lscache files (and normalize the existing *.DotSettings.user entry formatting).
Show a summary per file
File Description
src/Runner.Common/BrokerServer.cs Stops retries when broker requests fail with VssUnauthorizedException (401).
.gitignore Ignores .lscache artifacts and normalizes an existing ignore pattern line.

Copilot's findings

  • Files reviewed: 1/2 changed files
  • Comments generated: 0

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.

2 participants