feat(github): Add get_check_run method to GitHub client#108434
Merged
feat(github): Add get_check_run method to GitHub client#108434
Conversation
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]>
srest2021
approved these changes
Feb 19, 2026
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]>
1 task
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
get_check_run(repo, check_run_id)method to the GitHub client to fetch a single check run by ID viaGET /repos/{owner}/{repo}/check-runs/{check_run_id}create_check_runandget_check_runsTest plan
test_get_check_runtesttest_create_check_runandtest_get_check_runstests still passMade with Cursor