[BUG] Late terminal cleanup stops after an independent member fails #21

Closed
opened 2026-10-16 09:26:56 +02:00 by erikinkinen · 2 comments
Owner

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 place
a 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, source
e83f5effb5a615f4a45ab640f6e3c189c02125ef.

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.

  • Later authenticated terminals progress despite discovery/member refusal,
    preserving the first error and every uncertain owner.
  • Global custody failure or uncertain absence grants no effect or closure;
    no signals, clocks or ordinary admission are added.
  • Logical controls, the actual native fixture and full validation pass with
    the original bounds and retained outcomes.
## 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 place a 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`, source `e83f5effb5a615f4a45ab640f6e3c189c02125ef`. ## 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](https://git.erikinkinen.fi/erix/exsh/pulls/3). - [x] Later authenticated terminals progress despite discovery/member refusal, preserving the first error and every uncertain owner. - [x] Global custody failure or uncertain absence grants no effect or closure; no signals, clocks or ordinary admission are added. - [x] Logical controls, the actual native fixture and full validation pass with the original bounds and retained outcomes.
Author
Owner

Signed commit 682740c3 isolates 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.

Signed commit `682740c3` isolates 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.
Author
Owner

Current CI on 682740c3 passes 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.

Current CI on `682740c3` passes 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](https://git.erikinkinen.fi/erix/exsh/issues/4). The cause of the earlier CI558 assertion is still unproven.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:33:49 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
erix/exsh#21
No description provided.