Summary
Refines the pull-request CI checks UI and extracts the check rendering into shared components used by both the sidebar and the conversation roll-up.
Changes
Status colors
- Running checks (spinner, elapsed timer, "N running" pill) now use the brand
pink (
secondary) instead of amber. - Success renders a filled circle with a white check — the old single-color
CheckCircleIconhad the check as a transparent cutout, so it showed the dark background instead of white.
Shared CI components (components/ci/*)
live-checks— polling/live state for a commit's check runs.check-status-indicator,check-elapsed,check-row— shared rendering so the PR sidebar and conversation timeline stay in sync.- Split
conversation-checks.tsxandsidebar-checks.tsxout ofpull-request-conversation.tsx/pull-request-sidebar.tsx.
Misc
- New commit-checks API route (
/api/repos/[repoId]/commits/[sha]/checks). ci-labpreview page for the check states.- Clipped horizontal overflow on the PR conversation column.
Testing
pnpm typecheckandeslintpass.