[BUG] Late terminal cleanup stops after an independent member fails #21
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/exsh#21
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
One late cleanup failure can block retirement of other independently held,
already terminal children. Their custody remains retained, but cleanup stops
making independent progress.
Reproduction
In
Cohort.settle_terminal(), make initial terminal discovery refuse, or placea member with a stale pidfd before another authenticated terminal member. The
whole-pass exception handler returns before the later member is processed.
Expected and actual behavior
Keep the exact first failure and every uncertain owner while independently
observing, reaping and retiring other original terminal members. Each operation
must retain its custody checks. The existing handler instead aborts the pass.
No new signal, clock, counter or recovery authority is needed.
Environment and identity
Exsh
feature/posix-compat, sourcee83f5effb5a615f4a45ab640f6e3c189c02125ef.Evidence and prior checks
The defect follows from the source exception boundary. Seven new logical
controls and the full 1,039-test suite pass locally. A separate CI558 native
fixture assertion failed without printing its remaining member set; this issue
does not claim the source defect caused that recorded failure.
Tracking
Related work: PR #3.
preserving the first error and every uncertain owner.
no signals, clocks or ordinary admission are added.
the original bounds and retained outcomes.
Signed commit
682740c3isolates late terminal-retirement failures. Later authenticated children can finish retirement while the first error and uncertain owners stay retained. It adds no signals, clocks or recovery authority.The combined 1,050-test suite and source checks pass locally. Current CI is running; the final criterion stays open. The earlier CI558 assertion did not print its remaining member set, so its cause remains unproven.
Current CI on
682740c3passes all 1,017 Rust tests and 1,050 Python tests without warnings, including the native cleanup fixture. The cleanup regression criteria are complete.The six frame-analysis targets still reach their original deadlines; that separate failure remains open in #4. The cause of the earlier CI558 assertion is still unproven.