Skip to content

feat(github): github tab in devops dashboard with an oldest-first pr queue, pr inspector, failing-log view and api quota (tab-github) #685

Closed

Description

@dan-petty

Context & Rationale

devops dashboard and its alias devops tui (src/devops_cli/main.py:67) have five tabs: Kubernetes, Docker, Telemetry, AI Review and Valkey (config/constants.py:1942-1961). None of them covers GitHub. AGENTS.md:133 and :241-249 require pull requests to be worked oldest-first, and today that means running devops pr list, pr checks, pr threads list, pr monitor, gh runs view and gh rate-limit one at a time.

What already exists

  • Tab machinery.
    • Each domain is fetched on a worker thread into a thread-safe store. A failed fetch becomes an error banner shown over the last good data (ui/dashboard.py:225-230, ui/refresh.py:48-75, ui/state.py:103-119).
    • The HelpScreen tab hints, the digit keys and --tab <n|name> are built from CONST_DASHBOARD_DOMAINS (ui/dashboard.py:100-107, :139-149; commands/dashboard.py:32-37), so they need no per-tab edits.
    • ReviewPanel already shows two views of one domain as nested tabs (ui/widgets.py:192-261).
  • Checks and ordering.
  • Review threads. list_pr_review_threads raises GitHubOperationError when a read fails (github/pr_threads.py:72-85, :246-257).
  • Copilot state. pr monitor gets it from one reviews call and one timeline call (pr_monitor.py:637-640, :321-334, :509-522).
  • Quota.
    • The limiter doesn't pace run_gh(["api", "rate_limit"]) (github/rate_limiter.py:1434-1447, :1745).
    • That call checks the payload and stores limit, remaining, used and reset for each resource. A malformed payload raises GitHubRateLimitError (:1481-1497, :1681-1682).
    • get_all_quotas() returns the stored figures (:851-867).
    • Any GraphQL response that includes rateLimit updates the GraphQL figures (:524-546).
  • Actions.
    • devops gh runs view <run> --job <job> --log-failed masks its output (commands/gh.py:1792-1826).
    • The Logs tab streams any source of lines on a daemon thread (ui/widgets.py:339-348, :365-376).
    • Textual 8.2.8 (pyproject.toml:40) has App.open_url(url, *, new_tab=True).

What is missing or wrong for this tab

  • One timer for everything. Every domain refreshes on the same 5-second timer (ui/dashboard.py:192-195, :212-213; config/defaults.py:773). AGENTS.md:280 forbids polling at intervals shorter than a minute.
  • gh pr list can't feed an oldest-first queue.
  • The existing check reads fail open.
    • pr monitor gets its checks by joining _fetch_commit_check_runs and _fetch_commit_status_contexts (pr_monitor.py:488-492). Each returns [] when its read fails (:415-420, :456-462). If the check-runs read fails and one passing status is read, the result is a single passing check. refactor(github): read a pull request's checks once, fail-closed, for wait, monitor and readiness #769 tracks this.
    • fetch_pr_check_verdicts returns an empty summary with exit code 0 for a PR with no checks (check_verdict.py:102-115).
    • Its REST fallback reads check runs only (:248-282), so commit statuses disappear whenever gh pr checks fails.
  • Copilot state fails open. A failed timeline or reviews read reports Copilot as idle or completed (pr_monitor.py:331-334, :519-522, :377-390). The fix is a split-off.
  • devops gh rate-limit's parser can't run in a worker.
    • _parse_rate_limit_payload prints to the console and raises typer.Exit (commands/gh.py:1624-1642). In the dashboard, that print would land on top of the Textual screen.
    • The command also spends a core call (:1526-1528) and a GraphQL call (:1550-1558) on figures that /rate_limit already returns.
  • The limiter can sleep for up to an hour.
    • run_gh paces every call that isn't exempt with acquire(), which sleeps (rate_limiter.py:983-1010, :1745-1746).
    • With no requests remaining, the delay is the whole time until the quota resets (:430-431). There is no ceiling: DEFAULT_GH_MAX_RATE_LIMIT_WAIT = None (defaults.py:718).
    • Textual waits for thread workers to finish when it shuts down (ui/widgets.py:372-375). So a GitHub fetch asleep in acquire() would make q hang.
  • Not every check has an Actions log.
  • Registering a new panel.
    • A new panel class has to be added to _panel_for and to the per-class query in apply_snapshot (ui/dashboard.py:53-64, :248-252), or it never renders.
    • HELP.dashboard.tab is hardcoded to five tabs (lang/en/help.py:1211).
    • HelpScreen lists no inspector keys.

