You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Show CI status and failure details in just gh-issues PR table #143
Enhance the just gh-issues PR table to show CI pipeline status for each open PR. When checks fail, show which check(s) failed. Include a clickable link to the CI run overview on GitHub.
Problem Statement
When reviewing open PRs via just gh-issues, there's no visibility into CI status. You have to open each PR on GitHub to see if checks are passing, failing, or still running. This slows down triage and review prioritization.
Proposed Solution
Add a CI column to the PR table in scripts/gh_issues.py:
Fetch statusCheckRollup from the gh pr list JSON output (already available, zero extra API calls).
Make the CI cell a clickable link to the PR's checks tab (https://github.com/{owner}/{repo}/pull/{num}/checks).
Alternatives Considered
A separate just gh-ci command — adds fragmentation, CI status is most useful in the PR context.
Showing full check details — too noisy for a summary table; failed check names are sufficient.
Impact
Developer workflow improvement — faster triage of PRs.
No breaking change; additive column in existing table.
Acceptance Criteria
PR table shows CI column with pass/fail/pending summary
Activity
gerchowl commentedon Feb 21, 2026
Design
1. Data Acquisition
Add
statusCheckRollupto the existing_fetch_prs()JSON field list. Zero extra API calls —gh pr list --jsonalready supports this field.The
statusCheckRolluppayload is an array of objects:{ "__typename": "CheckRun", "name": "Project Checks", "status": "COMPLETED", "conclusion": "SUCCESS" }Relevant fields:
status(COMPLETED, IN_PROGRESS, QUEUED) andconclusion(SUCCESS, FAILURE, NEUTRAL, SKIPPED, CANCELLED).2. New Pure Functions
_summarize_ci(checks: list[dict]) -> tuple[str, str, int, int]Returns
(symbol, style, passed_count, total_count).("—", "dim", 0, 0)total= len(checks)passed= checks wherestatus == "COMPLETED"andconclusionin{SUCCESS, NEUTRAL, SKIPPED}failed= checks wherestatus == "COMPLETED"andconclusionnot in that setfailed > 0→("✗", "red", passed, total)passed == total→("✓", "green", passed, total)("⏳", "yellow", passed, total)_failed_check_names(checks: list[dict]) -> list[str]Returns sorted list of
namevalues for checks that completed with a non-success conclusion.3. Cell Rendering (inside
_build_pr_table)4. Column Definition
New column inserted before Review (column order: #, Title, Author, Assignee, Issues, Branch, CI, Review, Reviewer, Delta):
5. Error Handling
statusCheckRollupmissing orNone→ treated as empty list → dashstatus/conclusion/name→ default to empty strings via.get(), won't count as passed or failed (treated as in-progress).get()pattern6. Testing Strategy
Pure unit tests (no mocking), matching existing test style:
_summarize_ci_failed_check_names7. Files Changed
scripts/gh_issues.pystatusCheckRollupto_fetch_prs, add_summarize_ci,_failed_check_names, add CI column + cell in_build_pr_tabletests/test_gh_issues.pyTestSummarizeCiandTestFailedCheckNamestest classestest(gh-issues): add tests for _format_ci_status CI column
feat(gh-issues): add CI status column to PR table
feat(gh-issues): show CI status and failure details in PR table (#146)
gerchowl commentedon Feb 23, 2026
Implemented in PR #146 (merged 2026-02-21). CI status column is live in
just gh-issues.chore: release 0.3.0 (#270)