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

stacklok / toolhive-studio / 25500470366
68%
main: 71%

Build:
Build:
LAST BUILD BRANCH: renovate/anthropics-claude-code-action-digest
DEFAULT BRANCH: main
Ran 07 May 2026 02:02PM UTC
Jobs 1
Files 505
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

07 May 2026 01:58PM UTC coverage: 67.854% (+0.1%) from 67.719%
25500470366

Pull #2207

github

samuv
fix(playground): seed URL-driven draft id into the sidebar threads list

After deferring thread persistence to the first message, a fresh /playground visit (or a deep link to /playground/chat/<draft-id>) loaded zero DB threads, so hasThreads stayed false: the sidebar disappeared and ChatInterface received threadId={undefined}, which fell into the legacy useThreadManagement auto-create path and called createChatThread() over IPC — re-introducing the empty-row write the previous commit removed.

Add a small effect in usePlaygroundThreads that runs after the initial DB load and prepends a { pending: true } entry for the URL-driven activeThreadId when it is not present in the fetched list. Symmetrical for the fresh-visit and deep-link cases. Tests cover the seeded-draft, already-in-DB, and null-id branches; two existing tests that incidentally relied on the pre-fix mismatch behavior are aligned to use a matching DB id.

Addresses Copilot review on this PR.
Pull Request #2207: fix(playground): defer empty chat thread persistence until first message

4696 of 7463 branches covered (62.92%)

33 of 34 new or added lines in 6 files covered. (97.06%)

2 existing lines in 2 files now uncovered.

7012 of 10334 relevant lines covered (67.85%)

120.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
1.2
0.0% main/src/chat/threads-storage.ts

Coverage Regressions

Lines Coverage ∆ File
1
90.82
2.18% renderer/src/features/chat/hooks/use-playground-threads.ts
1
81.25
-8.22% renderer/src/routes/playground.index.tsx
Jobs
ID Job ID Ran Files Coverage
1 25500470366.1 07 May 2026 02:02PM UTC 505
67.85
GitHub Action Run
Source Files on build 25500470366
  • Tree
  • List 505
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25500470366
  • Pull Request #2207
  • PR Base - main (#25496320513)
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