Repository navigation
Description
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
HelpScreentab hints, the digit keys and--tab <n|name>are built fromCONST_DASHBOARD_DOMAINS(ui/dashboard.py:100-107,:139-149;commands/dashboard.py:32-37), so they need no per-tab edits. ReviewPanelalready shows two views of one domain as nested tabs (ui/widgets.py:192-261).
- 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 (
- Checks and ordering.
classify_check_itemand its bucket table are the single check classifier (github/check_verdict.py:37,:146-169), from feat(github): fail-closed pr check verdicts from one bucket classifier #707.sort_prs_oldest_first(github/pr_monitor.py:861-863) came from feat(github): reviewer-aware reply detection for thread resolution and oldest-first pr updates #706.
- Review threads.
list_pr_review_threadsraisesGitHubOperationErrorwhen a read fails (github/pr_threads.py:72-85,:246-257). - Copilot state.
pr monitorgets 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
rateLimitupdates the GraphQL figures (:524-546).
- The limiter doesn't pace
- Actions.
devops gh runs view <run> --job <job> --log-failedmasks 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) hasApp.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 listcan't feed an oldest-first queue.- It returns the newest PRs first. Measured:
gh pr list --state all --limit 3returned fix(ai): keep a reply's structured output when its prose contains brackets (#786) #802, feat(telemetry): harness, constellation and telemetry profile report only what ran (#710) #801, fix(ai): bracketed prose no longer costs a reply its structured output (#786) #800. - So once more than 100 PRs are open,
--limit 100cuts off the oldest ones._fetch_open_prssorts only after that cut (commands/pr.py:1671-1697). - None of its
--jsonfields (gh 2.102.0) is a review-thread field.
- It returns the newest PRs first. Measured:
- The existing check reads fail open.
pr monitorgets its checks by joining_fetch_commit_check_runsand_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_verdictsreturns 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 whenevergh pr checksfails.
- Copilot state fails open. A failed timeline or reviews read reports Copilot as
idleorcompleted(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_payloadprints to the console and raisestyper.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_limitalready returns.
- The limiter can sleep for up to an hour.
run_ghpaces every call that isn't exempt withacquire(), 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 inacquire()would makeqhang.
- Not every check has an Actions log.
- Actions jobs link to
/actions/runs/<run>/job/<job>, but theCodeQLcheck links to/runs/<id>(measured on PR feat(telemetry): harness, constellation and telemetry profile report only what ran (#710) #801). run_ghbuffers all output and has a 30-second default timeout (rate_limiter.py:1883-1886).
- Actions jobs link to
- Registering a new panel.
- A new panel class has to be added to
_panel_forand to the per-class query inapply_snapshot(ui/dashboard.py:53-64,:248-252), or it never renders. HELP.dashboard.tabis hardcoded to five tabs (lang/en/help.py:1211).HelpScreenlists no inspector keys.
- A new panel class has to be added to
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
githubdashboard domain, added as tab 6 ("GitHub"). It includes:CONST_DASHBOARD_DOMAIN_GITHUBand its label, appended toCONST_DASHBOARD_DOMAINS;fetch_github_status, registered inDOMAIN_FETCHERS;- column, banner and row projections in
ui/projections.py; GitHubPanel, registered in_panel_forandapply_snapshot;HELP.dashboard.tablisting6=github, andHelpScreendocumenting Enter (inspect),vando.
- Deliverable: A queue read in a new
github/pr_queue.py:- One GraphQL query through
run_gh. It handles errors the way_run_graphql_querydoes (pr_threads.py:72-85): a non-zero exit, empty output, bad JSON or a GraphQLerrorsarray raisesGitHubOperationError. - The list.
pullRequests(states: OPEN, first: DEFAULT_DASHBOARD_GITHUB_PR_LIMIT, orderBy: {field: CREATED_AT, direction: ASC}), withtotalCount. - 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), includingpageInfo.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
CheckRunas(name, status=, conclusion=, workflow=checkSuite.workflowRun.workflow.name, link=detailsUrl); - a
StatusContextas(context, state=, link=targetUrl).
- a
- One GraphQL query through
- Deliverable:
fetch_github_status(), which returns aGitHubSummary. It works in this order:- It gets the repository from
get_repo_origin_name()(core/repo.py:346). If that returnsNone, it raises "not a GitHub checkout" before anyghcall. - It reads the quota with
run_gh(["api", "rate_limit"], quiet=True), then takescoreandgraphqlfromget_github_rate_limiter().get_all_quotas(). A non-zero exit or aGitHubRateLimitErrorleaves the quota unread. - It runs the pacing guard (next deliverable) for
graphql. - It reads the queue and sorts it with
sort_prs_oldest_first.
- It gets the repository from
- 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 delaycalculate_request_delay()would give (:412-434). - If that delay is longer than
DEFAULT_DASHBOARD_GITHUB_MAX_PACING_SECONDS, it raisesGitHubRateLimitErrornaming the reset time, andrun_ghis 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.
- It reads the resource's quota with
- Deliverable:
GitHubPanel, with a banner over two nested tabs, asReviewPanelhas:- 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 monitorreports it)".
- Banner:
- Deliverable:
get_copilot_review_status(owner, repo, pr_number, unresolved_threads)ingithub/pr_monitor.py. It makes the same reviews read and_detect_copilot_statuscall asget_pr_monitoring_status(pr_monitor.py:637-640), so the tab andpr monitoralways 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 ofgh 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.
- If the check links to
oopens the PR's URL withApp.open_url.
- Deliverable: A shared run-view helper under
github/.- It builds the
gh run viewargument list, callsrun_ghwithDEFAULT_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.
- It builds the
- Deliverable: A separate refresh schedule for GitHub:
- The base timer refreshes every domain except
github. githubrefreshes everymax(--refresh-interval, DEFAULT_DASHBOARD_GITHUB_REFRESH_SECONDS)seconds.rrefreshesgithubonly if its last read started at leastDEFAULT_DASHBOARD_GITHUB_REFRESH_SECONDSago. Otherwise it shows a notice.--refresh-interval 0turns off both timers.
- The base timer refreshes every domain except
- Deliverable: New defaults in
config/defaults.py:DEFAULT_DASHBOARD_GITHUB_REFRESH_SECONDS = 60DEFAULT_DASHBOARD_GITHUB_STALE_SECONDS = 120DEFAULT_DASHBOARD_GITHUB_PR_LIMIT = 50DEFAULT_DASHBOARD_GITHUB_MAX_PACING_SECONDS = 5.0DEFAULT_GH_RUN_LOG_TIMEOUT_SECONDS = 120.0
- Deliverable: Supporting changes:
- Tests in
tests/test_ui_reactive.pyandtests/test_ui_dashboard.py:- a GitHub entry in
SAMPLESand in thepatched_fetchersfixture (tests/test_ui_reactive.py:171,:922-934); - the panel-per-domain test (
:947-958) extended toGitHubPanel.
- a GitHub entry in
- 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.mdstill describes the old scope and readsStatus: Backlog.- Rewrite it to this scope and rename it to this title's slug.
- Set
**Status**: Doneand link the issue only.
- Roadmap: rewrite the
docs/ROADMAP.md:605-610entry to this scope and tick it.
- Tests in
- Acceptance criteria:
- Opening the tab.
- The
6key,devops dashboard --tab githubanddevops dashboard --tab 6all open the GitHub tab. --helplists6=github, andHelpScreenlists Enter,vando.- The panel-per-domain test finds a
GitHubPanelforgithub.
- The
- 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
hasNextPageshows 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
hasNextPageshows?, never a number.
- A PR with 2 unresolved threads out of 5 shows
- 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
totalCount0.
- If the query raises
- Truncation. If
totalCountis 73 and 50 PRs come back, the banner reads "showing oldest 50 of 73". - Repository. If
get_repo_origin_name()returnsNone, the banner says the directory isn't a GitHub checkout, andrun_ghis never called. - Quota.
- A stubbed successful
/rate_limitread 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.
- A stubbed successful
- Pacing guard.
- Take a stubbed limiter whose
graphqlquota is 0, with the reset 30 minutes away. A refresh callsrun_ghonly forapi rate_limit. It shows an error naming the reset time over the previous rows. It never callstime.sleep(patched to fail). - The inspector and
vbehave the same way for the resources they use.
- Take a stubbed limiter whose
- 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
/statusread and doesn't callget_pr_monitoring_status. The stubbedrun_ghrecords 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 monitorreports it".
ocallsApp.open_urlwith the URL of the PR in the inspector.v.- On a check linking to
/actions/runs/1/job/2, it runsgh run view 1 --job 2 --log-failed --repo o/rwithDEFAULT_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.
- On a check linking to
- No PR in the inspector.
vandoshow a notice and run nothing. - Timers. The tests record
set_intervalcalls; 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 forgithub. - With
--refresh-interval 300,githubrefreshes every 300 seconds. - With
--refresh-interval 0, no timer is registered. - Pressing
r10 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.
- With
- No
ghin tests. The dashboard lifecycle tests stub the GitHub fetcher, and they fail ifrun_ghorsubprocessis called. - CI.
uv run devops cipasses.
- Opening the tab.
- 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
pkey (rundevops pr check-readiness) part of this item? No (proposed); it becomes a split-off.- It needs a child process that streams output, has a timeout and is stopped on quit.
check-readinessreports a failed thread read as zero threads (commands/pr.py:1456-1460, fix(github): pr readiness passes when review threads can't be read #797). Its output would contradict this tab until fix(github): pr readiness passes when review threads can't be read #797 lands.- The inspector already shows the checks and threads that
check-readinessreports.
- Where do the queue rows come from? From one GraphQL query through
run_gh(proposed), not fromgh pr list.gh pr listreturns 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
CheckRunusesstatus,conclusionanddetailsUrl. AStatusContextusescontext,stateandtargetUrl. Both go throughclassify_check_item. - EXPECTED and other unknown states are unread, and a missing rollup is
none. Neither is ever passing.
- A
- 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.- Not from
get_pr_monitoring_status().checks: its two REST reads each fail open (pr_monitor.py:415-420,:456-462), which is refactor(github): read a pull request's checks once, fail-closed, for wait, monitor and readiness #769. - Not from
fetch_pr_check_verdicts: an empty summary has exit code 0, and its fallback drops commit statuses. - A partial result, such as failed check runs plus one passing status, therefore can't happen.
- Not from
- 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
latestReviewswould 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 asidleorcompleted. That is a known limit, so the fail-closed constraint below covers only the tab's own reads.
- Spotting an in-progress Copilot review needs a paginated timeline call per PR (
- 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-intervalif that is longer (proposed). rcan't read it more often than that.- Only one inspector fetch runs at a time.
- The timer reads it at most once a minute, or at the
- Which repository does the tab show? The
originremote of the current checkout, fromget_repo_origin_name(), the same waypr check-readinessresolves it (commands/pr.py:1469-1480). There is no new flag.devops pr listdoesn't do this: it letsghchoose, and callsget_repo_origin_name()only in its REST fallback (commands/pr.py:131-135).- Every read passes
owner/repoexplicitly.
- Why doesn't
vstream the log?run_ghbuffers its output.- So
vshows 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.
- So
- 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;
oopens 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.
- The queue cursor does reset to the first row on each refresh, because panels clear their tables (
- Does
--summaryget a GitHub panel? No (proposed). That path makes no GitHub calls today (commands/dashboard.py:169-183), anddevops pr listcovers non-interactive use. - What priority? P2 (proposed), in place of the
priority/p0-criticallabel. It is a feature with medium value and no defect behind it.
- 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 (
- 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
voutput 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.GitHubGraphQLClientisn'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-120only covers this process's sockets, so it wouldn't stop aghchild process. - Constraint: Complexity of at most 10 and nesting depth of at most 5 (
config/defaults.py:661-662).
Strategic Alignment
- Milestone: v0.2.24
- Depends on: feat(github): reviewer-aware reply detection for thread resolution and oldest-first pr updates #706 and feat(github): fail-closed pr check verdicts from one bucket classifier #707 (both closed). This item doesn't depend on feat(cli): dashboard keeps its place across refreshes and shows a finding detail pane (
devops dashboard,devops tui) #684 (see Key questions). - Related, not dependencies:
- refactor(github): read a pull request's checks once, fail-closed, for wait, monitor and readiness #769 (one check read that fails closed);
- fix(github): pr readiness passes when review threads can't be read #797 (
check-readinessfails open on threads); - the three split-offs: the release board, the Copilot unread state and the
paction.
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
pkey (rundevops 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
vstream 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
--summaryget a GitHub panel?: No (proposed) - What priority?: P2 (proposed)
Open questions
- How does this relate to feat(cli): dashboard keeps its place across refreshes and shows a finding detail pane (
devops dashboard,devops tui) #684? (missing verified source)
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
[-]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`)[/+]dan-petty commentedon Oct 1, 2026
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
pkey (runpr check-readiness) is folded into #694's command runner.dan-petty commentedon Oct 1, 2026
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.
dan-petty commentedon Oct 1, 2026
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
pkey folded into #694 depend on it.dan-petty commentedon Oct 8, 2026
Linked: #687 and #694. All three share the dashboard's keys: #694 holds
p, and #687 proposesk,landpwhilelis the Logs tab (ui/dashboard.py:180). Found by the 2026-10-08 backlog review.dan-petty commentedon Oct 18, 2026
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).
feat(github): github tab in devops dashboard with pr queue, inspector…
dan-petty commentedon Oct 21, 2026
What changed
#1811, merged into
release/v0.2.39as 7f61846.21 file(s) changed.
How it was verified
Check runs at 2094e0e:
Acceptance Criteria of
docs/agent/tasks/task-685-dashboard-github-tab.md:No Acceptance Criteria section.
feat(release): v0.2.39 (#1947)