summaryrefslogtreecommitdiffstats
path: root/src/db/queries.rs
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-18 07:01:09 +0000
committeraur-build <aur-build@localhost>2026-11-18 07:01:28 +0000
commitd7c386a703a9b69211d83854547218d6e1da9a51 (patch)
tree5b6097a70569d3ec0aaa3603a2e5346c1c5b539a /src/db/queries.rs
parent22983d23554071013fb9caaa3a018ff2b649718b (diff)
downloadaur-build-d7c386a703a9b69211d83854547218d6e1da9a51.tar.gz
aur-build-d7c386a703a9b69211d83854547218d6e1da9a51.zip
test: the ยง2 invariant index (I1-I8, I10, I12)
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.
Diffstat (limited to 'src/db/queries.rs')
0 files changed, 0 insertions, 0 deletions