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

stacklok / toolhive-studio / 23908628794 / 1
70%
main: 70%

Build:
DEFAULT BRANCH: main
Ran 02 Apr 2026 03:40PM UTC
Files 427
Run time 13s
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.1

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%)

4981 of 7955 relevant lines covered (62.61%)

127.43 hits per line

Source Files on job 23908628794.1
  • 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 Build 23908628794
  • 2f0d1c2f on github
  • Prev Job for on main (#23903054807.1)
  • Next Job for on main (#23910333071.1)
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