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

floatdrop / zoxy / 28698631268
96%

Build:
DEFAULT BRANCH: main
Ran 04 Jul 2026 07:09AM UTC
Jobs 1
Files 25
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

04 Jul 2026 07:06AM UTC coverage: 96.506% (-0.003%) from 96.509%
28698631268

push

github

floatdrop
drain: graceful shutdown — SIGTERM drains workers, completes in-flight, then exits (Phase 4 slice 1)

Trigger: signals blocked everywhere + signalfd on main; each worker has a
recv pending on a socketpair, so the poke is an ordinary ring completion.
Per worker: cancel accept, close the listener (refuse > queue-and-ignore),
close idle keep-alive connections politely, force Connection: close on
in-flight responses via the existing injection, clamp every deadline to
now + drain_timeout so the ticking timers force-close stragglers. Exit
when every pool slot and server op drained; a second signal exits now.

Pool grows an in_use marker (drain sweep + honest dump_pool); the test IO
listener close now RSTs its accept queue like the kernel; HealthChecker
stop() cancels in-flight probes so a black-holed endpoint can't pin exit.

Verified: sim drains a third of iterations at a random step (seeds
0..2000), three integration tests, the zero-alloc gate drains inside it,
process-level idle+wedged+mid-drain mix, 60k req/s sanity bench in-band.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

6352 of 6582 relevant lines covered (96.51%)

0.97 hits per line

Coverage Regressions

Lines Coverage ∆ File
60
97.36
-0.02% net/proxy.zig
45
85.41
-0.75% sim.zig
28
92.89
1.04% io/test_io.zig
6
96.81
-2.63% proxy/health_check.zig
Jobs
ID Job ID Ran Files Coverage
1 28698631268.1 04 Jul 2026 07:09AM UTC 25
96.51
GitHub Action Run
Source Files on build 28698631268
  • Tree
  • List 25
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28698631268
  • 6673e388 on github
  • Prev Build on main (#28697977385)
  • Next Build on main (#28699233514)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc