From 6872e81644546a9ccd0e1420c3ef64a26358f78a Mon Sep 17 00:00:00 2001 From: aur-build Date: Mon, 23 Nov 2026 13:56:40 +0000 Subject: tests: the ratchet says what the code says now MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The architecture test's own essays were the largest block of prose left in the tree, and the test-file headers were notes about which tests moved into `src/` — history the file no longer needs. Removing those mentions moved two measured numbers, and the ratchet was right to complain. `db.Writer` now sits in the allowlist with the compiler fact that keeps it `pub` — narrowing it makes every call site say `type db::Writer is private` — and the counts that got smaller are written back at the smaller value, as the ratchet demands. --- tests/kata.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/kata.rs') diff --git a/tests/kata.rs b/tests/kata.rs index 271a36f..a5df56d 100644 --- a/tests/kata.rs +++ b/tests/kata.rs @@ -8,11 +8,6 @@ use aur_build::sandbox::kata::{KataBackend, LocalAgentProvisioner}; use aur_build::sandbox::{Cmd, SandboxBackend, SandboxSpec}; use common::{env_with_fixture, shim_dir}; -// What remains drives a real sandbox agent or a real fixture build. The two -// tests that only asserted this module's own machinery — the container record a -// lease provisions, and the TTL expiry of a sandbox that never dials in — moved -// into src/sandbox/kata.rs, where that machinery is declared. - fn agent_sandbox_config() -> Config { let tmp = tempfile::tempdir().unwrap(); std::fs::write( -- cgit v1.2.3