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

stacklok / toolhive / 24259375214 / 1
66%
main: 66%

Build:
DEFAULT BRANCH: main
Ran 10 Apr 2026 07:09PM UTC
Files 616
Run time 23s
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 07:03PM UTC coverage: 65.44% (+0.03%) from 65.412%
24259375214.1

push

github

web-flow
Fix flaky TestForEachStep_ErrorAbort (#4739)

Fix flaky TestForEachStep_ErrorAbort by reducing collection to one item

The forEach loop launches all goroutines upfront and limits concurrency
with a semaphore channel. With a 2-item collection, the second goroutine
can race past the select (Go picks randomly when both the semaphore send
and context cancellation are ready) and make an unexpected RouteTool call
the mock doesn't expect.

A single-item collection eliminates the race entirely while still
exercising the abort-on-error code path.

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

56323 of 86068 relevant lines covered (65.44%)

62.57 hits per line

Source Files on job 24259375214.1
  • Tree
  • List 616
  • Changed 9
  • Source Changed 3
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24259375214
  • 443d2faa on github
  • Prev Job for on main (#24253141950.1)
  • Next Job for on main (#24265416574.1)
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