Skip to content

feat(web): preview a pull request check on hover - #579

Open
adampeterhiggins wants to merge 2 commits into
mainfrom
ah/pr-check-hover-previews
Open

adampeterhiggins wants to merge 2 commits into
mainfrom
ah/pr-check-hover-previews

Conversation

@adampeterhiggins

@adampeterhiggins adampeterhiggins commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

Check names in the pull request checks popover truncate, and the hover only ever showed the name or a description. GitHub check runs never carried a description at all, so for most checks the hover said nothing the row didn't.

Hovering a check now opens a preview card, anchored to the check's name, in the checks popover and on each check row in the Summary tab. It shows:

  • the full name, status, and whether the check is required
  • how long it took and when it finished, or how long it has been running
  • the app and workflow that ran it (a workflow the name already starts with is left out)
  • the run's output title and summary, with Markdown reduced to plain prose
  • its first three annotations, with file and line

To get this, the GitHub check read now asks for each check run's app, output title and summary, and first three annotations. The summary is cut to 600 characters on the server, because coverage reports run to many kilobytes and every check goes out with each read. The new contract fields are optional and only set when they have a value. Other hosts are unchanged and show the name, status and description. Mobile's check rows show the description, so they now also pick up check run titles.

Before After
Before: the hover shows the full name and description only After: a preview card with status, timing, app, output summary and annotations

Test plan

  • Open a GitHub pull request with a failing Actions job and a Codecov (or similar app) check. Hover each in the checks popover and confirm the duration, app and workflow, output, and annotations match the run on github.com.
  • Hover a running check and confirm it says how long it has been running.
  • Hover a commit status (not a check run) and confirm the card shows its name, status and description only.
  • On the Summary tab, expand Checks and hover a row. Confirm the preview, and that a row with a details link still opens it.
  • vp run check:changed: format, lint, knip, graphql, typecheck, React compiler, and tests for the check run mapping and the preview logic all pass. AgentContextBudget.test.ts fails on this branch without these changes too (the MCP tool list measures 37 bytes under its committed budget). This change doesn't touch it.

Claude Opus 5.5 in Claude Code.

🤖 Generated with Claude Code

adampeterhiggins and others added 2 commits November 14, 2026 11:29
Truncated check names were hard to read: the popover tooltip stretched across the column and a description replaced the name. Hovering a check now shows its full name, with a distinct description underneath, in the checks popover and on the Summary tab.

Grok 4.7 in Cursor.

Co-authored-by: Cursor <cursoragent@cursor.com>
The check preview only had the name and description to show, and GitHub check runs never carried a description. The GitHub check read now also asks for each run's app, output title and summary, and first three annotations; the summary is cut to 600 characters so coverage reports stay off the wire. The preview becomes a card with status, required, duration, app and workflow, the output, and the annotations with their file and line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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