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

stacklok / toolhive / 23527114078
65%

Build:
DEFAULT BRANCH: main
Ran 25 Mar 2026 05:57AM UTC
Jobs 1
Files 576
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

25 Mar 2026 05:54AM UTC coverage: 64.208% (+0.03%) from 64.178%
23527114078

push

github

web-flow
Preserve content-level annotations through vMCP relay (#4336)

* Preserve content-level annotations through vMCP relay

MCP content items (text, image, audio, embedded resource, resource link)
can carry per-content annotations (audience, priority, lastModified) that
inform how clients display results. The vMCP relay layer was silently
dropping these annotations during the mcp->vmcp->mcp conversion round
trip.

Add ContentAnnotations domain type following the existing Anti-Corruption
Layer pattern, and update ConvertMCPContent/ToMCPContent to preserve
annotations for all five content types.

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

* Address review comments on content annotations

- Deep-copy Priority pointer in ConvertMCPAnnotations and ToMCPAnnotations
  to prevent pointer aliasing across the ACL boundary
- Add zero-value guard in ToMCPAnnotations for symmetry with
  ConvertMCPAnnotations (empty non-nil input now returns nil)
- Document Priority range constraint [0.0, 1.0] and valid Audience
  values per MCP spec
- Add test case for empty non-nil ContentAnnotations
- Add blob embedded resource test case for round-trip verification

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

* Fix lint issues in content annotations conversion

Break long lines exceeding 130-char limit in ConvertMCPContent and
fix gci formatting alignment in content_test.go.

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

---------

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

96 of 108 new or added lines in 1 file covered. (88.89%)

29 existing lines in 3 files now uncovered.

51092 of 79573 relevant lines covered (64.21%)

147.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
12
81.4
3.86% pkg/vmcp/conversion/content.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
52.09
0.19% pkg/workloads/manager.go
3
71.85
-1.11% pkg/ignore/processor.go
24
81.4
3.86% pkg/vmcp/conversion/content.go
Jobs
ID Job ID Ran Files Coverage
1 23527114078.1 25 Mar 2026 05:57AM UTC 576
64.21
GitHub Action Run
Source Files on build 23527114078
  • Tree
  • List 576
  • Changed 4
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23527114078
  • 3a3287b1 on github
  • Prev Build on main (#23510630018)
  • Next Build on main (#23527159652)
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