From 03105d40322dff9c18f0571872ab0f643aded0f7 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 19 Nov 2026 12:46:42 +0000 Subject: federation: checked against the release a federation-. tag names A corpus of generated histories, committed, said what this code made of them, right or not, and held hundreds of kilobytes a revision; generated from code that changes, it could only be checked, never written again. Each release that makes a revision is tagged `federation-.`, the federation's number and the revision's (`federation-1.1`, revision 1 of federation 1). `scripts/federation-check` writes histories from this tree (`write_histories`, an ignored test): of each revision it knows and each kind the properties generate, those of a few seeds from a random one it says, and the attack tests' crafted ones, as each test offered them where nothing but offers made them. It judges them with `continuum-party judge` here and with the continuum the latest such tag names (or one given), built in a worktree and kept between runs, leaves out those whose root the tagged one reads as none, and says where the two differ. Run before a release, not by `cargo quick`. The corpus and its test are gone; the test plan and `federation.md` say how a release is checked. --- src/federation/mod.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/federation/mod.rs') diff --git a/src/federation/mod.rs b/src/federation/mod.rs index 18fc70d..b86bc53 100644 --- a/src/federation/mod.rs +++ b/src/federation/mod.rs @@ -11,8 +11,6 @@ pub(crate) mod agent; #[cfg(test)] mod attacks; pub(crate) mod client; -#[cfg(test)] -mod corpus; pub(crate) mod event; pub(crate) mod fold; pub(crate) mod fork; -- cgit v1.3.1