Skip to main content

Crate choir_ci_local

Crate choir_ci_local 

Source
Expand description

The reference CI executor helper: runs a batch locally, over a pipe.

Reads the D18 executor protocol on stdin, runs the batch with choir_queue::local::LocalRunner, and writes verdicts to stdout. Two jobs at once, both real:

It is the second party the protocol needs in order to be tested at all โ€“ a wire format with one implementation is a data structure with extra steps. And it is the worked example for anyone writing a driver for a real isolation boundary: a Firecracker or Cloud Hypervisor helper differs from this file only in what it hands the batch to, and this repository cannot build one because both require KVM.

Interaction failures are data, not a nonzero exit, the same rule choir-differential follows: a helper that dies loudly tells the host nothing it can attribute to a job.

Functionsยง

main ๐Ÿ”’