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

stacklok / toolhive-studio / 25863854131
70%
main: 71%

Build:
Build:
LAST BUILD BRANCH: fix/registry-sort-aggregated-servers-1956
DEFAULT BRANCH: main
Ran 14 May 2026 01:55PM UTC
Jobs 1
Files 518
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

14 May 2026 01:51PM UTC coverage: 70.213% (-0.2%) from 70.434%
25863854131

Pull #2253

github

samuv
fix(playground): preserve per-thread isolation and dual-write contract

Address review:

- writeThread now snapshots current globals into the per-thread columns
  when materialising a brand-new row. Previously the row was created
  with NULL provider/model/MCP/skills, which broke per-thread isolation
  for draft threads and any path that creates a thread without
  explicitly carrying the settings (e.g. reconcile-from-store).

- Dual-write call sites (model mutation, MCP server selector, MCP tools
  modal, skill selector) now short-circuit the global "last used" write
  when the per-thread write returns { success: false }. Otherwise the
  seed for new threads could mutate even though the active thread's
  selection did not persist.

- The selected-model mutation's onSuccess only seeds caches when the
  write actually succeeded, so the UI no longer flashes a selection
  that will disappear on refetch.

- Add migration 007 test coverage (columns added, snapshot from
  globals, NULL handling when globals are missing or empty, no-threads
  case) in schema-and-migrator.test.ts.

- Add thread-settings-storage.test.ts (22 cases) covering get/set
  selected model, MCP-tools merge-write, skill toggle add/remove/dedup
  /sort, draft-thread materialisation, and failure-result propagation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2253: feat(playground): per-thread model, MCP, and skills selection

5125 of 7926 branches covered (64.66%)

118 of 215 new or added lines in 18 files covered. (54.88%)

6 existing lines in 3 files now uncovered.

7616 of 10847 relevant lines covered (70.21%)

115.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
23
0.0
0.0% renderer/src/features/chat/components/mcp-server-selector.tsx
18
61.7
-38.3% main/src/db/readers/threads-reader.ts
12
75.0
-25.0% main/src/db/writers/threads-writer.ts
12
0.0
main/src/ipc-handlers/chat/thread-settings.ts
10
0.0
0.0% renderer/src/features/chat/components/mcp-tools-modal.tsx
8
0.0
0.0% renderer/src/features/chat/hooks/use-available-servers.ts
6
89.52
-4.52% renderer/src/features/chat/hooks/use-chat-settings.ts
2
95.74
main/src/chat/thread-settings-storage.ts
2
0.0
0.0% main/src/ipc-handlers/chat/mcp-tools.ts
2
83.93
0.21% renderer/src/features/chat/components/skill-selector.tsx
1
71.43
-11.9% main/src/chat/agents/builtin-agent-tools/index.ts
1
90.91
main/src/db/migrations/007-per-thread-settings.ts

Coverage Regressions

Lines Coverage ∆ File
3
0.0
0.0% renderer/src/features/chat/components/mcp-tools-modal.tsx
2
0.0
0.0% renderer/src/features/chat/hooks/use-available-servers.ts
1
0.0
0.0% renderer/src/features/chat/components/mcp-server-selector.tsx
Jobs
ID Job ID Ran Files Coverage
1 25863854131.1 14 May 2026 01:55PM UTC 518
70.21
GitHub Action Run
Source Files on build 25863854131
  • Tree
  • List 518
  • Changed 18
  • Source Changed 18
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25863854131
  • Pull Request #2253
  • PR Base - main (#25860028129)
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