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

stacklok / toolhive / 20855252142
50%

Build:
DEFAULT BRANCH: main
Ran 09 Jan 2026 02:40PM UTC
Jobs 1
Files 426
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

09 Jan 2026 02:35PM UTC coverage: 50.069% (+0.004%) from 50.065%
20855252142

push

github

web-flow
Fix race condition in testing (#3239)

Root Cause: The NewBackendWatcher() function was calling ctrl.SetLogger() on every invocation at line 109 in manager.go. Since tests run in parallel (using t.Parallel()), multiple goroutines were concurrently setting the global controller-runtime logger, causing a data race.

Solution: Used sync.Once to ensure the controller-runtime logger is set exactly once across all invocations, even when multiple BackendWatcher instances are created concurrently.

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

29141 of 58202 relevant lines covered (50.07%)

58.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20855252142.1 09 Jan 2026 02:40PM UTC 426
50.07
GitHub Action Run
Source Files on build 20855252142
  • Tree
  • List 426
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20855252142
  • 47634b10 on github
  • Prev Build on main (#20852704080)
  • Next Build on main (#20856154197)
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