• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive-studio / 25387222797
68%
main: 68%

Build:
Build:
LAST BUILD BRANCH: v0.34.0-rc.0
DEFAULT BRANCH: main
Ran 05 May 2026 04:00PM UTC
Jobs 1
Files 504
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 May 2026 03:55PM UTC coverage: 67.719% (+0.4%) from 67.319%
25387222797

Pull #2192

github

samuv
fix(playground): preserve reasoning + tool-call disclosure across virtualization

`ReasoningComponent` and `ToolCallComponent` kept their expand/collapse
state in local `useState`, so when virtualized rows recycled in long
threads the user would lose the expanded reasoning pane or tool-result
view as soon as they scrolled away and back.

Lifts the four boolean flags (one for reasoning, three independent
slots for the tool-call card) into a small module-level store backed
by `useSyncExternalStore`. Each subscriber pulls a key-scoped
snapshot, so a toggle on one row never re-renders the others.

The components accept an optional `disclosureKey` and fall back to
`useId()` when absent, so unrelated callsites and existing tests are
unaffected. `<AssistantMessage>` threads `${message.id}:${partIndex}`
as the key, which is stable across remounts of the same row.

Addresses the remaining Copilot review thread on #2192.
Pull Request #2192: perf(playground): virtualize long chat threads with TanStack Virtual

4681 of 7451 branches covered (62.82%)

100 of 142 new or added lines in 13 files covered. (70.42%)

6990 of 10322 relevant lines covered (67.72%)

120.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
0.0
renderer/src/features/chat/components/chat-message/assistant-message.tsx
6
0.0
renderer/src/features/chat/components/chat-message/user-message.tsx
5
0.0
renderer/src/features/chat/components/chat-message/joined-assistant-text.tsx
4
0.0
renderer/src/features/chat/components/chat-message/index.tsx
3
91.43
renderer/src/features/chat/components/chat-message-list.tsx
3
0.0
renderer/src/features/chat/components/chat-message/step-start-component.tsx
1
93.33
renderer/src/features/chat/components/chat-message/tool-output-content.tsx
1
94.12
renderer/src/features/chat/lib/disclosure-store.ts
1
90.91
renderer/src/features/chat/lib/has-mcp-ui-part.ts
Jobs
ID Job ID Ran Files Coverage
1 25387222797.1 05 May 2026 04:00PM UTC 504
67.72
GitHub Action Run
Source Files on build 25387222797
  • Tree
  • List 504
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25387222797
  • Pull Request #2192
  • PR Base - main (#25384781525)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc