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

dunglas / mercure / 30198434907
89%
master: 93%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 26 Jul 2026 10:34AM UTC
Jobs 1
Files 35
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

26 Jul 2026 10:32AM UTC coverage: 88.546% (+0.05%) from 88.498%
30198434907

push

github

dunglas
fix: don't close a connection whose write deadline is near

disconnectionTime is the write deadline minus dispatchTimeout, and the
timer is armed with time.Until on it, so a value in the past fires on the
first select iteration and the connection closes right after the headers.

Two configurations reach it. A token expiring within dispatchTimeout (5s by
default) is accepted by authorize and then dropped instantly, so the
subscriber reconnects in a loop until the token really expires; short-lived
tokens are recommended, which makes this the normal case near the end of a
token's life. A dispatchTimeout larger than writeTimeout does the same to
every connection.

Keep the margin when it is available and fall back to the write deadline
itself otherwise, so the subscriber gets the time its token grants. A zero
deadline still means no deadline, and no timer is armed.

14 of 14 new or added lines in 1 file covered. (100.0%)

2551 of 2881 relevant lines covered (88.55%)

218.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0 - 30198434907.1 26 Jul 2026 10:34AM UTC 35
88.55
GitHub Action Run
Source Files on build 30198434907
  • Tree
  • List 35
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e758afc1 on github
  • Prev Build on main (#30197045933)
  • Next Build on main (#30198502087)
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