test(sidebar): hover card gallery count includes the running-work cards (base red)
What failed: HoverCardSharedRowsTests.theGalleryShowsEveryKind(tabs: false), red since 41298073172 (base 0639deac33):
Expectation failed: (cards.count ā 13) == (count ā 10).
Runs: https://github.com/manaflow-ai/cmux/actions/runs/41298073172, https://github.com/manaflow-ai/cmux/actions/runs/41303556638 (feat-cmux-next tip Swift suite)
Cause: #30439 (229803e8c5, sidebar hover preview subagent counts) added one "Running work" gallery card per WorkspaceHoverCardWork.Style (3) on purpose (workCards(now:)). The test's hard-coded 10 went stale.
Fix: test only. The expected count is 10 + WorkspaceHoverCardWork.Style.allCases.count.
Risk: none to the product; small (one test line).
Agent session: agent session
š¤ Generated with Claude Code
Summary by cubic
Fixes the failing theGalleryShowsEveryKind(tabs: false) test by counting the running-work cards added in #30439.
The gallery now shows one Running work card per WorkspaceHoverCardWork.Style (3), so the expected count is 10 + WorkspaceHoverCardWork.Style.allCases.count instead of the hard-coded 10. No product behavior changes.