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

stacklok / toolhive / 45978913070
75%

Build:
DEFAULT BRANCH: main
Ran 27 Nov 2026 10:15AM UTC
Jobs 1
Files 1089
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

27 Nov 2026 10:03AM UTC coverage: 74.947% (+0.02%) from 74.923%
45978913070

push

github

web-flow
Bound per-user upstream token reads by context (#7351)

Before, GetValidTokensForUser waited for the refresher even after the caller context ended. Now it returns promptly while an in-flight refresh can still persist the row. Keep session reads synchronous so the caller can hold its generation lease until refresh completes.

Let the user-keyed grant guard rely on the reader for cancellation. A failure that reaches the guard after its deadline is treated as uncertain, so the grant goes through instead of being revoked on a late not-found answer. Omit the provider-supplied token type from errors that reach operator logs.

Run the refresh worker detached from the caller's cancellation, so a caller that leaves early cannot abort a refresh before the provider is called. Record the ID-token refresh suppression from the worker, for the owner's row only, after it sends its result, so a refresh that finishes after the caller left does not make the next read call the provider again. When that refresh fails after the caller left, record the failure backoff and log it once, so a failing provider is not called on every read. Document that callers should log a failure category, not error text, and what a read returns when the context ends during an ID-token-only refresh, including that a row the refresher clears in the meantime is reported on the next read.

Co-authored-by: Mecatl <noreply@mecatl.dev>

55 of 57 new or added lines in 3 files covered. (96.49%)

138 existing lines in 10 files now uncovered.

104534 of 139477 relevant lines covered (74.95%)

981.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
98.68
-0.54% pkg/auth/upstreamtoken/service.go

Coverage Regressions

Lines Coverage ∆ File
75
86.4
-0.23% pkg/vmcp/server/server.go
25
79.88
0.55% pkg/vmcp/server/serve_handlers.go
19
76.11
1.11% pkg/vmcp/server/serve_optimizer.go
7
94.24
0.7% pkg/vmcp/aggregator/caching_aggregator.go
3
96.34
-3.66% pkg/auth/obo/cache/cache.go
3
64.29
-21.43% pkg/authserver/upstream/tokens.go
2
91.14
0.0% pkg/vmcp/server/modern_dispatch.go
2
59.36
0.0% pkg/workloads/manager.go
1
96.77
-3.23% pkg/foreach/foreach.go
1
94.66
-0.76% pkg/vmcp/composer/dag_executor.go
Jobs
ID Job ID Ran Files Coverage
1 45978913070.1 27 Nov 2026 10:15AM UTC 1089
74.95
GitHub Action Run
Source Files on build 45978913070
  • Tree
  • List 1089
  • Changed 18
  • Source Changed 9
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45978913070
  • 88636058 on github
  • Prev Build on main (#45963066522)
  • Next Build on main (#45983476176)
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