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

emqx / esockd / 596
67%
master: 67%

Build:
Build:
LAST BUILD BRANCH: fix/do-not-consume-token-for-dead-sockets
DEFAULT BRANCH: master
Ran 25 Aug 2026 10:01AM UTC
Jobs 3
Files 22
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

25 Aug 2026 07:31AM UTC coverage: 68.364%. First build
596

Pull #227

github

terry-xiaoyu
refactor: merge sock-error counters into get_stats/1

esockd_server:get_stats/1 has no production callers in this tree (only
tests), so the per-reason socket-error counters can safely live in its
result instead of a separate get_sock_errors/1 query.

Store them under the same {{Proto, ListenOn}, Metric} key shape with the
metric {sock_error, Reason}; get_stats/1 now returns everything for a
listener, e.g. [{accepted, 2}, {discarded, 1},
{{sock_error, enotconn}, 5}].  del_stats needs one match_delete less.
get_sock_errors/1 is removed; inc_sock_error/2 stays as the write API.
Pull Request #227: fix: don't spend connection-rate token on sockets already dead at accept

31 of 57 new or added lines in 4 files covered. (54.39%)

752 of 1100 relevant lines covered (68.36%)

201.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
56.06
src/esockd_acceptor.erl
6
62.96
src/esockd_connection_sup.erl
2
48.65
src/esockd_dtls_acceptor.erl
Jobs
ID Job ID Ran Files Coverage
1 596.1 25 Aug 2026 10:01AM UTC 22
68.27
GitHub Action Run
2 596.2 25 Aug 2026 10:01AM UTC 22
68.27
GitHub Action Run
3 596.3 25 Aug 2026 10:01AM UTC 22
68.33
GitHub Action Run
Source Files on build 596
  • Tree
  • List 22
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #227
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