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

stacklok / toolhive-studio / 21830112289 / 1
56%
main: 56%

Build:
DEFAULT BRANCH: main
Ran 09 Feb 2026 03:01PM UTC
Files 327
Run time 8s
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

09 Feb 2026 02:59PM UTC coverage: 55.911% (+0.2%) from 55.744%
21830112289.1

push

github

web-flow
feat(mcp-servers): add one-click update for servers with registry version drift (#1581)

* feat(mcp-servers): add useUpdateVersion hook for registry version upgrades

Shared hook that prompts for confirmation and sends the edit request with
the full current workload config, replacing only the image tag.

* feat(mcp-servers): add update version menu item to server actions dropdown

Shows "Update to {tag}" when a registry tag drift is detected, disabled
while the server is updating.

* feat(mcp-servers): show update-available icon on server card

Displays an amber ArrowUpCircle button next to the toggle when a newer
registry version exists. Clicking opens the same upgrade confirmation dialog.

* test(mcp-servers): add tests for useUpdateVersion hook

Covers isReady state, confirmation dialog rendering, mutation payload
with name exclusion, and cancel flow.

* refactor(mcp-servers): expose matchedRegistryItem from useIsServerFromRegistry and remove useServerDetails

Share registry matching logic by exposing the matched registry item directly,
eliminating the redundant useServerDetails hook and its separate API call.

* fix(mcp-servers): disable update button until workload data is ready

Address review feedback: use isReady from useUpdateVersion to prevent
interaction before the workload config has loaded, and explicitly void
the async call to avoid unhandled promise rejections.

* test(mcp-servers): add toUpdateBody unit tests and fix test config

Export toUpdateBody for direct testing. Add unit tests covering field
removal, image replacement, and immutability. Add mutations.retry=false
to test QueryClient for consistent behavior.

* test(mcp-servers): add matchedRegistryItem and card version drift tests

Add assertions for matchedRegistryItem in useIsServerFromRegistry tests
covering container, remote, and non-matching scenarios. Add card-level
integration tests for update icon visibility, dropdown menu item, and
end-to-end update flow with drift detec... (continued)

2490 of 4681 branches covered (53.19%)

Branch coverage included in aggregate %.

3947 of 6832 relevant lines covered (57.77%)

117.94 hits per line

Source Files on job 21830112289.1
  • Tree
  • List 327
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 21830112289
  • ab0495fa on github
  • Prev Job for on main (#21828106481.1)
  • Next Job for on main (#21832493761.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