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 ownerMay 22, 2026 02:37
CopilotAI review requested due to automatic review settings May 22, 2026 02:37

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

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
FileDescription
src/Runner.Common/BrokerServer.csStops retries when broker requests fail with VssUnauthorizedException (401).
.gitignoreIgnores .lscache artifacts and normalizes an existing ignore pattern line.

Copilot's findings

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

@TingluoHuang
TingluoHuangforce-pushed the users/tihuang/401 branch 2 times, most recently from f6d1f63 to fd13d1fCompareMay 28, 2026 13:19

@thboopthboop left a comment

Copy link
Copy Markdown
Collaborator

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 mainJun 8, 2026
11 checks passed
@TingluoHuang
TingluoHuang deleted the users/tihuang/401 branch June 8, 2026 13:50
Sign up for freeto 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

@TingluoHuang@rentziass@thboop