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

immortal / fork
67%
main: 68%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: main
Repo Added 01 Feb 2024 03:10PM UTC
Token DlSs6WdOvIokI1Tgd3cx0vvjOCKsNvrdL regen
Build 106 Last
Files 14
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

LAST BUILD ON BRANCH group-probe
branch: group-probe
CHANGE BRANCH
x
Reset
Sync Branches
  • group-probe
  • 0.1.23
  • 0.10.0
  • 0.11.0
  • 0.12.0
  • 0.2.0
  • 0.3.0
  • 0.3.1
  • 0.4.0
  • 0.5.0
  • 0.6.0
  • 0.7.0
  • 0.8.0
  • 0.9.1
  • develop
  • issue-16
  • issue-17
  • issue-18
  • main

23 Oct 2026 05:57AM UTC coverage: 66.701% (+2.4%) from 64.299%
39908664585

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 creates
the group's anchor, which leads 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.

Before creating the anchor the helper resets every inherited signal handler to
the default, as exec would, keeping ignored signals ignored. It then creates
the anchor without fork(3), whose pthread_atfork handlers would otherwise run
inside the helper and could reap the anchor or restore auto-reaping. On Linux
and Android architectures whose clone returns 0 in the child it issues the
system ca... (continued)

580 of 853 new or added lines in 9 files covered. (68.0%)

12 existing lines in 4 files now uncovered.

1921 of 2880 relevant lines covered (66.7%)

409.3 hits per line

Relevant lines Covered
Build:
Build:
2880 RELEVANT LINES 1921 COVERED LINES
409.3 HITS PER LINE
Source Files on group-probe
  • Tree
  • List 14
  • Changed 10
  • Source Changed 8
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
39908664585 group-probe 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 a... push 23 Oct 2026 05:58AM UTC nbari github
66.7
39902004838 group-probe 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 a... push 23 Oct 2026 04:46AM UTC nbari github
66.7
39836081870 group-probe 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 a... push 22 Oct 2026 06:59PM UTC nbari github
66.03
39820477144 group-probe 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 a... push 22 Oct 2026 05:12PM UTC nbari github
66.16
39794658479 group-probe 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 a... push 22 Oct 2026 02:20PM UTC nbari github
64.85
39454218905 group-probe Keep child cleanup pinned and descriptor closing fail closed Reject auto-reaping SIGCHLD owner policy before checked process creation and recheck ownership before cleanup signals. Preserve failed daemon intermediates with WNOWAIT until signalling... push 20 Oct 2026 04:05PM UTC nbari github
64.85
39430496166 group-probe 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 a... push 20 Oct 2026 01:27PM UTC nbari github
63.98
39411188383 group-probe 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 a... push 20 Oct 2026 10:55AM UTC nbari github
63.98
39384518726 group-probe 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 a... push 20 Oct 2026 07:08AM UTC nbari github
63.83
39299778980 group-probe 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 a... push 19 Oct 2026 06:07PM UTC nbari github
62.71
See All Builds (106)

Badge your Repo: fork

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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