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

stacklok / toolhive / 21393182127

27 Jan 2026 10:13AM UTC coverage: 60.137% (+0.007%) from 60.13%
21393182127

push

github

web-flow
Fix concurrency bug with groups (#3447)

The E2E tests have exposed an issue where concurrent attempts to create
a group would conflict with eachother:

1. Both would check if the group exists → both get false
2. Both would then create the file → both succeed (the second overwrites the first)
3. Both requests returned 201 Created instead of one returning 409 Conflict

Change the logic to make the creation atomic.

37 of 52 new or added lines in 4 files covered. (71.15%)

4 existing lines in 2 files now uncovered.

38171 of 63473 relevant lines covered (60.14%)

78.33 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

82.88
/pkg/groups/cli_manager.go


Source Not Available

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