Skip to content

BrokerServer should not retry on 401.#4445

Merged
TingluoHuang merged 1 commit into
mainfrom
users/tihuang/401
Jun 8, 2026
Merged

BrokerServer should not retry on 401.#4445
TingluoHuang merged 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

@TingluoHuang TingluoHuang force-pushed the users/tihuang/401 branch 2 times, most recently from f6d1f63 to fd13d1f Compare May 28, 2026 13:19
Copy link
Copy Markdown
Collaborator

@thboop thboop left a comment

Choose a reason for hiding this comment

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

lgtm

@TingluoHuang TingluoHuang enabled auto-merge (squash) June 8, 2026 13:49
@TingluoHuang TingluoHuang merged commit 7e0ff4d into main Jun 8, 2026
11 checks passed
@TingluoHuang TingluoHuang deleted the users/tihuang/401 branch June 8, 2026 13:50
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.

4 participants