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

stacklok / toolhive-studio / 21593381477
56%

Build:
DEFAULT BRANCH: main
Ran 02 Feb 2026 02:13PM UTC
Jobs 1
Files 326
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

02 Feb 2026 02:10PM UTC coverage: 55.487% (+2.0%) from 53.49%
21593381477

push

github

web-flow
feat(cli): add CLI alignment flow (#1513)

* feat(cli): add core CLI alignment module

Add CLI module for desktop-owned CLI installation management (THV-0020):
- Types and constants for CLI paths and marker file schema
- Marker file management for tracking CLI installation source
- Symlink manager for creating/validating CLI symlinks (copy on Windows)
- PATH configurator for shell profile integration
- CLI detection to identify external CLI installations
- Validation logic for every-launch alignment checks
- Dialog helpers for user prompts on alignment issues

* test(cli): add CLI module unit tests

Add comprehensive tests for CLI alignment module:
- CLI detection tests
- Constants tests
- Marker file tests
- Symlink manager tests
- Validation tests

* feat(main): integrate CLI alignment validation on startup

Add CLI validation during app initialization (THV-0020):
- Validate CLI alignment before other setup tasks
- Skip validation in dev mode (bundled CLI may not exist)
- Add IPC handlers for CLI status, reinstall, and remove operations

* feat(preload): expose CLI alignment API to renderer

Add cliAlignment API to electronAPI bridge (THV-0020):
- getStatus: retrieve CLI installation status
- reinstall: reinstall CLI symlink
- remove: remove CLI installation
- getPathStatus: check shell PATH configuration

* feat(settings): add CLI management tab

Add new CLI tab to settings for managing CLI installation (THV-0020):
- Display CLI status, version, and install method
- Show CLI path and symlink target
- Display PATH configuration status
- Actions to verify, reinstall, or remove CLI
- Usage examples for common thv commands

* revert: remove some extra loggin

* test: adjust after latest changes

* refactor(cli): move CLI issue dialogs from main to renderer

Replace native Electron dialogs with a dedicated /cli-issue page in
the renderer for better UX and consistency.

- Remove main/src/cli/dialogs.ts (native Electron dialogs)
- Add renderer/src/routes/... (continued)

2444 of 4633 branches covered (52.75%)

Branch coverage included in aggregate %.

470 of 619 new or added lines in 18 files covered. (75.93%)

2 existing lines in 2 files now uncovered.

3886 of 6775 relevant lines covered (57.36%)

117.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
91.3
renderer/src/common/components/code-block-with-copy.tsx
1
0.0
renderer/src/routes/cli-issue.tsx
2
0.0
0.0% renderer/src/route-tree.gen.ts
3
0.0
0.0% main/src/app-state.ts
4
91.07
main/src/cli/marker-file.ts
6
88.3
renderer/src/common/components/settings/tabs/cli-tab.tsx
7
67.14
main/src/cli/constants.ts
11
72.84
renderer/src/features/cli-issue/components/cli-issue-page.tsx
12
0.0
0.0% renderer/src/routes/__root.tsx
15
54.84
main/src/cli/cli-detection.ts
18
72.28
main/src/cli/symlink-manager.ts
22
78.5
main/src/cli/path-configurator.ts
22
74.16
main/src/cli/validation.ts
25
0.0
0.0% main/src/main.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% renderer/src/routes/__root.tsx
1
0.0
0.0% renderer/src/route-tree.gen.ts
Jobs
ID Job ID Ran Files Coverage
1 21593381477.1 02 Feb 2026 02:13PM UTC 326
55.49
GitHub Action Run
Source Files on build 21593381477
  • Tree
  • List 326
  • Changed 9
  • Source Changed 6
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21593381477
  • 1c9f2c4c on github
  • Prev Build on main (#21593062749)
  • Next Build on main (#21594011257)
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