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

dangernoodle-io / pogopin / 29125922470
88%

Build:
DEFAULT BRANCH: main
Ran 10 Jul 2026 09:52PM UTC
Jobs 1
Files 38
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

10 Jul 2026 09:49PM UTC coverage: 86.857% (+0.2%) from 86.61%
29125922470

push

github

web-flow
test: deterministically cover serial Manager.reconnect branches (#56)

- add TestReconnectContextCancelledBeforeSleep: already-cancelled ctx
  hits the pre-sleep ctx.Done() check deterministically (no timing)
- add beforeReconnectSleep, a nil-guarded test-only hook invoked in
  reconnect just before each backoff sleep (no-op, zero cost in
  production)
- rewrite TestReconnectExitsOnGenMismatchDuringSleep to use the hook:
  it bumps gen synchronously right before the sleep, so the post-sleep
  gen check (serial.go:230-233) deterministically trips every run
  instead of racing a background goroutine against the sleep window;
  asserts OpenFunc is never called to prove the branch was actually
  taken, not that a fallback dial merely failed
- add TestReconnectSetReadTimeoutErrorContinues: a failing
  SetReadTimeout closes the dialed port and continues to the next
  delay slot
- add TestReconnectExitsOnGenMismatchAfterDial: OpenFunc bumps gen
  synchronously before returning, deterministically hitting the
  post-dial gen check without assigning the stale port to sm.port
- add mockPort.setReadTimeoutErr (test-only) so SetReadTimeout can be
  scripted to fail

reconnect coverage is 100.0% and identical across 5+ repeated runs —
closes the flaky zero-tolerance Coveralls gate on unrelated PRs.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

4018 of 4626 relevant lines covered (86.86%)

0.99 hits per line

Coverage Regressions

Lines Coverage ∆ File
19
93.41
3.38% serial/serial.go
Jobs
ID Job ID Ran Files Coverage
1 29125922470.1 10 Jul 2026 09:52PM UTC 38
86.86
GitHub Action Run
Source Files on build 29125922470
  • Tree
  • List 38
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29125922470
  • bf14805d on github
  • Prev Build on main (#29118622463)
  • Next Build on main (#29126858598)
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