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

werbenhu / eventbus / 22802453022 / 1
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 07 Mar 2026 04:11PM UTC
Files 5
Run time 0s
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 Mar 2026 04:08PM UTC coverage: 97.842% (-2.2%) from 100.0%
22802453022.1

push

github

werbenhu
refactor(eventbus): improve channel and pipe management logic

- Replace atomic counter with simple increment for CowMap length calculation
- Change channel stopCh type from chan any to chan struct{} for proper signaling
- Store reflect.Value of topic in channel struct to avoid repeated conversions
- Simplify transfer method by removing redundant topic parameter
- Use LoadOrStore to prevent concurrent channel creation and properly close duplicates
- Modify Pipe handlers map to use handler pointer as key via reflect.ValueOf().Pointer()
- Replace sending struct{} on stopCh with channel close for graceful shutdown
- Correct PublishSync to call synchronous publish method in singleton wrapper

272 of 278 relevant lines covered (97.84%)

2219.91 hits per line

Source Files on job 22802453022.1
  • Tree
  • List 5
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22802453022
  • 64852713 on github
  • Prev Job for on master (#17509680571.1)
  • Next Job for on master (#22802479358.1)
  • Delete
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