Artifact ec241166d56cd92b38a9b06c97a516520dbb2e7c423b91e5c7b7544ebffb4298:
- File
test/corpus/remote/grown-2ab4525e62a9
-
2026-11-14 10:41:54
— part of check-in
[c3280ef4fa]
on branch trunk
— The test gate runs in half an hour, not eighty minutes, and loses nothing
make check now runs the unit program and the four shell suites side by side, each to its own log, then prints them in the fixed order and fails if any failed. JOBS=1 gives the old one-after-another order, and a machine with fewer than four cores gets it by default. In test/store.sh the two sync fault sweeps and the clone fault loop run one worker per fault, each with its own remote and machines under a private folder of the same depth, so the same code paths run as before.
Measured on a loaded machine: make check 847 s to 276 s, make cover to 83 s, the whole four-run gate to 30 minutes.
Nothing was removed, renamed, skipped or made to assert less. The list of case names is identical before and after, the counts are unchanged, and coverage is still 100% in 23 files. No product code changed.
Two new targets. make quick SUITE=NAME runs one suite three ways: as it is, with no user name set, and under a strict umask; it is the first thing to run after touching a suite. make gate runs the whole local gate as one command.
One test fixed. a-link-already-gone-is-dropped-quietly looked for the bare text s1 in the ledger, which the scratch folder's random name can contain, so it failed about once in a few hundred runs. It now looks for the link's full path, and requires both no output and the path gone, where before any output at all let it pass.
1269 unit checks, 428 shell cases, 669 store cases, 612 placement cases and 378 project cases, under clang, under gcc 16, with no user name set, and under a strict umask. (user: dmestas, size: 44) [annotate] [blame] [check-ins using]
-
2026-11-15 16:50:31
— part of check-in
[1165d70f02]
on branch trunk
— Phase 8b: the hook dispatcher runs what is linked into an event's slot
A harness is told once to call suit-run hook EVENT. After that, which programs run for the event is decided by what suit has linked into slots/hook/EVENT: one program, or a folder of programs run one after another in byte order of name. An outfit names them with slot hook/EVENT = PATH or slot hook/EVENT/NAME = PATH. Asking for both forms of the same event is an error at plan time that names both outfits.
The dispatcher lives in suit-run, the small program, because some harnesses run a hook on every tool call. With no slot for the event it exits 0 at once, having read nothing. Otherwise standard input is read once into an unlinked temporary file, at most 16 MiB, and every program gets the same bytes from the start. A program that exits 2 stops the rest and the dispatcher exits 2. Otherwise all run and the result is the first non-zero status; a signal counts as 128 plus its number, and a program that cannot be run as 126. The dispatcher has no timeout of its own and prints nothing on success.
suit hook EVENT calls the same code. suit hooks lists what would run and changes nothing.
The speed budget has a second measurement: suit-run hook with no slot, 0.15 to 0.29 ms over an empty program against the 1 ms limit. The no-change run is unchanged and still passes. Stripped suit-run grew from 35064 to 35512 bytes.
1355 unit checks, 598 shell cases (was 479), 669 store cases, 756 placement cases (was 745) and 378 project cases, under clang, under gcc 16, with no user name set, and under a strict umask, in one run of make gate (35 minutes). 100% coverage in all 25 source files. No suite has fewer cases than at the last check-in. (user: dmestas, size: 44) [annotate] [blame] [check-ins using]
-
2026-11-18 03:02:04
— part of check-in
[1ed63201f4]
on branch trunk
— suit curate apply turns the page's choices into config changes
suit curate apply FILE reads the choices file the curation page makes and prints a plan: which outfits and wears it edits, which wardrobes it checks in and in what order, and the links that will appear and disappear at each scope. Without --yes nothing changes. With --yes it edits each wardrobe's suit.conf and checks it in, with a comment such as "Curate: 3 kept, 1 limited, 12 retired". It does not place anything; the next run sees the config changed and applies.
- keep leaves a worn asset as it is. A loose asset, or one coming back from the attic, goes to the outfit kept.WARDROBE, worn at user scope. - limit moves the asset from its user outfits to personal.WARDROBE.SLUG, worn by [wear personal PROJECT], created or reused wherever it is. - retire removes the asset from every outfit of its wardrobe and adds it to attic.WARDROBE, which nothing wears. Apply refuses if a wear reaches an attic. - Removing one name from an outfit that lists `*` turns the `*` into an explicit list of the names it reached, minus that one, and the plan says so: names added to the store later are then not included by that outfit. No exclusion syntax was added.
Outfit names carry the wardrobe because outfit names are one set across wardrobes; a name too long for that is refused for its line. A wardrobe that defines a new outfit is checked in before any wardrobe whose wear names it, so a failure part-way leaves only an outfit nothing wears; a run that would need the opposite order is refused before anything changes.
Configs are edited as text: only the lines that must change are rewritten, and comments, blank lines, alignment, line endings and the order of everything else are kept. Every edited config must parse and the combined set must pass the merge check before anything is written. A wardrobe with local changes is refused, so the check-in holds the curation only. A failed check-in puts that wardrobe's file back.
A malformed line, a duplicate, a bad header or a path given as a project refuses the whole file, listing every problem. An unknown asset is warned about and skipped; a choice already true is silent.
A new suite, test/curate_apply.sh, with 376 cases, is part of the gate, and a new fuzz target covers the choices parser and the line editor.
3669 unit checks (was 2993), 625 shell cases, 1153 store cases, 985 placement cases, 378 project cases, 236 usage cases, 288 curate cases and 376 curate-apply cases, under clang, under gcc 16, with no user name set, and under a strict umask, in one run of make gate (44 minutes). 100% coverage in all 32 source files. No existing case was changed. (user: dmestas, size: 44) [annotate] [blame] [check-ins using]
-
2026-11-14 10:41:54
— part of check-in
[c3280ef4fa]
on branch trunk
— The test gate runs in half an hour, not eighty minutes, and loses nothing