Measured 2026-10-01 with one read-only GraphQL query. The query asked for repository.pullRequests(first: 100, orderBy: {field: CREATED_AT, direction: ASC}) with:

  • the PR fields;
  • reviewThreads(first: 100) { isResolved };
  • the head commit's statusCheckRollup.contexts(first: 100).

It cost 3 points, returned #2, #3 and #4 first, and took 8.0 s. An identical first attempt returned an HTML error page. No PR had more than 30 threads or 6 checks, and none had a StatusContext entry. There are no open PRs today.

Scope & Deliverables

  • Deliverable: A github dashboard domain, added as tab 6 ("GitHub"). It includes:
    • CONST_DASHBOARD_DOMAIN_GITHUB and its label, appended to CONST_DASHBOARD_DOMAINS;
    • fetch_github_status, registered in DOMAIN_FETCHERS;
    • column, banner and row projections in ui/projections.py;
    • GitHubPanel, registered in _panel_for and apply_snapshot;
    • HELP.dashboard.tab listing 6=github, and HelpScreen documenting Enter (inspect), v and o.
  • Deliverable: A queue read in a new github/pr_queue.py:
    • One GraphQL query through run_gh. It handles errors the way _run_graphql_query does (pr_threads.py:72-85): a non-zero exit, empty output, bad JSON or a GraphQL errors array raises GitHubOperationError.
    • The list. pullRequests(states: OPEN, first: DEFAULT_DASHBOARD_GITHUB_PR_LIMIT, orderBy: {field: CREATED_AT, direction: ASC}), with totalCount.
    • For each PR:
      • number, title, url, createdAt, isDraft, baseRefName, reviewDecision, additions, deletions and changedFiles;
      • reviewThreads(first: 100) { pageInfo { hasNextPage } nodes { isResolved } };
      • the head commit's oid and its statusCheckRollup.contexts(first: 100), including pageInfo.hasNextPage.
    • Quota. The query also asks for rateLimit { limit remaining used resetAt }, so the limiter's GraphQL quota stays current.
    • Single PR. The inspector uses the same query in a single-PR form, pullRequest(number: $n).
    • Classification. Each rollup entry goes through classify_check_item:
      • a CheckRun as (name, status=, conclusion=, workflow=checkSuite.workflowRun.workflow.name, link=detailsUrl);
      • a StatusContext as (context, state=, link=targetUrl).
  • Deliverable: fetch_github_status(), which returns a GitHubSummary. It works in this order:
    1. It gets the repository from get_repo_origin_name() (core/repo.py:346). If that returns None, it raises "not a GitHub checkout" before any gh call.
    2. It reads the quota with run_gh(["api", "rate_limit"], quiet=True), then takes core and graphql from get_github_rate_limiter().get_all_quotas(). A non-zero exit or a GitHubRateLimitError leaves the quota unread.
    3. It runs the pacing guard (next deliverable) for graphql.
    4. It reads the queue and sorts it with sort_prs_oldest_first.
  • Deliverable: A pacing guard, run before every paced read: the queue, the inspector and v.
    • It reads the resource's quota with get_quota() (rate_limiter.py:1146) and works out the delay calculate_request_delay() would give (:412-434).
    • If that delay is longer than DEFAULT_DASHBOARD_GITHUB_MAX_PACING_SECONDS, it raises GitHubRateLimitError naming the reset time, and run_gh is never called.
    • If the quota is unknown, the read goes ahead. acquire() then refreshes the quota or raises (:869-901); it doesn't sleep on an unknown quota.
  • Deliverable: GitHubPanel, with a banner over two nested tabs, as ReviewPanel has:
    • Banner:
      • the number of open PRs, with "showing oldest N of M" when the list is cut short;
      • how many PRs have failing checks;
      • REST and GraphQL remaining/limit with the time to reset, or "quota unread".
    • Queue tab: number, title (drafts marked), base, age, checks, review decision, unresolved threads, and +/− with the file count.
    • Inspector tab:
      • It is filled when you press Enter on a queue row. The fetch runs on a worker thread, one at a time.
      • It reads the single-PR query, list_pr_review_threads(..., unresolved_only=True) and the Copilot state.
      • It shows the head commit, +/− and file count, the review decision, and a checks table (name, workflow, bucket, link), with non-passing checks first.
      • It lists the unresolved threads (path:line and first author).
      • It shows a Copilot line labelled "Copilot (as pr monitor reports it)".
  • Deliverable: get_copilot_review_status(owner, repo, pr_number, unresolved_threads) in github/pr_monitor.py. It makes the same reviews read and _detect_copilot_status call as get_pr_monitoring_status (pr_monitor.py:637-640), so the tab and pr monitor always agree.
  • Deliverable: Two panel keys, both acting on the PR shown in the inspector:
    • v, on the highlighted check:
      • If the check links to /actions/runs/<run>/job/<job>, it shows the output of gh run view <run> --job <job> --log-failed --repo <owner/repo> in the Logs tab, masked, followed by the exit code.
      • The command runs inside the Logs tab's line source.
      • For any other link, it shows a notice suggesting o.
    • o opens the PR's URL with App.open_url.
  • Deliverable: A shared run-view helper under github/.
    • It builds the gh run view argument list, calls run_gh with DEFAULT_GH_RUN_LOG_TIMEOUT_SECONDS, and returns the output masked.
    • runs_view_cmd (commands/gh.py:1792-1826) switches to it, so its timeout rises from 30 s to the new default.
  • Deliverable: A separate refresh schedule for GitHub:
    • The base timer refreshes every domain except github.
    • github refreshes every max(--refresh-interval, DEFAULT_DASHBOARD_GITHUB_REFRESH_SECONDS) seconds.
    • r refreshes github only if its last read started at least DEFAULT_DASHBOARD_GITHUB_REFRESH_SECONDS ago. Otherwise it shows a notice.
    • --refresh-interval 0 turns off both timers.
  • Deliverable: New defaults in config/defaults.py:
    • DEFAULT_DASHBOARD_GITHUB_REFRESH_SECONDS = 60
    • DEFAULT_DASHBOARD_GITHUB_STALE_SECONDS = 120
    • DEFAULT_DASHBOARD_GITHUB_PR_LIMIT = 50
    • DEFAULT_DASHBOARD_GITHUB_MAX_PACING_SECONDS = 5.0
    • DEFAULT_GH_RUN_LOG_TIMEOUT_SECONDS = 120.0
  • Deliverable: Supporting changes:
    • Tests in tests/test_ui_reactive.py and tests/test_ui_dashboard.py:
      • a GitHub entry in SAMPLES and in the patched_fetchers fixture (tests/test_ui_reactive.py:171, :922-934);
      • the panel-per-domain test (:947-958) extended to GitHubPanel.
    • CHANGELOG.md: an Added entry under [Unreleased].
    • Docs: regenerated with devops docs generate --sync-readme (docs/CLI_REFERENCE.md:8442, :8467; docs/commands/dashboard.md:21; docs/commands/tui.md:21).
    • Task file: the existing docs/agent/tasks/task-685-interactive-github-lifecycle-pr-monitor-projects-v2-kanban-h.md still describes the old scope and reads Status: Backlog.
      • Rewrite it to this scope and rename it to this title's slug.
      • Set **Status**: Done and link the issue only.
    • Roadmap: rewrite the docs/ROADMAP.md:605-610 entry to this scope and tick it.
  • Acceptance criteria:
    • Opening the tab.
      • The 6 key, devops dashboard --tab github and devops dashboard --tab 6 all open the GitHub tab.
      • --help lists 6=github, and HelpScreen lists Enter, v and o.
      • The panel-per-domain test finds a GitHubPanel for github.
    • Order. A stubbed queue read that returns feat(release): v0.1.11 #12, feat(ci): publish reusable devcontainer package and add tf FastMCP tools #7 and refactor(ai): optimize prompts, clean up command references, and refresh roadmap #9 lists them as 7, 9, 12. The query orders by CREATED_AT, ascending.
    • Check counts.
      • A rollup with CheckRuns FAILURE, IN_PROGRESS and three SUCCESS shows fail 1, pending 1, pass 3.
      • A StatusContext in state EXPECTED counts as unread. So does a CheckRun that is COMPLETED with no conclusion.
      • A null rollup shows none.
      • A rollup whose contexts have hasNextPage shows its counts marked as incomplete.
      • None of these shows as passing.
    • Threads.
      • A PR with 2 unresolved threads out of 5 shows 2.
      • A thread list with hasNextPage shows ?, never a number.
    • Failed queue read.
      • If the query raises GitHubOperationError, the error banner appears over the previous rows.
      • "No open pull requests" appears only after a successful read with totalCount 0.
    • Truncation. If totalCount is 73 and 50 PRs come back, the banner reads "showing oldest 50 of 73".
    • Repository. If get_repo_origin_name() returns None, the banner says the directory isn't a GitHub checkout, and run_gh is never called.
    • Quota.
      • A stubbed successful /rate_limit read shows core and GraphQL remaining/limit and the time to reset.
      • If the read exits non-zero or raises GitHubRateLimitError, the banner shows "quota unread" and the queue still renders.
      • Nothing is written to stdout.
    • Pacing guard.
      • Take a stubbed limiter whose graphql quota is 0, with the reset 30 minutes away. A refresh calls run_gh only for api rate_limit. It shows an error naming the reset time over the previous rows. It never calls time.sleep (patched to fail).
      • The inspector and v behave the same way for the resources they use.
    • Inspector.
      • The fetch runs on a worker thread. A stubbed fetch that blocks doesn't stop you switching tabs.
      • Pressing Enter again while a fetch is running shows a notice and starts nothing.
      • It makes no REST check-runs or /status read and doesn't call get_pr_monitoring_status. The stubbed run_gh records every argument list, and the test checks them.
      • If the single-PR read raises, the inspector shows "PR #n unread: " and no checks.
      • If the thread read raises, it shows "threads unread: ". Neither case shows as passing or as zero.
      • Checks are listed non-passing first.
      • The Copilot line is labelled "as pr monitor reports it".
    • o calls App.open_url with the URL of the PR in the inspector.
    • v.
      • On a check linking to /actions/runs/1/job/2, it runs gh run view 1 --job 2 --log-failed --repo o/r with DEFAULT_GH_RUN_LOG_TIMEOUT_SECONDS.
      • The Logs tab shows the masked output and ends with the exit code.
      • On a /runs/<id> link, it shows a notice and runs nothing.
      • The runs-view tests in tests/test_gh_cmd.py (:428, :552, :643) pass unchanged.
    • No PR in the inspector. v and o show a notice and run nothing.
    • Timers. The tests record set_interval calls; none of them waits on real time.
      • With --refresh-interval 5, there is a 5-second timer for the other five domains and a 60-second timer for github.
      • With --refresh-interval 300, github refreshes every 300 seconds.
      • With --refresh-interval 0, no timer is registered.
      • Pressing r 10 seconds after a GitHub read started doesn't read GitHub; it shows a notice. Pressing it 61 seconds after (clock stubbed) does read GitHub. The other domains refresh either way.
    • No gh in tests. The dashboard lifecycle tests stub the GitHub fetcher, and they fail if run_gh or subprocess is called.
    • CI. uv run devops ci passes.
  • Key questions:
    • Is the Projects v2 kanban part of this item? No (proposed); it becomes a split-off. It needs a second data source and its own view. It also depends on refactor(github): roadmap store that reads and writes items, releases and board fields behind one interface #768, which adds the roadmap store's release and item reads, and on feat(github): github-sourced roadmap, migration and generated roadmap view (devops roadmap migrate, render) #739, which changes the board's Status options.
    • Is the p key (run devops pr check-readiness) part of this item? No (proposed); it becomes a split-off.
    • Where do the queue rows come from? From one GraphQL query through run_gh (proposed), not from gh pr list.
      • gh pr list returns the newest PRs first and has no thread field.
      • The one query returns the oldest PRs, their checks and whether each thread is resolved. It cost 3 points for 100 PRs.
      • It also updates the GraphQL quota.
      • The limit is 50 (proposed), because a 100-PR read once failed and took 8.0 s when retried.
      • There is no limit on how many PRs get thread counts.
    • How are rollup entries classified?
      • A CheckRun uses status, conclusion and detailsUrl. A StatusContext uses context, state and targetUrl. Both go through classify_check_item.
      • EXPECTED and other unknown states are unread, and a missing rollup is none. Neither is ever passing.
    • Where does the inspector read checks from? From the single-PR form of the queue query (proposed). It is one read, both entry shapes are covered, and a cut-off list is detected with hasNextPage.
    • Where does Copilot state appear, and how is a failed read shown? In the inspector only (proposed).
      • Spotting an in-progress Copilot review needs a paginated timeline call per PR (pr_monitor.py:321-334), which is too costly for every row.
      • A badge on each row based only on latestReviews would be free, but it is left out.
      • The inspector shows pr monitor's own state, labelled as such. Until the Copilot split-off lands, a failed timeline or reviews read shows as idle or completed. That is a known limit, so the fail-closed constraint below covers only the tab's own reads.
    • Should the Copilot fix join v0.2.24? Not through this item (proposed). It is rated P1 because it needs a failed read to happen. A person can rate it P0 and admit it to the release as a critical fix.
    • What does the tab do when the limiter would wait? It checks the pacing guard before every paced read (proposed).
      • If the wait would be longer than 5 seconds, it skips the read and says when the quota resets.
      • Quitting therefore never waits on a sleep in acquire().
    • How often does the tab read GitHub?
      • The timer reads it at most once a minute, or at the --refresh-interval if that is longer (proposed).
      • r can't read it more often than that.
      • Only one inspector fetch runs at a time.
    • Which repository does the tab show? The origin remote of the current checkout, from get_repo_origin_name(), the same way pr check-readiness resolves it (commands/pr.py:1469-1480). There is no new flag.
      • devops pr list doesn't do this: it lets gh choose, and calls get_repo_origin_name() only in its REST fallback (commands/pr.py:131-135).
      • Every read passes owner/repo explicitly.
    • Why doesn't v stream the log? run_gh buffers its output.
      • So v shows the whole result once the call finishes, with a 120-second timeout (proposed).
      • It runs in the Logs tab's daemon thread, so a slow download doesn't hold up quitting.
    • What is the inspector's "commit diff summary"? The totals: +additions, −deletions, the changed-file count and the head commit (proposed). A per-file list isn't built; o opens the full diff.
    • Which tab position? Tab 6, after the existing five (proposed).
    • How does this relate to feat(cli): dashboard keeps its place across refreshes and shows a finding detail pane (devops dashboard, devops tui) #684? This item owns all GitHub content, and it doesn't wait for feat(cli): dashboard keeps its place across refreshes and shows a finding detail pane (devops dashboard, devops tui) #684. feat(cli): dashboard keeps its place across refreshes and shows a finding detail pane (devops dashboard, devops tui) #684's body lists "(1) PR & Git Lifecycle" as a workspace, so when feat(cli): dashboard keeps its place across refreshes and shows a finding detail pane (devops dashboard, devops tui) #684 is refined it must drop that workspace or point it at this tab.
    • Can a refresh change which PR an action acts on? No. Actions use the PR shown in the inspector, which only Enter changes.
      • The queue cursor does reset to the first row on each refresh, because panels clear their tables (ui/widgets.py:94-107).
      • Keeping the cursor on the same row is out of scope (proposed). With a 60-second interval, it resets at most once a minute.
    • Does --summary get a GitHub panel? No (proposed). That path makes no GitHub calls today (commands/dashboard.py:169-183), and devops pr list covers non-interactive use.
    • What priority? P2 (proposed), in place of the priority/p0-critical label. It is a feature with medium value and no defect behind it.
  • Constraint: Fail closed for the tab's own reads: the queue, the quota, and the inspector's checks and threads. A failed or partial read shows as unread or as an error, never as an empty queue, zero threads or passing checks. The Copilot line and the v output show what their sources report.
  • Constraint: The tab writes nothing to GitHub.
  • Constraint: The base timer makes no GitHub calls. Every GitHub read goes through run_gh. GitHubGraphQLClient isn't used, because it calls the API over HTTP with its own token bucket (github/graphql.py:681-699).
  • Constraint: Tests stub every GitHub read. The socket guard in tests/conftest.py:55-120 only covers this process's sockets, so it wouldn't stop a gh child process.
  • Constraint: Complexity of at most 10 and nesting depth of at most 5 (config/defaults.py:661-662).

