wait_for_task_groups() checked only os.path.isdir('/proc'), which stays true inside PID-namespaced sandboxes whose /proc mount still reflects the host namespace (observed in preflight proof sandbox where /proc/603/stat raised FileNotFoundError). Verify os.readlink('/proc/self') == str(os.getpid()) and /proc/<self>/stat before scanning /proc so wait_for_task_groups falls back to os.kill(-pgid, 0) instead of silently skipping SIGKILL, assert SIGKILL termination in the live-group test, and skip only the /proc-dependent zombie-only subtest when /proc does not match the current PID namespace.
Contract-Neutral: Internal /proc PID-namespace check in wait_for_task_groups() and matching sandbox guard in test_release_backend_queue.py only; no release gate CLI, coverage, CPU lease, timeout, or public contract delta.
Change-source: pulse-maintainer
After sending SIGKILL to each owned task process group, stop_tasks()
only waited on direct subshell leaders (wait "${pids[@]}"). When a
leader had already exited on SIGTERM (or as the failing task) while a
TERM-ignoring or orphaned descendant only just received SIGKILL, the
runner could return before the kernel finished tearing down that
descendant, leaving a live process in state R and failing
test_release_backend_queue.py in Build and Test (run 46185958683,
job 141105938366).
Add wait_for_task_groups() to wait with a bounded 5-second deadline
(re-sending SIGKILL while live non-zombie processes remain in any owned
process group, and ignoring dead/zombie states Z/X/x so unreaped
orphans awaiting init cannot stall cleanup), invoked only when
kill -0 -- "-$pid" reports remaining processes in an owned group.
Add regression tests covering TERM-ignoring descendants after leader
exit, live group draining, and zombie-only groups.
Contract-Neutral: Internal process-group teardown wait and regression tests in scripts/run-release-backend-tests.sh only; no release gate CLI, coverage, CPU lease, timeout, or public contract delta.
Change-source: pulse-maintainer
The Pro build reran Pulse's whole test suite against the release commit,
39 of the 41 minutes of its test job, although this workflow's own
race-enabled backend_tests already tests that commit. Pass this run's id as
public_release_run_id. The Pro build then tests only the Enterprise suite,
and its signing job waits until this run's backend_tests passes on the same
commit.
The release gate listed only Test names in internal/api, so the seed
corpora of FuzzNormalizeRouteCompatibility and FuzzDecodeSecurityRequestBody
ran only in the Pro build's copy of the suite. List Fuzz and Example names as
pull-request CI already does, and let the shard planner accept them. On the
current tree that adds exactly those two, and both pass.
pulse-enterprise PR 237 declares the input and must merge first: an unknown
dispatch input fails the dispatch.
Candidate preflight found the refreshed CI-only observations had removed two whole-package estimates still consumed by the shared backend queue. Restore those unmeasured historical hints, while preserving the refreshed ordinary CI assignments. Make the TERM-resistant cleanup witness ready before its peer fails, and exercise shipped and reversed fixture orders instead of depending on weight order.
Contract-Neutral: Scheduling hints and causal test-fixture repair only; no product runtime, release rules, required check, coverage, worker envelope, timeout or cleanup assertion is weakened.
Change-source: pulse-maintainer
Retain the failed leader in the cleanup set so its surviving descendants receive the same bounded TERM/KILL signals. Controlled children independently record process-group identity; a failing leader leaves a TERM-resistant descendant for the actual runner to clean. Liveness checks distinguish live execution from a disappearing PID or a dead zombie awaiting init reaping.
Change-source: pulse-maintainer
A controlled Bash probe confirms wait -n returns no-job for an already completed child even though wait PID retains its status. Drain completed task PIDs explicitly and reconcile a completion racing the live-job snapshot. Add actual-helper controls for successful and failing saved statuses, including127; no task is rerun and no missing result becomes a pass.
Change-source: pulse-maintainer
The offline VM exposed a timing race before the real backend suite started. Prove released-capacity admission through an explicit child-start barrier. Failure controls also exposed a descendant missed by recursive process enumeration: give tasks separate process groups and apply bounded TERM/KILL cleanup, including a child deliberately ignoring TERM. Coverage, CPU widths and test deadlines are unchanged.
Change-source: pulse-maintainer
Beta.3 backend job 123003682684 completed its three API shards in 17 minutes but kept the non-API graph on one slot until the 70-minute hosted cancellation. Reuse each finished shard width for source-listed whole packages, start expensive packages first, isolate their data, and retain CPU lease coverage. Preserve the total CPU budget, all race/vet coverage and existing deadlines. Add actual-runner discovery, capacity, failure and cleanup controls.
Change-source: pulse-maintainer