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

stacklok / toolhive-studio / 45378921191
74%

Build:
DEFAULT BRANCH: main
Ran 24 Nov 2026 10:55AM UTC
Jobs 1
Files 588
Run time 1min
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

24 Nov 2026 10:52AM UTC coverage: 73.633% (+0.2%) from 73.482%
45378921191

push

github

web-flow
feat(playground): search chats by title and message text (#2853)

* feat(playground): search chats by title and message text

Add a "Search chats" modal to the playground (sidebar button or
Cmd/Ctrl+K, active on /playground/* only). An empty query lists the 10
most recent chats; typing runs a debounced full-text search.

Search is backed by a new SQLite FTS5 table (migration 009) with one
row per thread holding its title and the plain text of its text parts
only — tool calls/outputs are not indexed. The index is maintained in
the same transaction as message writes and backfilled from existing
history. Results are ranked with bm25 (title weighted over body), use
prefix matching with user input quoted so FTS syntax can't break the
query, include archived chats with a badge, and show a highlighted
snippet. The query text is never sent to analytics.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(playground): key search index by rowid and harden the search dialog

- Add thread_search_ids (thread id -> FTS rowid) so reindexing on each
  write deletes by rowid instead of scanning the whole FTS index; FTS5
  can't index thread_id for equality.
- Reset the selected result when the result set changes, so Enter opens
  the new top hit even when the same chats come back reordered.
- Drop a debounced query that fires after the dialog closed, so reopening
  shows recent chats instead of stale results.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(playground): reset search on every close and keep the index cheap

- Reset the search dialog whenever it closes, including the Cmd+K / Ctrl+K
  toggle and selecting a result, which bypassed onOpenChange.
- Render the sr-only dialog heading inside DialogContent so it only exists
  while the dialog is open.
- Skip the FTS reindex when a write leaves the title and indexed text
  unchanged (tool-call and reasoning snapshots while streaming).
- Freeze the text extraction used by migration 009'... (continued)

6234 of 9055 branches covered (68.85%)

130 of 138 new or added lines in 14 files covered. (94.2%)

237 existing lines in 15 files now uncovered.

9199 of 12493 relevant lines covered (73.63%)

213.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
17.24
4.2% main/src/chat/threads-storage.ts
2
54.44
1.88% main/src/chat/threads/threads-service.ts
2
0.0
0.0% main/src/ipc-handlers/chat/threads.ts
1
81.63
-0.59% main/src/chat/threads/threads-repository.ts
1
98.25
-1.75% renderer/src/features/chat/components/playground-sidebar.tsx

Coverage Regressions

Lines Coverage ∆ File
43
0.0
0.0% renderer/src/route-tree.gen.ts
33
54.44
1.88% main/src/chat/threads/threads-service.ts
20
17.24
4.2% main/src/chat/threads-storage.ts
20
0.0
0.0% main/src/ipc-handlers/chat/threads.ts
19
0.0
0.0% renderer/src/routes/playground.agents_.$agentId.tsx
18
78.05
16.35% main/src/db/readers/threads-reader.ts
17
0.0
0.0% renderer/src/routes/playground.agents.tsx
14
0.0
0.0% renderer/src/features/chat/hooks/use-thread-management.ts
11
5.0
0.0% main/src/db/migrator.ts
11
82.86
7.86% main/src/db/writers/threads-writer.ts
10
94.51
3.24% renderer/src/features/chat/hooks/use-playground-threads.ts
7
81.63
-0.59% main/src/chat/threads/threads-repository.ts
6
85.0
-11.67% renderer/src/routes/playground.chat.$threadId.tsx
5
84.85
0.0% renderer/src/features/chat/components/chat-interface.tsx
3
80.0
-1.25% renderer/src/routes/playground.index.tsx
Jobs
ID Job ID Ran Files Coverage
1 45378921191.1 24 Nov 2026 10:55AM UTC 588
73.63
GitHub Action Run
Source Files on build 45378921191
  • Tree
  • List 588
  • Changed 19
  • Source Changed 19
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45378921191
  • f3815401 on github
  • Prev Build on main (#45369034455)
  • Next Build on main (#45384593932)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc