roadmap BUILT

297. soak becomes soak-test

Built 2026-09-14. (Number provisional until the merge queue lands it.)

calef was shown script/soak for ratification and ruled soak-test. The maintainer had recommended keeping soak, and this block records that argument because it was a real one and the next person will want it. soak is the field's term as a noun, so it already names the activity where stranger alone names a person, which is why stranger-test needs its suffix. It composes into a sibling cargo feature (reboot_soak = ["soak", "board"]) that a suffix makes longer. And the rename reaches 36 cfg sites, three console markers and everything that reads them. calef ruled the other way and the ruling accepts that cost. This milestone performs it; it does not re-argue it.

The measurement, re-derived at the base commit

e5bc598c, by git show against the base rather than against the working tree:

count
feature = "soak" sites 36 (sched.rs 19, main.rs 9, thread.rs 6, user.rs 2)
feature = "reboot_soak" sites 16 (soak.rs 9, ns16550.rs 3, console.rs 2, semihosting.rs 2)
files mentioning the word at all 88
console markers 3 (soak:, soak-census:, soak-reboot:)
code that parses a marker 2 (board_console's progress.rs and lottery.rs)
fixture files carrying a marker 3 (two captures, one synthetic)

Two of those differ from the brief's figures and are worth stating because the brief said to re-derive rather than trust them. 88 files, not 30: the smaller number was a grep over a subset of directories. And the marker readers are two, not four: kernel/src/soak.rs writes the markers rather than reading them, and xtask/src/main.rs has 21 soak: strings that are its own tool-diagnostic prefix (the shape board-console: and job-mix: already use) and parses nothing. All four files needed editing; only two of them are recognizers, and the difference decides what a test can prove.

The reboot_soak row is new: the brief counted only the 36. The rename touches 52 feature-gate sites, not 36.

The four domains, and one word that had to be decided

domain was is rule
script/ entry point soak soak-test hyphens
cargo xtask subcommand soak soak-test mirrors the entry point, as job-mix already does
cargo feature soak soak_test a Rust identifier, so snake_case
composed feature reboot_soak reboot_soak_test ditto
console markers soak:, soak-census:, soak-reboot: soak-test:, soak-test-census:, soak-test-reboot: the command's spelling

reboot_soak_test, because the head noun is soak and not reboot. The feature names a soak that reboots, so renaming the head is the whole change and nothing else about the compound moves. soak_test_reboot was refused for making reboot the head, which would name a reboot test that happens to soak. The hazard its own [features] entry insists the name carry (an operator is about to write a card that makes their board reset itself on a timer) survives: reboot is still the first word read.

The markers moved because calef ratified a rule hours earlier, with job-mix: / job-mix-census:. A console marker takes the spelling of the command a reader typed to produce it, not of the module that implements it, because the reader's path to the string runs through the command. soak was that rule's cited precedent, by accident rather than by argument, since one word has no seam to show. soak-reboot: was not in the brief and follows for the same reason.

What deliberately did not move

Everything below names the workload, and the workload is still a soak. Each is calef's own call and none was put to him, so this lane left them and proposes the sweep rather than taking it.

The seam this leaves is real and is named in BUGS.

The captures: the brief's premise was false, and correcting it is the useful part

The brief said both QEMU captures can be re-taken, unlike milestone 295's silicon capture, and freed this lane from teaching the recognizer two spellings. Read rather than assumed, that is wrong, and watch.rs says so in the tree already: "A fixture is a record of what a machine said, so it is the one thing here a later mechanism must not update."

Both are unrepeatable in time rather than in hardware, which is a weaker claim than 295's and a claim about two files rather than about anything a board will print tomorrow. So:

What it prints

script/soak-test --arch riscv64 --for 30s, exit 0:

soak-test: started 4 groups of one responder, 3 callers, 1 grinder and 1 tick waiter ...
soak-test-census: where the kernel placed each worker at spawn: R=responder, C=caller, G=grinder, W=tick waiter ...
soak-test-census: core=0 threads=5 W0 W1 W2 G3 W3
soak-test: t=25s beat=5 rounds=274744 rate=11014/s wakes=10032 wakerate=400/s workers=24 refused=0 mismatch=0 stalled=0 drifted=0 crossings=2717 remote=6336 steals=4 deferred=0
soak-test: 274744 round trips in 25s (11014 /s at the last beat), 2717 cross-core handoffs
soak-test: refused=0 mismatch=0 stalled=0 (each must be 0)
soak-test: a clean run is a number to compare against, NOT evidence that the concurrency is correct.

Those magnitudes are a Linux container under TCG and are not comparable with anything in notes/soak.md; the run is here to show the vocabulary, not a number.

BUGS

Follow-on

Index row

calef was shown script/soak and ruled soak-test, against a maintainer recommendation to keep it. The losing argument is recorded on the script because it was a real one (soak is the field's term as a noun, it composed into reboot_soak, and the rename costs 52 feature-gate sites). Four domains moved together, each by its own rule: script/soak-test, cargo xtask soak-test, the features soak_test and reboot_soak_test, and the three console markers soak-test: / soak-test-census: / soak-test-reboot:. The last follows calef's same-day ruling that a marker takes the spelling of the command a reader typed. reboot_soak_test because the head noun is soak. The brief's premise about the captures was false and the correction is the useful half. Both pre-rename QEMU captures are unrepeatable in time rather than in hardware (one is pre-221 and carries the crossings=21, wakes=0 tripwire; the other is one draw of the placement lottery). So they are left byte-identical and respelled at read time by one documented function. The parser keeps a single spelling, unlike milestone 295 (retire components/src/builder.rs), and a third capture was taken under the new command so the live vocabulary is proved against a machine. Six names that spell the workload rather than the command were deliberately left (soak_page, soaker, kernel/src/soak.rs, notes/soak.md, Stage::Soak, --soak) and the seam is in BUGS.