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

immortal / fork / 39820477144
67%
main: 68%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: main
Ran 22 Oct 2026 05:12PM UTC
Jobs 1
Files 13
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

22 Oct 2026 05:11PM UTC coverage: 66.161% (+1.9%) from 64.299%
39820477144

push

github

nbari
0.11.0 Add a process-group probe and pin an armed guard's group

process_group_exists performs the POSIX null-signal check kill(-pgid, 0) and
reports whether any member, including an unreaped zombie, remains, without
delivering a signal: success and EPERM mean present, ESRCH absent, EINTR is
retried. A supervisor can wait with its own deadline until a group it killed
has drained instead of assuming it is empty.

An armed ProcessGroupGuard now pins its group. The out-of-group helper resets
SIGCHLD to its default disposition, forks the group's anchor, which creates
the group and exits, and leaves the anchor unreaped while the guard is armed.
The anchor's zombie is a member, so the group and its numeric ID stay
reserved after every workload member has exited or left, and the helper's
owner-loss SIGKILL can never reach an unrelated group that reused an emptied
ID. disarm reaps the anchor and releases the pin; activate only records
activation. The anchor is the helper's child, never the owner's. macOS skips
zombie members and answers a signal to a group holding only the anchor with
EPERM; the helper, like process_group_exists, treats that group as present.

ProcessGroupGuard::signal_group delivers a signal through the helper while it
still holds the anchor, so an armed group is never signalled by numeric ID and
a dead helper makes delivery fail instead of reaching a reused group. Each
request carries a unique ID, so a reply acknowledges only its own request.
Cleanup resumes a stopped helper before its deadline, even when another waiter
consumed the stop, and the helper kills its own anchor before reaping it.
Where close_range is unavailable, descriptor closing also covers descriptors
opened above a later-lowered soft limit and fails before fork when the
descriptor inventory cannot be read.

Cleanup signals a child PID only while the owner keeps exited children
waitable and the child is still unreaped, because only an unreaped child pins
its PID; otherwise ... (continued)

433 of 652 new or added lines in 8 files covered. (66.41%)

13 existing lines in 3 files now uncovered.

1787 of 2701 relevant lines covered (66.16%)

97.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
102
63.13
-8.71% src/group_guard.rs
61
60.13
src/group_guard/delivery.rs
26
61.97
8.0% src/descriptor.rs
11
62.02
22.33% src/child_signal.rs
11
83.33
-4.67% src/wait.rs
7
57.74
3.81% src/daemon.rs
1
92.16
4.23% src/signal.rs

Coverage Regressions

Lines Coverage ∆ File
9
63.13
-8.71% src/group_guard.rs
3
61.97
8.0% src/descriptor.rs
1
57.74
3.81% src/daemon.rs
Jobs
ID Job ID Ran Files Coverage
1 39820477144.1 22 Oct 2026 05:12PM UTC 13
66.16
GitHub Action Run
Source Files on build 39820477144
  • Tree
  • List 13
  • Changed 9
  • Source Changed 8
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39820477144
  • a2fb2fe1 on github
  • Prev Build on develop (#29648108172)
  • Next Build on group-probe (#39836081870)
  • Delete
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