Skip to content

feat(gh-issues): show CI status and failure details in PR table - #146

Merged
gerchowl merged 2 commits into
devfrom
feature/143-ci-status-pr-table
Feb 21, 2026
Merged

gerchowl merged 2 commits into
devfrom
feature/143-ci-status-pr-table

Conversation

@gerchowl

@gerchowl gerchowl commented Feb 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds a CI status column to the just gh-issues PR table, showing pass/fail/pending summary per PR with failed check names and a clickable link to the GitHub checks page. Uses statusCheckRollup from gh pr list JSON — zero extra API calls.

Type of Change

  • feat -- New feature

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • scripts/gh_issues.py
    • Added statusCheckRollup to _fetch_prs() JSON field list
    • New _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
    • Added CI column to _build_pr_table before the Review column
  • tests/test_gh_issues.py
    • Added TestFormatCiStatus test class covering: all passed, failures with names, in-progress, empty/missing rollup, neutral/skipped conclusions, missing fields
  • CHANGELOG.md
    • Added entry under ## Unreleased → ### Added

Changelog Entry

Added

  • CI status column in just gh-issues PR table (#143)
    • PR table shows CI column with pass/fail/pending summary (✓ 6/6, ⏳ 3/6, ✗ 5/6)
    • Failed check names visible when checks fail
    • CI cell links to GitHub PR checks page

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

TDD workflow: failing tests committed first (c23ed1d), then implementation committed (ae377de). 64/64 tests passing.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

Design approved in issue comment. Implementation uses a single pure function (_format_ci_status) consistent with existing patterns like _infer_review and _extract_reviewers.

Refs: #143

gerchowl and others added 2 commits February 21, 2026 23:00
- 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]>
@gerchowl
gerchowl merged commit 4c02f10 into dev Feb 21, 2026
14 checks passed
@gerchowl
gerchowl deleted the feature/143-ci-status-pr-table branch February 21, 2026 22:55
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.

1 participant