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

stacklok / toolhive-studio / 25908146373
70%
main: 70%

Build:
Build:
LAST BUILD BRANCH: renovate/vitejs-plugin-react-6.x
DEFAULT BRANCH: main
Ran 15 May 2026 08:32AM UTC
Jobs 1
Files 522
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

15 May 2026 08:25AM UTC coverage: 70.484% (-0.1%) from 70.606%
25908146373

push

github

web-flow
feat(playground): per-thread model, MCP, and skills selection (#2253)

* feat(playground): make model, MCP, and skills selection per-thread

Each chat thread now persists its own model/provider, enabled MCP tools,
and enabled skills (agent was already per-thread). Switching threads no
longer reshuffles the toolbar; new threads inherit the last-used
selection so the UX is unchanged for the first pick.

Globals are kept as the "default for new threads" source. Every
per-thread mutation dual-writes the global so the next new thread
inherits it. A one-time migration snapshots current globals into every
existing thread so nothing regresses on upgrade.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test(playground): fix CI after per-thread settings change

- Add migration 007 to the test-helpers DB bootstrap so writers/readers
  and registry tests see the new columns.
- Make thread-settings-storage stop importing thread-integration so it
  no longer pulls in threads-storage's electron-store side effect; this
  was breaking tests that don't mock electron. Row materialisation now
  happens via db primitives directly.
- Mock the new thread-settings-storage / thread-settings IPC module in
  the colocated unit tests that previously loaded them transitively
  without electron available.
- Update streaming.test.ts assertion for the new
  createBuiltinAgentTools(key, { threadId }) signature.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 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 sel... (continued)

5194 of 7997 branches covered (64.95%)

130 of 219 new or added lines in 18 files covered. (59.36%)

6 existing lines in 3 files now uncovered.

7706 of 10933 relevant lines covered (70.48%)

114.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
27
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
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
85.71
1.99% 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 25908146373.1 15 May 2026 08:32AM UTC 522
70.48
GitHub Action Run
Source Files on build 25908146373
  • Tree
  • List 522
  • 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 #25908146373
  • 718b5ee7 on github
  • Prev Build on main (#25906699187)
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