Skip to content

feat(github): spin running checks like working threads - #615

Merged
nixuuu merged 1 commit into
devfrom
feat/github-running-check-spinner
Nov 13, 2026
Merged

nixuuu merged 1 commit into
devfrom
feat/github-running-check-spinner

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Running CI checks now use the same working ring, colour and one-second rotation as sidebar threads on web and mobile. A shared state icon reads the checkLook.spinning flag in check/job rows, thread PR summaries, the compact PR header and CI timeline entries. Queued checks retain their static clock.

State changes use a fixed 16px slot and the icon-swap motion. Reduced motion keeps the ring still. Web reuses the shared observer to pause clipped/offscreen rows and hidden tabs; the hidden compact header unmounts its icon. Mobile rotates on the UI thread and stops when the app is backgrounded. Job steps currently have no independent state indicator.

Verification

  • Passed with nice: install, gen:check, full typecheck, lint, format:check and the production web build. A clean checkout of the final head also passed the web build on the second computer.
  • All GitHub checks passed, including all four test shards. The local suite used the repository's four check:tmp shards; report verification confirmed all 501 test files executed exactly once, and all four temp-directory gates were clean. Three shards passed on their first run. Shard 4 first had one 5-second Codex workspace fixture timeout; on an isolated rerun with a 15-second timeout that test passed in 4.26 seconds, but two linked-gateway workspace-copy tests lost their fixture connection. The workspace-copy file then passed alone (12 tests, clean temp gate). The local full-suite runs therefore had transient fixture failures; no test assertions or unrelated production code were changed.
  • Manually reviewed the actual check/job rows and thread/compact summaries in Chromium, light/dark at 1440px and 390px, with running, queued, passed and failed states and short/typical/long labels. Passed/failed transitions retain the same 16×16 slot; no horizontal overflow on phone.
  • Confirmed the CI and working-thread ring path, light/dark colours and 1000ms linear rotation match. Browser keyframes animate only transform. With 120 running rows, 115 clipped rows pause. The hidden compact header contains no state icon and retains its reserved slot. Existing reduced-motion guards are reused.
  • The isolated review checkout and server ran on the second computer. Its Chromium stalled on HTTP navigation, so visual inspection used the shared browser over an SSH tunnel. Native mobile interactions and live OS reduced-motion toggling remain unverified. No UI test suites added. Review tabs/processes/checkouts were cleaned up; no containers were needed.

Copy audit (§8)

  • Running → Running: existing state wording retained as the accessible name of the shared indicator. Summary icons retain Checks: Running context. Queued, Passed and Failed labels are unchanged.
  • No new glossary terms, actions, errors, empty states or confirmations. Status remains available without relying on colour or motion.
  • Short, typical and long names were checked at desktop and phone widths in both themes; truncation stays within the existing row layout.

Related: #608

@nixuuu
nixuuu marked this pull request as ready for review November 13, 2026 09:04
@nixuuu
nixuuu merged commit 098e549 into dev Nov 13, 2026
12 checks passed
@nixuuu
nixuuu deleted the feat/github-running-check-spinner branch November 13, 2026 09:44
nixuuu added a commit that referenced this pull request Nov 15, 2026
Check status icons (spinner, check, cross) rode a couple of pixels above
their labels in the PR checks list. Since the running-checks spinner
landed, the tooltip wrapper around the icon held `CheckStateIcon`, an
`inline-grid`, inside a plain inline `<span>`. That put the icon on the
text baseline inside a line box, so its vertical position depended on
font metrics and the engine's baseline handling instead of the row's
`items-center`. The wrappers are now `flex shrink-0`, so there's no line
box and the row centres the icon on the label. Applied in every place
that wraps the icon this way: check rows, job rows inside an expanded
check, the activity header, and both icons in the linked PR row.

Fixes: #615

Chromium centres the icon with either markup, so this was checked by
measurement there (icon centre = row centre), not as a before/after. The
reported offset is from macOS (WebKit), which couldn't be run here.

No UI text changes, so no copy audit.

Checks: format:check, lint, typecheck.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
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