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

stacklok / toolhive-studio / 25325632082
67%
main: 71%

Build:
Build:
LAST BUILD BRANCH: v0.36.5
DEFAULT BRANCH: main
Ran 04 May 2026 02:49PM UTC
Jobs 1
Files 495
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

04 May 2026 02:44PM UTC coverage: 66.849% (+0.5%) from 66.387%
25325632082

Pull #2184

github

samuv
fix(playground): prune stale enabled skills on every refresh

Closes the picker prune gap flagged by review on #2184. Previously the only prune path lived inside the Skill Engineer bundle and was guarded by `if (result.skills.length > 0)`, which meant:

- Uninstalling a skill left its row in `enabled_skills` until an agent happened to fire `list_skills`.

- The renderer never invoked the prune helper, so the picker advertised "prune on next picker resync" without actually doing it.

- `Clear enabled skills` iterated `availableSkills` (joined view), so a stale row whose skill is no longer installed was invisible to the button — the count dropped to 0 and the action disabled itself, leaving the row stuck.

Now `chat:get-enabled-skills` accepts an optional `installedNames` argument; when present, the main process prunes against it before reading. `useAvailableSkills` chains the two queries — once the installed-skills query resolves, the install-name set goes into the `enabled-skills` queryKey, so any install / uninstall automatically refetches and re-prunes in one round-trip. Server-side, the `result.skills.length > 0` guard is dropped: only an actual fetch error skips pruning, so a successful empty response (user uninstalled their last skill) correctly wipes the allow-list.

`SkillSelector` now iterates the raw `enabledNames` for clear-all, so it can wipe stale rows even before the next prune lands. Adds dedicated IPC handler tests, hook test for the install-name hint, and flips the bundle test that previously asserted the broken guard.

Co-authored-by: Cursor <cursoragent@cursor.com>
Pull Request #2184: feat(playground): installed-skills picker and unified Skill Engineer agent

4477 of 7351 branches covered (60.9%)

264 of 346 new or added lines in 13 files covered. (76.3%)

3 existing lines in 1 file now uncovered.

6840 of 10232 relevant lines covered (66.85%)

120.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
38
0.0
renderer/src/features/chat/components/skill-selector.tsx
27
68.92
68.92% main/src/chat/agents/builtin-agent-tools/skills.ts
17
3.67
-0.68% main/src/chat/settings-storage.ts

Coverage Regressions

Lines Coverage ∆ File
3
68.92
68.92% main/src/chat/agents/builtin-agent-tools/skills.ts
Jobs
ID Job ID Ran Files Coverage
1 25325632082.1 04 May 2026 02:49PM UTC 495
66.85
GitHub Action Run
Source Files on build 25325632082
  • Tree
  • List 495
  • Changed 15
  • Source Changed 14
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25325632082
  • Pull Request #2184
  • PR Base - main (#25308887091)
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