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

werbenhu / eventbus / 22802453022
98%

Build:
DEFAULT BRANCH: master
Ran 07 Mar 2026 04:11PM UTC
Jobs 1
Files 5
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

07 Mar 2026 04:08PM UTC coverage: 97.842% (-2.2%) from 100.0%
22802453022

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

28 of 34 new or added lines in 4 files covered. (82.35%)

272 of 278 relevant lines covered (97.84%)

2219.91 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
96.03
-3.97% eventbus.go
Jobs
ID Job ID Ran Files Coverage
1 22802453022.1 07 Mar 2026 04:11PM UTC 5
97.84
GitHub Action Run
Source Files on build 22802453022
  • Tree
  • List 5
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 64852713 on github
  • Prev Build on master (#17509680571)
  • Next Build on master (#22802479358)
  • 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