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

stacklok / toolhive / 30080549571
69%

Build:
DEFAULT BRANCH: main
Ran 24 Jul 2026 08:58AM UTC
Jobs 1
Files 823
Run time 3min
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

24 Jul 2026 08:53AM UTC coverage: 69.208% (-0.08%) from 69.286%
30080549571

push

github

web-flow
Deflake real-backend forwarding tests (#5963)

TestForwarding_*_RealBackend intermittently timed out on CI waiting for a
forwarded, server-initiated notification. waitNotification used a hardcoded
time.After deadline (5s originally, 15s after #5941) that sat inside the
per-test context: a timer shorter than the context flaked under the
full-suite parallel -race load (the async backend -> vMCP -> downstream
relay can take many seconds), while a longer one would mask a genuine hang.

Collapse the two deadlines into one: waitNotification now selects on the
caller's ctx.Done() instead of its own timer, and every real-backend
forwarding test shares a single, generous forwardingRealBackendTimeout
(60s) — well under the 10m go-test global timeout, so a real hang still
fails fast with a clear ctx error. notifCh stays buffered at 8; each test
emits and reads a single notification, so drop-on-full is not a factor.

Verified with `go test -race -count=5 -run TestForwarding_ ./pkg/vmcp/server/`.

Closes #5962.

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

77840 of 112473 relevant lines covered (69.21%)

79.72 hits per line

Coverage Regressions

Lines Coverage ∆ File
70
61.52
-6.04% pkg/workloads/manager.go
6
20.11
-3.45% pkg/client/manager.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
5
0.0
-100.0% pkg/workloads/sysproc_unix.go
3
73.79
-2.91% pkg/state/local.go
3
67.14
-4.29% pkg/state/runconfig.go
Jobs
ID Job ID Ran Files Coverage
1 30080549571.1 24 Jul 2026 08:58AM UTC 823
69.21
GitHub Action Run
Source Files on build 30080549571
  • Tree
  • List 823
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30080549571
  • bd855dd4 on github
  • Prev Build on main (#30079935442)
  • Next Build on main (#30081604025)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc