906. ioping is packaged in basalt, and its test installs it with jig
(The title and slug are provisional.)
BUILT, 2026-10-17 (UTC). basalt builds ioping from a recipe that pins ioping.c by SHA-256 and
publishes one package per architecture. nife builds no ioping. On all three architectures under
QEMU, every pull request's swish-check rows type jig install ioping against basalt's package,
then time five reads with the installed program. The kernel suite times reads in a granted directory
with the same bytes. The recipe pins each architecture's package digest, as milestone 917 built.
"Built" below has the rest.
calef, 2026-10-12 (UTC): "They should all be installed via jig through basalt. I missed that for
our benchmarking tools, so I created debt by prioritizing them first." This is that debt for
ioping. It is the sibling of milestone 810 (ripgrep is packaged in basalt and installed with
jig). It is also the sibling milestone 897 (SQLite is packaged in basalt, and its tests run in
basalt's package build) named for ioping.
What existed, checked 2026-10-12 (UTC)
helpers/build-ioping.shfetches ioping 1.3's one C file,ioping.cat thev1.3tag, pinned by SHA-256, compiles it withhelpers/c-library-cflags.sh, and links it throughhelpers/build-c-program.shintotarget/ioping/<triple>/iopingfor the three targets.xtaskpacks that file into the archive when it is on disk (xtask/src/farm/programs.rs).system_tests/src/user/c_program_tests.rsruns it inunmodified_ioping_times_reads_in_a_granted_directory, and skips when the helper has not run. Nothing in CI runs the helper.- Milestone 834 (ioping on nife and Linux, storage latency one request at a time) runs the same program on xenon, and from 2026-10-12 its exit needs the package this milestone builds.
The work
- A recipe in
nifeos/basaltnaming ioping 1.3, its source URL and the SHA-256 the helper pins. The build refuses a download that does not match. - basalt's package build turns the helper into a build job. At the nife commit
pins.tomlnames, it compilesioping.cwith that commit's C library flags. It links the result the wayhelpers/build-c-program.shdoes, once for each architecture (§19 (architectural parity is a tenet; the targets are aarch64, riscv64, and x86_64)). - The manifest note the helper writes today, written by basalt's build instead, through the note writer milestone 810 builds.
- A package archive per architecture (§197 (a package is one archive file, named and vouched for
by its recipe)), kind
optional. The recipe vouches for it (§195 (a reviewed recipe vouches for a package, and the machine's owner may overrule it)). It is published to basalt's index (§250 (an image names its distribution's package index, atbasalt.nifeos.org, and a package's bytes may live anywhere)). - The test moves behind
jig install ioping: the run inc_program_tests.rsinstalls the package first and times reads with the installed program, or the test moves into basalt's package build as milestone 897 moves SQLite's. Which of the two is this milestone's first finding. - When the package is the only source,
helpers/build-ioping.shand the archive's packing oftarget/ioping/leave this tree.
Built 2026-10-14 (UTC)
Lane milestone/906-ioping-is-packaged-in-basalt, with nifeos/basalt#17.
- The recipe is basalt's
recipes/ioping.toml:ioping.catv1.3under the SHA-256 the helper pinned, and the flags ioping's Makefile passes. A download that does not match is refused before anything is compiled (item 1). - basalt's
helpers/packages.pygained a C recipe shape. It compiles each[[object]]with the pinned nife'shelpers/c-library-cc.shandhelpers/c-library-cflags.sh, links with itshelpers/build-c-program.sh(which writes the manifest note), and strips symbols as ripgrep's build does (items 2 to 4). The aarch64 package measured 278,240 bytes. The shape takes per-object flags, so milestones 907 (hackbench) and 897 (SQLite) reuse it. basalt's CI compiles with clang 19, since Ubuntu's default clang 18 refuses-mabi=aapcs-soft. The first published Release isrolling-2026-10-14-c9f3c5f, andxtask/basalt-pinnames a basalt commit whose recipe records its digests. - Item 5's finding: both, as milestone 810 did for
rg.cargo xtask basalt-fetchtakes ioping's lines from the recipextask/basalt-pinnames, and the kernel archive carries the package'sbin/iopingmember, accepted bypackage_index::accept.unmodified_ioping_times_reads_in_a_granted_directoryruns it with every assertion unchanged. CI'srg-threadsrows run that test withNIFE_IOPING_REQUIRED=1, so a missing package fails rather than skips. script/swish-checktypesjig install ioping,ioping -v, andioping -c 5 -i 0 -s 4kon the installed program's own file, from insidepackages. Unvouched, ioping is granted that file read-only and the clock page. A directory would need a writable grant for ioping's working file, which its note does not ask for.helpers/build-ioping.shandtarget/ioping/left the tree (item 6).C_PROGRAMSno longer names ioping.- Documentation, for the later step that installs it: upstream ships a man page,
ioping.1, at the samev1.3tag. The package does not carry it.
Exit
On aarch64, riscv64 and x86_64: a nife at basalt's pinned commit runs jig install ioping against
basalt's index, the archive's digest matches the recipe, and the installed ioping times reads in
a granted directory as the helper-built one does today. A recipe whose checksum disagrees with the
download fails basalt's build.
Reuse: the helper's pinned fetch and flags, helpers/build-c-program.sh's link, and milestone
810's recipe, build job and publishing, all moved rather than rewritten.
The package's digest, checked 2026-10-19 (UTC)
- basalt's
recipes/ioping.tomlcarries a[package_digest]table, one SHA-256 for each of aarch64, riscv64 and x86_64, recorded by milestone 917 (basalt's packages build reproducibly) in nifeos/basalt#29. basalt's pin-bump rewrites it with each new pin. - basalt's build holds a package to that digest, as milestone 917 states.
- The three digests equal the pinned Release's assets, checked as for SQLite in
milestone 897.
cargo xtask basalt-fetchaccepts each package only under them, throughpackage_index::accept, andjig install iopingchecks the index line built from them.
BUGS
- At the prompt ioping times reads of a file, not a directory: its unvouched note grants a named word read-only. Milestone 834's read pass fits that. Its write pass needs a writable grant, which unvouched bytes cannot hold, so 834 needs ioping's recipe to vouch for more (§195) before it writes.
- A nife change the pinned ioping cannot run on cannot pass CI on its own, as for
rg(milestone 810'sBUGS).
Follow-on
- Done. The digest in the recipe: milestone 917.
- Recorded. The prompt's ioping holds a named file read-only, so a write pass is refused,
beside the feature in this block's
BUGS. Milestone 834's write pass needs §195's vouch. - Done. Milestones 907 (hackbench is packaged in basalt) and 897 (SQLite is packaged in basalt) build on the same C recipe shape.
- Recorded. The man page
ioping.1waits onjiginstalling documentation, noted in "Built" above for the milestone being minted for packaged documentation.
Index row
ioping built by basalt from a pinned source and installed on nife by jig, so the storage-latency
benchmark milestone 834 runs is a package and not a helper-built binary.