Under the Hood
This chapter is for the curious, and for anyone who wants to work on buildl itself. It explains
how the pieces you have used fit together, why they are shaped the way they are, and, just as
importantly, what buildl can and cannot promise.
You do not need any of it to use buildl.
| Section | What it covers |
|---|---|
| Declare, Then Execute | the five phases of a build, the value each hands to the next, and the scheduler |
| Crash Safety and the Store | the life of one action, and why a build stopped half way never leaves a broken cache |
| Five Crates, Ports and Adapters | how the code is split, and the rules that keep the logic of a build testable |
| Errors | how a failure is classified, and how that becomes an exit code |
| Determinism Rules | the engineering rules that keep the same inputs giving the same bytes |
| Decision Records | each choice that was settled, with its reason |
| Testing Layers | which kind of test lives where |
| Where buildl Sits | buildl placed among other build systems, in the terms of build-system theory |
| What buildl Can and Cannot Promise | what is out of scope, and what each isolation tier does not guarantee |
The pages name real types, modules and files. Where an older design note and the code disagree, these pages follow the code.