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

stacklok / toolhive / 24083390375
65%

Build:
DEFAULT BRANCH: main
Ran 07 Apr 2026 01:22PM UTC
Jobs 1
Files 604
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 Apr 2026 01:16PM UTC coverage: 65.163%. Remained the same
24083390375

push

github

web-flow
refactor(auth): extract transientRefresher and fix flaky singleflight test (#4497)

Fix flaky singleflight deduplication test with two-phase barrier

TestMonitoredTokenSource_SingleflightDeduplicatesConcurrentRetries was
non-deterministic: the singleflight leader could complete its retry and
return before follower goroutines reached refreshGroup.Do, causing them
to start independent retry loops and fail the call-count assertion.

Add beforeSingleflightEntry and afterSingleflightEntry test hooks (both
nil in production) to MonitoredTokenSource. The test uses a two-phase
barrier:

- Phase 1 (beforeSingleflightEntry): all goroutines rendezvous and are
  released simultaneously toward refreshGroup.Do.
- Phase 2 (afterSingleflightEntry): the leader waits inside Do until all
  goroutines have signalled they are about to call Do, guaranteeing the
  group is fully formed before the retry returns.

Co-authored-by: taskbot <taskbot@users.noreply.github.com>

46 of 51 new or added lines in 1 file covered. (90.2%)

18 existing lines in 5 files now uncovered.

54679 of 83911 relevant lines covered (65.16%)

61.57 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
80.75
0.75% pkg/auth/monitored_token_source.go

Coverage Regressions

Lines Coverage ∆ File
6
20.11
-3.45% pkg/client/manager.go
5
82.81
-0.21% pkg/vmcp/composer/workflow_engine.go
3
70.0
-3.33% pkg/state/local.go
2
95.68
-1.44% pkg/vmcp/composer/template_expander.go
2
71.43
-1.68% pkg/vmcp/k8s/manager.go
Jobs
ID Job ID Ran Files Coverage
1 24083390375.1 07 Apr 2026 01:22PM UTC 604
65.16
GitHub Action Run
Source Files on build 24083390375
  • Tree
  • List 604
  • Changed 10
  • Source Changed 1
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24083390375
  • f5d8015d on github
  • Prev Build on main (#24081443466)
  • Next Build on main (#24085466364)
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