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

emqx / esockd / 588
67%
master: 67%

Build:
Build:
LAST BUILD BRANCH: feat/conn-rate-token-refund
DEFAULT BRANCH: master
Ran 25 Aug 2026 06:27AM 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 06:25AM UTC coverage: 68.478%. First build
588

Pull #227

github

terry-xiaoyu
fix: address PR review comments

- esockd_connection_sup: peername failures are returned tagged as
  {error, {peername, Reason}} so callers can tell 'peer already gone'
  apart from errors returned by the connection MFA itself
- esockd_acceptor: handle 'ignore' explicitly (previously case_clause
  crash); spend a token only for {ok, Pid} and maxlimit/forbidden; every
  failure before a connection process exists (MFA errors/crashes, tune
  failures incl. closed) spends nothing
- esockd_connection_sup: keep the peer endpoint (raw {Addr, Port}, already
  fetched for access rules) in the existing curr_connections map instead
  of a per-connection process-dictionary entry; the local listener address
  is cached once per supervisor (constant memory); pre-upgrade 'true' map
  values are handled on exit
- esockd_server/esockd_listener_sup: restore synchronous init_stats as a
  startup barrier so a pending del_stats from a previously stopped
  listener cannot wipe a reopened listener's counters; sock-error counters
  stay lazy
- esockd_dtls_acceptor: handle the tagged peername failure and ignore

Tests: ignore handling (acceptor + connection-sup), peername tagging;
16/16 suites pass.
Pull Request #227: fix: don't spend connection-rate token on sockets already dead at accept

35 of 61 new or added lines in 5 files covered. (57.38%)

756 of 1104 relevant lines covered (68.48%)

201.85 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 588.1 25 Aug 2026 06:27AM UTC 22
68.39
GitHub Action Run
2 588.2 25 Aug 2026 06:27AM UTC 22
68.39
GitHub Action Run
3 588.3 25 Aug 2026 06:28AM UTC 22
68.45
GitHub Action Run
Source Files on build 588
  • 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
  • Next Build on (#590)
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