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

stacklok / toolhive-studio / 23908628794
60%

Build:
DEFAULT BRANCH: main
Ran 02 Apr 2026 03:40PM UTC
Jobs 1
Files 427
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 Apr 2026 03:37PM UTC coverage: 60.491% (-0.02%) from 60.511%
23908628794

push

github

web-flow
feat(permissions): gate Playground and Registry tab behind permission keys (#1912)

* feat(permissions): gate Playground and Registry tab behind permission keys

Add PLAYGROUND_MENU and SETTINGS_REGISTRY_TAB permission keys so
enterprise builds can selectively disable these UI paths via
<AppProviders permissions={…}>.

- Playground nav link hidden when PLAYGROUND_MENU is false
- /playground route shows NotFound when permission is disabled
- Registry settings tab filtered out when SETTINGS_REGISTRY_TAB is false
- renderRoute test helper extended to accept permissions overrides

Made-with: Cursor

* fix(permissions): address review — type-safe test helpers and defaultTab fallback

- Use Partial<Permissions> instead of Record<string, boolean> in test
  helpers to catch invalid permission keys at compile time
- Derive effectiveDefaultTab in SettingsTabs so a hidden tab passed as
  defaultTab falls back to the first visible tab

Made-with: Cursor

* refactor(settings-tabs): consolidate two useMemo into one

Made-with: Cursor

* refactor(settings-tabs): remove unnecessary useMemo

Filtering 6 items is trivial — memoization overhead exceeds the
computation cost.

Made-with: Cursor

3054 of 5328 branches covered (57.32%)

Branch coverage included in aggregate %.

6 of 9 new or added lines in 3 files covered. (66.67%)

2 existing lines in 2 files now uncovered.

4981 of 7955 relevant lines covered (62.61%)

127.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
0.0
0.0% renderer/src/routes/playground.tsx

Coverage Regressions

Lines Coverage ∆ File
1
83.15
-2.25% renderer/src/common/components/settings/registry/use-registry-update-mutation.ts
1
0.0
0.0% renderer/src/routes/playground.tsx
Jobs
ID Job ID Ran Files Coverage
1 23908628794.1 02 Apr 2026 03:40PM UTC 427
60.49
GitHub Action Run
Source Files on build 23908628794
  • Tree
  • List 427
  • Changed 7
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23908628794
  • 2f0d1c2f on github
  • Prev Build on main (#23903054807)
  • Next Build on main (#23910333071)
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