Strategic Alignment

Update 2026-10-08: refinement

Check reads fail closed since #769 (github/check_verdict.py:71-119, :450-493), Copilot has an unread state (#806), fetch_github_status is taken (telemetry/service_status.py:56), and GitHubGraphQLClient is gone; reads use #983's session once it lands. The rollup stays the inspector's source. _parse_rate_limit_payload still exits the process (commands/gh.py:1357-1372); #1324 moves it and #1441 trims its reads.

Proposed design

Problem statement

The devops dashboard lacks a dedicated GitHub tab that provides an oldest-first pull request queue, PR inspector with checks and threads view, failing log viewer, and API quota monitoring. Users currently must run multiple commands manually to get this information.

Acceptance criteria

  • Criterion 1: Opening the GitHub tab works via key '6', --tab github, or --tab 6
    Verification: Running devops dashboard --tab github, devops dashboard --tab 6, or pressing '6' on the dashboard opens the GitHub tab
  • Criterion 2: GitHub tab shows open PRs sorted oldest-first with correct counts
    Verification: The queue tab displays PRs in ascending order by creation date and shows correct count of failing checks
  • Criterion 3: Inspector tab shows PR details including checks, threads, and Copilot status
    Verification: Pressing Enter on a PR row opens inspector tab showing checks table with non-passing first, unresolved threads list, and Copilot state as reported by pr monitor
  • Criterion 4: GitHub tab displays API quota information correctly
    Verification: The banner shows core and GraphQL remaining/limit with time to reset or 'quota unread' when read fails
  • Criterion 5: Check counts are properly classified according to defined rules
    Verification: A rollup with CheckRuns FAILURE, IN_PROGRESS and three SUCCESS shows fail 1, pending 1, pass 3; EXPECTED and other unknown states count as unread
  • Criterion 6: Failed queue read shows error banner over previous rows
    Verification: When the GraphQL query raises GitHubOperationError, an error banner appears over the previous rows instead of showing empty queue
  • Criterion 7: Repository validation works correctly
    Verification: If get_repo_origin_name() returns None, the banner says 'not a GitHub checkout' and no gh calls are made
  • Criterion 8: Pacing guard prevents excessive sleep during rate limiting
    Verification: When limiter quota is 0 with reset 30 minutes away, refresh calls run_gh only for api rate_limit, shows error naming reset time over previous rows, and never calls time.sleep
  • Criterion 9: v key works correctly on checks linking to Actions runs
    Verification: Pressing 'v' on a check linking to /actions/runs/1/job/2 runs gh run view 1 --job 2 --log-failed --repo o/r with DEFAULT_GH_RUN_LOG_TIMEOUT_SECONDS and shows masked output in Logs tab ending with exit code
  • Criterion 10: o key opens PR URL correctly
    Verification: Pressing 'o' on a PR row calls App.open_url with the PR's URL
  • Criterion 11: Timer refresh schedule works as expected
    Verification: With --refresh-interval 5, there is a 5-second timer for other domains and 60-second timer for GitHub; with --refresh-interval 300, GitHub refreshes every 300 seconds

