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

stacklok / toolhive / 24252140182
66%

Build:
DEFAULT BRANCH: main
Ran 10 Apr 2026 04:10PM UTC
Jobs 1
Files 616
Run time 2min
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 Apr 2026 04:05PM UTC coverage: 65.41% (+0.02%) from 65.395%
24252140182

push

github

web-flow
Wire per-user identity into rate limit middleware (#4718)

The rate limit middleware was passing an empty string for userID, meaning per-user buckets (added in #4704) were never checked. This wires identity.Subject from the auth context into the limiter so per-user rate limits are enforced at runtime.

Extract auth.IdentityFromContext() in rateLimitHandler and pass identity.Subject as the userID to limiter.Allow()
Hoist the parameterized mock OIDC server from virtualmcp/helpers.go into the shared testutil package for reuse across test suites
Add E2E acceptance test: deploy MCPServer with perUser rate limit + inline OIDC auth, verify user-a is rejected after limit, user-b succeeds independently
Closes #4550

5 of 5 new or added lines in 1 file covered. (100.0%)

5 existing lines in 2 files now uncovered.

56232 of 85969 relevant lines covered (65.41%)

62.47 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
82.81
0.21% pkg/vmcp/composer/workflow_engine.go
2
73.63
-0.64% pkg/runner/config.go
Jobs
ID Job ID Ran Files Coverage
1 24252140182.1 10 Apr 2026 04:10PM UTC 616
65.41
GitHub Action Run
Source Files on build 24252140182
  • Tree
  • List 616
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24252140182
  • 3d7b9164 on github
  • Prev Build on main (#24251612365)
  • Next Build on main (#24253141950)
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