Skip to content

Remove temp backcompat code. - #4633

Merged
TingluoHuang merged 1 commit into
mainfrom
users/tihuang/removecode
Aug 14, 2026
Merged

Remove temp backcompat code.#4633
TingluoHuang merged 1 commit into
mainfrom
users/tihuang/removecode

Conversation

@TingluoHuang

Copy link
Copy Markdown
Member

Copilot AI lite review requested due to automatic review settings August 14, 2026 03:46
@TingluoHuang
TingluoHuang requested a review from a team as a code owner August 14, 2026 03:46

Copilot AI 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

This PR removes temporary backward-compatibility handling in BrokerHttpClient.GetRunnerMessageAsync, relying on the broker’s structured error responses rather than a legacy 403 Forbidden fallback.

Changes:

  • Removed the special-case HttpStatusCode.Forbidden handling that threw an AccessDeniedException with a deprecation message.
  • Kept structured error-body parsing to map BrokerErrorKind.RunnerVersionTooOld to AccessDeniedException with ErrorCode = 1.
Show a summary per file
File Description
src/Sdk/WebApi/WebApi/BrokerHttpClient.cs Removes legacy 403 back-compat exception path for runner message retrieval.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread src/Sdk/WebApi/WebApi/BrokerHttpClient.cs
@TingluoHuang
TingluoHuang merged commit 02eb22a into main Aug 14, 2026
21 of 22 checks passed
@TingluoHuang
TingluoHuang deleted the users/tihuang/removecode branch August 14, 2026 15:14
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.

5 participants