summaryrefslogtreecommitdiffstats
path: root/tests/invariants.rs
Commit message (Collapse)AuthorAgeFilesLines
* test: the ยง2 invariant index (I1-I8, I10, I12)aur-build14 days1-0/+396
One named test per invariant, each asserted as a post-condition on a real end-to-end run rather than as a unit test of whichever helper happens to maintain it: I1 index entry -> release -> approval, I2 base is the accepted release after five unreviewed detections, I3 materialize fails closed on the recipe pin, I4 a mid-publish crash leaves the served index byte-identical, I5 resume repeats no completed step and records no duplicate artifact, I6 a rebuild needs no new approval, I7 the partial unique index refuses a second open review, I8 the index equals the accepted pointers in the DB and in the .db file on disk, I10 audit and approval are append-only, I12 every build records its world snapshot.