Skip to content

fix: use standard httpbase error response in runner handler and propagate upstream error in remote_runner#1238

Merged
HaiHui886 merged 6 commits into
mainfrom
sync_mr_2693_4d15634
Jul 8, 2026
Merged

fix: use standard httpbase error response in runner handler and propagate upstream error in remote_runner#1238
HaiHui886 merged 6 commits into
mainfrom
sync_mr_2693_4d15634

Conversation

@csg-pr-bot

Copy link
Copy Markdown
Collaborator

Summary:

  • Replaced inconsistent gin.H error responses in runner/handler/service.go with standardized httpbase error types to ensure uniform error formatting.
  • Propagated upstream error details (specifically result.Msg) in remote_runner.go when non-2xx status codes are returned, improving debuggability for deployment failures.

@csg-pr-bot

Copy link
Copy Markdown
Collaborator Author

Depends on #1237

@HaiHui886 HaiHui886 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

@HaiHui886
HaiHui886 merged commit a36088c into main Jul 8, 2026
7 checks passed
@HaiHui886
HaiHui886 deleted the sync_mr_2693_4d15634 branch July 8, 2026 01: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.

3 participants