Skip to content

test(core): simulated cgroup cleanup tests flake under heavy CPU load #292

Closed

Description

@ElbertePlinio

Found while fixing #278 and #279 (PR #289).

packages/core/test/containment-cgroup-sim.test.ts failed 3 times in 16 background core-suite runs under heavy CPU load (32 busy loops, load about 45):

  • "refuses a PID recycled after frozen ownership proof", twice at line 537. The reason was "holds process(es) that do not carry this session's containment token: " instead of "refusing to signal recycled cgroup member pid".
  • "kills proven members (freeze supported: true)", once at line 389: fake.removed was false.

Both tests cover the freeze and signal cleanup from #258 (PR #283). The cleanup still refused in the first case, so no foreign process was signalled. It is not yet known whether the test timing is wrong or the product reports a different reason under load.

  • Find why the recycled pid is classified as a foreign member under load
  • Find why the proven-member scope is not removed under load
  • Fix the test timing or the classification, and keep the refusal
  • Repeat-run evidence under CPU load

Activity

  1. added
    bug
    on Oct 7, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions