Skip to content

Investigate marker-containment escapee assertion blocking native cleanup CI #179

Closed

Description

@ElbertePlinio

PR178 exact candidate 4c06ea9 failed CI run35049290876, test job104645957199. Nine of ten required checks passed. The test step reported 1 failed / 1933 passed / 8 skipped; coverage was skipped and no rerun has been requested.

Failure: packages/core/test/containment.test.ts, kills a setsid escapee that left the process group (marker), line263: expected [2980] to include 2981 for result.signaled. Earlier assertions for confirmed=true and no survivors passed; assertions after the failed line did not execute. This is not evidence that the child survived or that the failure is harmless. The test and containment implementation are unchanged by PR178. Cause is not yet established.

The fixture publishes a PID from a shell before execing sleep, then the test checks liveness and group separation. Investigate actual process identity/readiness, shell/setsid behavior and cleanup observations before choosing a fixture or product repair. Do not weaken the signalled-child/no-survivor assertions, add retries, skip the case or increase timeouts to hide a race.

  • Preserve exact failed CI evidence and diagnose with source plus bounded, private synthetic-process evidence.
  • Distinguish a reproducible cause from a hypothesis about this historical failure.
  • Implement the smallest justified fix with a failing regression and unchanged safety expectations.
  • Validate marker and cgroup behavior where available, ownership/identity refusal tests, relevant full/coverage checks and complexity.
  • Independent risk-appropriate review and new exact-candidate CI before merge; preserve the original red run.

Blocks #177/PR178 and therefore #156. No real desktop, host installs, broad kills, release or original native-evidence cleanup is authorized here.

Activity

  1. ElbertePlinio commented on Sep 16, 2026

    @ElbertePlinio
    MemberAuthor

    Private Bash/Dash and Node 26/20 probes did not reproduce the failure. An unchanged full local Node 20/Bun 1.3.12 workload with marker containment forced also passed (1,931 passed, 11 skips). None establishes the historical cause. Draft PR #178 now has an explicit diagnostic candidate at 5bdd984616daa49fb15f31b42c53f26c95dea545: 50 fixed strict samples and bounded failure-only census/read/signal traces. Original assertions, deadlines and production code are unchanged. This is a new evidence-gathering head, not a blind rerun, repair or merge approval.

  2. ElbertePlinio commented on Sep 16, 2026

    @ElbertePlinio
    MemberAuthor

    A separate deterministic stat-unreadability safety defect was reproduced and is tracked in #180. Draft PR #178 now carries that narrow repair at c315958b744b7694766b765322c8948b1ee2a2b9; the original strict escapee test is restored. This does not establish the cause of the historical PID 2981 failure, so #179 remains open. Temporary diagnostic commit 5bdd984 and both earlier CI runs remain preserved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions