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

stacklok / toolhive / 19442960191
51%

Build:
DEFAULT BRANCH: main
Ran 17 Nov 2025 08:08PM UTC
Jobs 1
Files 379
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

17 Nov 2025 08:06PM UTC coverage: 48.846% (+0.004%) from 48.842%
19442960191

push

github

web-flow
Fix race detector failures in parallel workflow tests (#2614)

Replace wall-clock timing with sequence number tracking to eliminate
intermittent test failures under race detector.

The race detector adds significant instrumentation overhead that can
cause timing-based assertions to fail. This change addresses the root
cause by using atomic sequence counters to verify execution order
instead of relying on wall-clock time comparisons.

Changes:
- Use atomic.Int64 sequence counters instead of time.Time timestamps
- Move atomic operations outside mutex critical sections
- Add defensive map existence checks with require.Contains/require.Len
- Increase timeout multipliers to 2.5x expected time with clear comments
- Improve error messages to include sequence numbers for debugging

Testing:
All tests now pass consistently under race detector:
- go test ./pkg/vmcp/composer -race -count=50

Fixes #2613

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>

24231 of 49607 relevant lines covered (48.85%)

60.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19442960191.1 17 Nov 2025 08:08PM UTC 379
48.85
GitHub Action Run
Source Files on build 19442960191
  • Tree
  • List 379
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19442960191
  • f9e4c4e3 on github
  • Prev Build on main (#19442704170)
  • Next Build on main (#19442991491)
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

© 2025 Coveralls, Inc