Key questions

  • Is the Projects v2 kanban part of this item?: No (proposed)
  • Is the p key (run devops pr check-readiness) part of this item?: No (proposed)
  • Where do the queue rows come from?: From one GraphQL query through run_gh, not from gh pr list (proposed)
  • How are rollup entries classified?: A CheckRun uses status, conclusion and detailsUrl. A StatusContext uses context, state and targetUrl. Both go through classify_check_item. (proposed)
  • Where does the inspector read checks from?: From the single-PR form of the queue query (proposed)
  • Where does Copilot state appear, and how is a failed read shown?: In the inspector only. A failed timeline or reviews read shows as 'idle' or 'completed'. (proposed)
  • Should the Copilot fix join v0.2.24?: Not through this item (proposed)
  • What does the tab do when the limiter would wait?: It checks the pacing guard before every paced read. If the wait would be longer than 5 seconds, it skips the read and says when the quota resets. (proposed)
  • How often does the tab read GitHub?: The timer reads it at most once a minute, or at the --refresh-interval if that is longer. r can't read it more often than that. Only one inspector fetch runs at a time. (proposed)
  • Which repository does the tab show?: The origin remote of the current checkout, from get_repo_origin_name(), the same way pr check-readiness resolves it (proposed)
  • Why doesn't v stream the log?: run_gh buffers its output. So v shows the whole result once the call finishes, with a 120-second timeout. (proposed)
  • What is the inspector's "commit diff summary"?: The totals: +additions, −deletions, the changed-file count and the head commit (proposed)
  • Which tab position?: Tab 6, after the existing five (proposed)
  • Can a refresh change which PR an action acts on?: No. Actions use the PR shown in the inspector, which only Enter changes. (proposed)
  • Does --summary get a GitHub panel?: No (proposed)
  • What priority?: P2 (proposed)

