From 4c143e969dcd7b6a18e5a86f9a754c9b62979ccf Mon Sep 17 00:00:00 2001 From: aur-build Date: Mon, 23 Nov 2026 13:44:20 +0000 Subject: usecase,http,pipeline,ops: keep the contract, drop the argument MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A workflow's doc now says what it guarantees and stops defending its existence: `subscribe` resolves the repo row, `approve` queues what the approval buys, a per-item failure comes back as a value instead of a panic. The history of which front end used to open-code it is gone. The last census-war notes go with it — three places that explained why a name in a test string was not a caller. --- src/usecase/detect.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/usecase/detect.rs') diff --git a/src/usecase/detect.rs b/src/usecase/detect.rs index 67cc83c..42f98d9 100644 --- a/src/usecase/detect.rs +++ b/src/usecase/detect.rs @@ -5,12 +5,8 @@ use crate::db::{self, Db, SubscriptionState}; use crate::error::Result; use crate::watch::detect::{self, Outcome}; -/// One pkgbase's detection result. -/// -/// Per-item failures are returned rather than raised: a sweep over every -/// subscription should not stop at the first pkgbase whose mirror is -/// unreachable, and the caller decides whether a failure is a line on stderr -/// or a row in a table. +/// One pkgbase's detection result. Per-item failures are returned, not raised, +/// so a sweep does not stop at the first unreachable mirror. pub struct Checked { pub pkgbase: String, pub outcome: Result, -- cgit v1.2.3