Repository navigation
feat(web): preview a pull request check on hover - #579
Open
adampeterhiggins wants to merge 2 commits into
Open
adampeterhiggins wants to merge 2 commits into
adampeterhiggins wants to merge 2 commits into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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.
Test plan
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.tsfails 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