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

umputun / dkll
83%

Build:
DEFAULT BRANCH: master
Repo Added 26 May 2019 03:19AM UTC
Files 17
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • agent
  • chore/deps-and-go-1.26
  • ci/workflow-hardening
  • demo
  • dependabot/github_actions/github-actions-updates-d2f953908f
  • dependabot/go_modules/github.com/docker/docker-25.0.6incompatible
  • dependabot/go_modules/github.com/fsouza/go-dockerclient-1.12.1
  • dependabot/go_modules/github.com/fsouza/go-dockerclient-1.4.1
  • dependabot/go_modules/github.com/go-chi/chi/v5-5.2.1
  • dependabot/go_modules/github.com/go-chi/chi/v5-5.2.2
  • dependabot/go_modules/github.com/go-chi/chi/v5-5.2.3
  • dependabot/go_modules/github.com/go-pkgz/lgr-0.12.0
  • dependabot/go_modules/github.com/go-pkgz/lgr-0.12.1
  • dependabot/go_modules/github.com/go-pkgz/rest-1.20.3
  • dependabot/go_modules/github.com/go-pkgz/rest-1.20.4
  • dependabot/go_modules/github.com/opencontainers/runc-1.1.12
  • dependabot/go_modules/go-modules-updates-2d978dc9b6
  • dependabot/go_modules/go-modules-updates-8dcc27ee2b
  • dependabot/go_modules/go-modules-updates-ac3c29601d
  • dependabot/go_modules/go-modules-updates-dc9768f38b
  • dependabot/go_modules/go.mongodb.org/mongo-driver-1.17.3
  • dependabot/go_modules/go.mongodb.org/mongo-driver-1.17.4
  • fix-demo-emitter-flaky
  • fix/client-test-log-setup
  • fix/compose-mongo-url-typo
  • fix/syslog-parser-panic
  • gsyslog
  • master
  • migrate-to-routegroup
  • mongo-driver
  • paskal/dependabot-disable-updates
  • paskal/dependabot-security-updates
  • refs/tags/v0.2.0
  • refs/tags/v0.3.0
  • refs/tags/v0.3.1
  • v0.1.0
  • v0.1.1
  • v0.1.2
  • v0.1.3

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

Relevant lines Covered
Build:
Build:
1220 RELEVANT LINES 1016 COVERED LINES
19357.59 HITS PER LINE
Source Files on master
  • Tree
  • List 17
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
44697765216 master 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 ... push 20 Nov 2026 07:50AM UTC web-flow github
83.28
44697472774 fix-demo-emitter-flaky 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. Pull #64 20 Nov 2026 07:47AM UTC umputun github
83.52
44697480305 fix-demo-emitter-flaky 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. Pull #64 20 Nov 2026 07:47AM UTC umputun github
83.52
44696939321 fix-demo-emitter-flaky 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 mess... Pull #64 20 Nov 2026 07:43AM UTC umputun github
79.67
44692801256 fix-demo-emitter-flaky 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. R... push 20 Nov 2026 07:10AM UTC umputun github
83.35
32350795638 master Fix no-op logger setup in client test (#62) lgr.Out returns an Option, so calling it on its own builds the option and discards it. The test intended to send log output to io.Discard for its duration and restore stdout afterwards, and did neither;... push 20 Aug 2026 08:51AM UTC web-flow github
83.18
32350588274 fix/client-test-log-setup Merge branch 'master' into fix/client-test-log-setup Pull #62 20 Aug 2026 08:49AM UTC web-flow github
83.18
32350567677 master Fix mongo url in compose files (#59) * Fix collection parameter typo in compose files The MONGO url in compose-server.yml and compose-demo.yml spelled the collection parameter as "collecion". go-pkgz/mongo strips only the parameters it is asked ... push 20 Aug 2026 08:48AM UTC web-flow github
83.18
32347803990 fix/compose-mongo-url-typo Point demo compose at the mongo-dkll service The MONGO url in compose-demo.yml addressed host "mongo" while the service and its hostname are "mongo-dkll", so the name did not resolve on the compose network. Pull #59 20 Aug 2026 08:14AM UTC paskal github
83.18
32347759137 fix/client-test-log-setup Fix no-op logger setup in client test lgr.Out returns an Option, so calling it on its own builds the option and discards it. The test intended to send log output to io.Discard for its duration and restore stdout afterwards, and did neither; stati... Pull #62 20 Aug 2026 08:14AM UTC paskal github
83.18
See All Builds (158)
  • Repo on GitHub
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