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

stacklok / toolhive-studio / 25735659659
70%

Build:
DEFAULT BRANCH: main
Ran 12 May 2026 12:56PM UTC
Jobs 1
Files 508
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

12 May 2026 12:52PM UTC coverage: 68.64% (+0.02%) from 68.619%
25735659659

push

github

web-flow
feat(registry): surface legacy registry format with targeted UI (#2229)

* feat(registry): surface legacy registry format with targeted UI

The backend (stacklok/toolhive#5260) now returns a structured
HTTP 502 Bad Gateway with `code: "registry_legacy_format"` when the
configured custom registry serves data in the deprecated ToolHive format.
Without renderer-side handling the response was treated as a generic
fetch error and the user fell into the catch-all GenericError screen.

This change mirrors the existing `registry_auth_required` and
`registry_unavailable` plumbing:

- Add `isRegistryLegacyFormatError` detector plus the user-facing
  `REGISTRY_LEGACY_FORMAT_UI_MESSAGE` and toast copy (no raw CLI hint —
  desktop users should not see `thv registry convert`).
- Extend `getRegistryErrorToastMessage` so the root `beforeLoad` guard
  redirects to `/settings?tab=registry` with a persistent toast instead
  of letting the error reach `RootErrorComponent`.
- Add a third empty-state branch in `RegistryError` for users who
  navigate directly to `/registry` while the source is misconfigured.

Closes #2228

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

* fix(registry): drop CLI/MCP jargon from legacy-format UI copy

REGISTRY_LEGACY_FORMAT_UI_MESSAGE referred to the "upstream MCP format",
which is a CLI/protocol term that desktop users would not recognise.
Rephrase in plain language: the message now says to update the registry
source or reset to default, without naming the destination format.

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

---------

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

4825 of 7593 branches covered (63.55%)

7 of 7 new or added lines in 2 files covered. (100.0%)

7212 of 10507 relevant lines covered (68.64%)

118.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25735659659.1 12 May 2026 12:56PM UTC 508
68.64
GitHub Action Run
Source Files on build 25735659659
  • Tree
  • List 508
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25735659659
  • d103a636 on github
  • Prev Build on main (#25735617285)
  • Next Build on main (#25736855761)
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