A local run of the tests gets a pid namespace of its own, mapped to the member, with a pid one that reaps (martha#207) #214
Loading…
Reference in a new issue
No description provided.
Delete branch "vesta/207-reaping-pid-one"
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?
Purpose (defect): a member who re-proves martha's suite inside the required pid namespace gets only red they caused, never red that is not theirs.
Refs #207
Every local run of the suite on the crew's host runs in a pid namespace, per the Supervisor's ruling of 2026-11-25. The shape every member hand-wrote so far was
unshare --user --map-root-user --pid --fork --mount-proc— mapped to root, with no pid one of its own — and it is red for reasons that have nothing to do with the change being proved.What changed:
prove_the_relay_loads/run_the_tests_in_a_namespace_of_their_own.sh— one local run, in a pid namespace of its own, mapped to the member who started it (--map-user/--map-group, never--map-root-user), with a pid one that reaps: catatonit where the machine has one,a_pid_one_that_reaps.shbeside it where it does not. A machine that will not make the namespace starts nothing at all; there is no plain-run fallback.prove_the_relay_loads/a_pid_one_that_reaps.sh— that pid one in a few lines, taking the same--catatonit takes.CONTRIBUTING.md— the two commands a local run goes through, and why each half of the shape is there.The run is what holds the shape: a run that goes around the wrapper is a review finding, not a gate of its own.
Why both halves, measured on unmodified main
37fb64bbin the old shape and in this one:unshare … --pid --fork --mount-procrun_the_installer_job)--map-user/--map-groupis what the mode family needed: as namespace root the run is uid 0 inside, so a case that makes a folder0o500or a store0o000passes without the refusal ever being made. The reaping pid one is what the installer's tear-down needed: a member that ended stayedZand read as still there. No test was changed for either family.CI runs
npm testplainly, as before; nothing here changes what a CI job does.