Repository navigation
feat(gh-issues): show CI status and failure details in PR table - #146
Merged
Merged
Conversation
Refs: #143 Co-authored-by: Cursor <[email protected]>
- Fetch statusCheckRollup from gh pr list (zero extra API calls) - Display pass/fail/pending summary with failed check names - CI cell links to PR checks page on GitHub Refs: #143 Co-authored-by: Cursor <[email protected]>
4 tasks
4 tasks
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Adds a CI status column to the
just gh-issuesPR table, showing pass/fail/pending summary per PR with failed check names and a clickable link to the GitHub checks page. UsesstatusCheckRollupfromgh pr listJSON — zero extra API calls.Type of Change
feat-- New featureModifiers
!) -- This change breaks backward compatibilityChanges Made
scripts/gh_issues.pystatusCheckRollupto_fetch_prs()JSON field list_format_ci_status(pr, owner_repo)function: summarizes checks as✓ 6/6(green),⏳ 3/6(yellow), or✗ 5/6 Failed Check(red); returns Rich markup with clickable link to PR checks tab_build_pr_tablebefore the Review columntests/test_gh_issues.pyTestFormatCiStatustest class covering: all passed, failures with names, in-progress, empty/missing rollup, neutral/skipped conclusions, missing fieldsCHANGELOG.md## Unreleased→### AddedChangelog Entry
Added
Testing
just test)Manual Testing Details
TDD workflow: failing tests committed first (
c23ed1d), then implementation committed (ae377de). 64/64 tests passing.Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Design approved in issue comment. Implementation uses a single pure function (
_format_ci_status) consistent with existing patterns like_infer_reviewand_extract_reviewers.Refs: #143