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

umputun / dkll / 44697765216
83%

Build:
DEFAULT BRANCH: master
Ran 20 Nov 2026 07:50AM UTC
Jobs 1
Files 17
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

20 Nov 2026 07:49AM UTC coverage: 83.279% (+0.1%) from 83.183%
44697765216

push

github

web-flow
Fix flaky TestDemoEmitter_Logs and syslog shutdown race (#64)

* make TestDemoEmitter_Logs deterministic with synctest

The test counted ticks of a real 100ms timer against a 1090ms deadline,
leaving 90ms of scheduling slack across ten sequential waits, so a busy
machine under -race could miss the tenth line. Run it inside synctest.Test
so the timers and the deadline use the fake clock and the exact count holds.

Fixed #60

* fix syslog shutdown race and forwarder shutdown hangs

On cancel the syslog shutdown goroutine closed outCh while the relay could
still send to it, a data race and a possible send on a closed channel. The
relay also stopped reading inCh, so a message in flight blocked the go-syslog
handler, server.Wait never returned and outCh never closed. The relay now
owns outCh and drains inCh until the server stops.

Forwarder.Run waited for one value from the syslog channel instead of its
closure, and could block forever on a full queue once the writer had exited.
It now drains the channel to closure and makes the queue send cancellable.

* rename moq mocks to _mock.go to keep them out of coverage

CI drops files matching _mock.go from the coverage profile. The generated
mocks in app/server/mocks did not match, so they were included in the
reported coverage total and lowered it.

10 of 10 new or added lines in 2 files covered. (100.0%)

3 existing lines in 1 file now uncovered.

1016 of 1220 relevant lines covered (83.28%)

19357.59 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
85.48
-0.81% app/client/cli.go
Jobs
ID Job ID Ran Files Coverage
1 44697765216.1 20 Nov 2026 07:50AM UTC 17
83.28
GitHub Action Run
Source Files on build 44697765216
  • Tree
  • List 17
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e120c3fb on github
  • Prev Build on master (#32350795638)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc