Skip to content

feat(github): Add get_check_run method to GitHub client#108434

Merged
armenzg merged 1 commit intomasterfrom
code-review-get-check-run
Feb 19, 2026
Merged

feat(github): Add get_check_run method to GitHub client#108434
armenzg merged 1 commit intomasterfrom
code-review-get-check-run

Conversation

@armenzg
Copy link
Copy Markdown
Member

@armenzg armenzg commented Feb 18, 2026

Summary

  • Add get_check_run(repo, check_run_id) method to the GitHub client to fetch a single check run by ID via GET /repos/{owner}/{repo}/check-runs/{check_run_id}
  • Follows the existing pattern of create_check_run and get_check_runs
  • Enables diagnosing stuck code review checks (e.g., checks stuck "in_progress" for hours) by querying their state directly from GitHub

Test plan

  • Added test_get_check_run test
  • Verified existing test_create_check_run and test_get_check_runs tests still pass

Made with Cursor

Add ability to fetch a single check run by ID from the GitHub API.
This enables diagnosing stuck code review checks by querying their
state directly from GitHub.

Co-authored-by: Cursor <[email protected]>
@armenzg armenzg requested a review from a team as a code owner February 18, 2026 15:14
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 18, 2026
@armenzg armenzg self-assigned this Feb 18, 2026
@armenzg armenzg requested a review from a team February 19, 2026 16:07
@armenzg armenzg merged commit b8a6643 into master Feb 19, 2026
108 of 119 checks passed
@armenzg armenzg deleted the code-review-get-check-run branch February 19, 2026 18:05
JonasBa pushed a commit that referenced this pull request Feb 19, 2026
## Summary

- Add `get_check_run(repo, check_run_id)` method to the GitHub client to
fetch a single check run by ID via `GET
/repos/{owner}/{repo}/check-runs/{check_run_id}`
- Follows the existing pattern of `create_check_run` and
`get_check_runs`
- Enables diagnosing stuck code review checks (e.g., checks stuck
"in_progress" for hours) by querying their state directly from GitHub

## Test plan

- [x] Added `test_get_check_run` test
- [x] Verified existing `test_create_check_run` and
`test_get_check_runs` tests still pass


Made with [Cursor](https://cursor.com)

Co-authored-by: Cursor <[email protected]>
mchen-sentry pushed a commit that referenced this pull request Feb 24, 2026
## Summary

- Add `get_check_run(repo, check_run_id)` method to the GitHub client to
fetch a single check run by ID via `GET
/repos/{owner}/{repo}/check-runs/{check_run_id}`
- Follows the existing pattern of `create_check_run` and
`get_check_runs`
- Enables diagnosing stuck code review checks (e.g., checks stuck
"in_progress" for hours) by querying their state directly from GitHub

## Test plan

- [x] Added `test_get_check_run` test
- [x] Verified existing `test_create_check_run` and
`test_get_check_runs` tests still pass


Made with [Cursor](https://cursor.com)

Co-authored-by: Cursor <[email protected]>
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

claude-code-assisted Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants