roadmap NOT-STARTED

638. The soak supervisor is a program too

Title and slug are drafts. Raised by calef, asking whether any other special kernel build should be a userspace program instead, after milestone 523 (moving the job-mix supervisor into userspace) was minted for the same reason.

It is gated on milestone 523, not because the code depends on it but because 523 is the experiment: it proves or disproves that a userspace supervisor can spawn the pool, hold the cycle grant and print a machine-readable transcript. If it cannot, this proposal is answered before it starts.

The case

soak_test and job_mix are the same shape, which is not a coincidence: kernel/src/job_mix.rs's own header says it was "shaped like kernel/src/soak.rs", and both replace the end of the boot tour. That is why the two features are refused together by script/board-image, and a mutual exclusion between two workloads is a symptom of both living in the wrong place. Nothing about running a workload requires being the kernel.

What it would buy is what 523 buys, applied to the risk that most needs it:

What has to be established, and 523 establishes most of it

What this does not propose

Touching reboot_soak_test, which composes soak_test with board and is about a power cycle rather than a workload.

Index row

The soak test is a special kernel build that replaces the end of the boot tour, the same shape as the job-mix build. Proposed: make it a userspace supervisor program too, gated on milestone 523 (moving the job-mix supervisor into userspace) proving the idea.