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

stacklok / toolhive / 22907831911
64%

Build:
DEFAULT BRANCH: main
Ran 10 Mar 2026 02:44PM UTC
Jobs 1
Files 539
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

10 Mar 2026 02:35PM UTC coverage: 63.851% (-0.07%) from 63.924%
22907831911

push

github

web-flow
Fix SSE/JSON race condition in session capability injection (#4075)

Bypass the mcp-go SDK notification mechanism during session registration
to prevent stale notifications from corrupting HTTP responses. During
OnRegisterSession, the notification-listening goroutine from the
initialize request has already exited, so notifications sent by
AddSessionTools/AddSessionResources accumulate in the channel and race
with the next request's response writer.

Replace AddSessionTools/AddSessionResources calls with direct
SetSessionTools/SetSessionResources on the session object, which sets
capabilities without triggering notifications. Also register resource
capabilities explicitly at server creation since the implicit
registration in AddSessionResources is now bypassed.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

41 of 53 new or added lines in 1 file covered. (77.36%)

518 existing lines in 4 files now uncovered.

47407 of 74246 relevant lines covered (63.85%)

74.33 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
12
76.49
0.38% pkg/vmcp/server/server.go

Uncovered Existing Lines

Lines Coverage ∆ File
4
84.01
-1.08% pkg/audit/auditor.go
11
90.77
0.29% pkg/vmcp/discovery/middleware.go
94
56.95
-2.1% cmd/thv-operator/controllers/virtualmcpserver_deployment.go
409
64.9
-4.59% cmd/thv-operator/controllers/virtualmcpserver_controller.go
Jobs
ID Job ID Ran Files Coverage
1 22907831911.1 10 Mar 2026 02:44PM UTC 539
63.85
GitHub Action Run
Source Files on build 22907831911
  • Tree
  • List 539
  • Changed 10
  • Source Changed 4
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22907831911
  • 4bc341cf on github
  • Prev Build on main (#22893998668)
  • Next Build on main (#22908807606)
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