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
[BUG] PR table Reviewer column shows requested reviewers instead of actual reviewers #105
The "Reviewer" column in the just gh-issues PR table displays users from reviewRequests (people who have been asked to review) rather than users from reviews (people who have actually submitted a review). This makes it appear as though a review has been submitted when none has.
Steps to Reproduce
Create a PR and add a reviewer via gh pr edit --add-reviewer <user>
Do not submit any review
Run just gh-issues
Observe the "Reviewer" column shows the requested reviewer's login with no distinction
Expected Behavior
The Reviewer column should distinguish between requested and completed reviewers:
Requested (pending): ?gerchowl — prefixed with ? to indicate awaiting review
Reviewed (submitted): gerchowl — plain name, no prefix
This way a single column conveys both states at a glance.
Actual Behavior
The "Reviewer" column shows gerchowl for PR #100 with no distinction, even though reviews is empty ([]) — only reviewRequests contains that user.
_extract_reviewers in scripts/gh_issues.py merges latestReviews and reviewRequests but displays both with similar styling. Requested reviewers (no review submitted) appear indistinguishable from actual reviewers.
Solution
Distinguish the two states in a single column:
State
Display
Style
Reviewed (from latestReviews)
login
green (APPROVED), red (CHANGES_REQUESTED) — unchanged
Requested (from reviewRequests, not yet reviewed)
?login
dim italic
Implementation
Modify _extract_reviewers: when state == "REQUESTED", render ?{login} with dim italic instead of yellow.
Update existing tests: test_requested_reviewer, test_mixed_reviewers, test_review_request_with_name_fallback to assert ? prefix and dim italic style.
Add regression test: PR with only reviewRequests (no latestReviews) shows ?login not plain login.
Data flow
_fetch_prs already includes reviewRequests and latestReviews in --json.
Task 1: Add failing test for requested reviewer with ? prefix and dim italic — tests/test_gh_issues.py — verify: just test tests/test_gh_issues.py::TestExtractReviewers::test_requested_reviewer fails with assertion on ? prefix
Task 2: Update _extract_reviewers to render REQUESTED state as ?login with dim italic — scripts/gh_issues.py — verify: just test tests/test_gh_issues.py
Task 3: Update test_mixed_reviewers and test_review_request_with_name_fallback for new format — tests/test_gh_issues.py — verify: just test tests/test_gh_issues.py
Activity
gerchowl commentedon Feb 21, 2026
Design
Problem
_extract_reviewersinscripts/gh_issues.pymergeslatestReviewsandreviewRequestsbut displays both with similar styling. Requested reviewers (no review submitted) appear indistinguishable from actual reviewers.Solution
Distinguish the two states in a single column:
latestReviews)loginreviewRequests, not yet reviewed)?loginImplementation
_extract_reviewers: whenstate == "REQUESTED", render?{login}withdim italicinstead ofyellow.test_requested_reviewer,test_mixed_reviewers,test_review_request_with_name_fallbackto assert?prefix and dim italic style.reviewRequests(nolatestReviews) shows?loginnot plainlogin.Data flow
_fetch_prsalready includesreviewRequestsandlatestReviewsin--json.gerchowl commentedon Feb 21, 2026
Implementation Plan
Issue: #105
Branch: bugfix/105-pr-table-actual-reviewers
Tasks
?prefix and dim italic —tests/test_gh_issues.py— verify:just test tests/test_gh_issues.py::TestExtractReviewers::test_requested_reviewerfails with assertion on?prefix_extract_reviewersto render REQUESTED state as?loginwith dim italic —scripts/gh_issues.py— verify:just test tests/test_gh_issues.pytests/test_gh_issues.py— verify:just test tests/test_gh_issues.pytest(gh_issues): expect ? prefix and dim italic for requested reviewers
fix(gh_issues): distinguish requested vs completed reviewers with ? p…
docs(changelog): add entry for PR table reviewer column fix
gerchowl commentedon Feb 21, 2026
Autonomous Run Complete
fix(gh-issues): PR table Reviewer column distinguishes requested vs c…