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

stacklok / toolhive / 18312970313
51%

Build:
DEFAULT BRANCH: main
Ran 07 Oct 2025 12:46PM UTC
Jobs 1
Files 278
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

07 Oct 2025 12:41PM UTC coverage: 45.822% (+0.1%) from 45.68%
18312970313

push

github

web-flow
Update MCP parser to support latest specification (#1993)

* Update MCP parser to support latest specification

Add support for new MCP methods from the 2025-06-18 specification:
- elicitation/create for user input requests
- sampling/createMessage for message creation
- resources/subscribe and resources/unsubscribe for resource subscriptions
- resources/templates/list for template listing
- roots/list for listing roots
- notifications/progress for progress notifications
- notifications/cancelled for cancellation notifications
- Additional notification methods for list changes

Update completion/complete handler to properly handle both
PromptReference and ResourceTemplateReference types as specified
in the latest schema.

Add comprehensive test coverage for all new methods to ensure
proper extraction of resource IDs and arguments.

* test: add comprehensive test coverage for MCP parser

- Added tests for all new MCP methods from 2025-06-18 specification
- Added edge case tests for error handling and malformed inputs
- Added tests for JSON-RPC notifications (messages without ID)
- Improved test coverage from ~66% to 91.7% for pkg/mcp
- All parser functions now have 83-100% coverage

* Address PR feedback

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

---------

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

66 of 70 new or added lines in 1 file covered. (94.29%)

16751 of 36557 relevant lines covered (45.82%)

16.35 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
97.18
11.67% pkg/mcp/parser.go
Jobs
ID Job ID Ran Files Coverage
1 18312970313.1 07 Oct 2025 12:45PM UTC 278
45.82
GitHub Action Run
Source Files on build 18312970313
  • Tree
  • List 278
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18312970313
  • 4cbc3017 on github
  • Prev Build on main (#18308528254)
  • Next Build on main (#18312986310)
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

© 2025 Coveralls, Inc