Open questions

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added this to the v0.2.24 milestone on Sep 28, 2026
  2. added
    type/feature
    scope/github
    priority/p0-critical
    on Sep 28, 2026
  3. changed the title [-]feat(github): interactive github lifecycle, pr monitor & projects v2 kanban hub (`tab-github`)[/-] [+]feat(github): github tab in devops dashboard with an oldest-first pr queue, pr inspector, failing-log view and api quota (`tab-github`)[/+] on Oct 1, 2026
  4. dan-petty commented on Oct 1, 2026

    @dan-petty
    OwnerAuthor

    The split-offs from this item's refinement are filed: the release board view is #805, the Copilot fail-open read is #806, and the p key (run pr check-readiness) is folded into #694's command runner.

  5. added
    priority/p2-medium
    and removed
    priority/p0-critical
    on Oct 1, 2026
  6. dan-petty commented on Oct 1, 2026

    @dan-petty
    OwnerAuthor

    Relabelled from priority/p0-critical to priority/p2-medium, as this item's refinement proposes: it is a feature, not a critical fix. It stays in v0.2.24, which it was already in when the release started.

  7. removed this from the v0.2.24 milestone on Oct 1, 2026
  8. dan-petty commented on Oct 1, 2026

    @dan-petty
    OwnerAuthor

    Descoped from v0.2.24, which hadn't started on it, to make room for higher-priority work that entered the release (#825, #832 and the critical fixes #819, #824 and #834). Both planned releases are full of P1 items, so as a P2 it goes to the backlog, where it heads the P2 items. #805 and the p key folded into #694 depend on it.

  9. dan-petty commented on Oct 8, 2026

    @dan-petty
    OwnerAuthor

    Linked: #687 and #694. All three share the dashboard's keys: #694 holds p, and #687 proposes k, l and p while l is the Logs tab (ui/dashboard.py:180). Found by the 2026-10-08 backlog review.

  10. added this to the v0.2.39 milestone on Oct 17, 2026
  11. dan-petty commented on Oct 18, 2026

    @dan-petty
    OwnerAuthor

    Status set back to New at 25e2cda: refine found it not ready (see Key questions, Fit and Suspected block in the proposed design in the issue body).

  12. dan-petty commented on Oct 21, 2026

    @dan-petty
    OwnerAuthor

    What changed

    #1811, merged into release/v0.2.39 as 7f61846.

    Summary

    Closes #685.

    Adds a new GitHub domain (CONST_DASHBOARD_DOMAIN_GITHUB = "github") as tab 6 in devops dashboard (accessible via key '6', --tab github, or --tab 6).

    • PR Queue: Displays open pull requests sorted oldest-first (createdAt ascending) with PR number, title, author, branch, lines (+/-), changed files, unresolved thread count, and check status rollup.
    • Quota & Health Banner: Displays open PR count, failing PR count, and core / GraphQL rate limit quotas with time until reset (or quota unread on failure).
    • Check Status Rollup: Accurately classifies check runs and commit status contexts (fail, pending, unread, cancel, skip, pass), displaying none when empty and + when results are paginated.
    • PR Inspector: Displays selected PR details, Copilot review state as reported by pr monitor, review thread paths with line numbers and author (path:line (author)), and full checks table sorted with non-passing checks first.
    • Failing Log View (v): Pressing v on a failing check linking to /actions/runs/<run>/job/<job> invokes fetch_workflow_run_view (120s timeout, masked secrets) and streams output to Logs tab ending with process exit code. Non-Actions run links show an informative notice.
    • Open in Browser (o): Pressing o on a PR row or in the inspector opens the pull request in the default browser.
    • Dual-Timer Refresh & Cooldown: Base dashboard domains refresh at --refresh-interval (default 5…

    21 file(s) changed.

    How it was verified

    Check runs at 2094e0e:

    • Prune PR DevContainer Images: pass
    • Audit Defect PR Hardening: skipping
    • zizmor: pass
    • devops-cli: pass
    • bandit: pass
    • CodeQL: pass
    • Analyze (python): pass
    • Rule Pack Tests: pass
    • Changed-Test Independence: pass
    • Fail-to-Pass Self-Check: pass
    • Tests & Coverage: pass
    • Fail-to-Pass Check: pass
    • Analyze (actions): pass
    • Static Analysis: pass
    • DevContainer Image: skipping
    • Service Image: skipping
    • Dependency Freshness: skipping

    Acceptance Criteria of docs/agent/tasks/task-685-dashboard-github-tab.md:

    No Acceptance Criteria section.

  13. added a commit that references this issue on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p2-mediumscope/githubtype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions