From eefbefed9cbea6b2edef65900fbe6cb6da0b48e4 Mon Sep 17 00:00:00 2001 From: aur-build Date: Wed, 18 Nov 2026 08:23:14 +0000 Subject: =?UTF-8?q?http:=20surfaces=20driven=20by=20live=20state=20?= =?UTF-8?q?=E2=80=94=20staleness,=20downgrades,=20deps,=20rebuild=20(I6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Attention, the package page and the builds page now answer real questions instead of rendering empty tables: - Attention lists outdated dependencies derived from the recorded world snapshots, naming the dependency that moved, what the artifact was built against and what the index holds now; also missing dependencies and downgrades (AUR offering a lower version than we serve), which is an announcement for a human, not a build request. - The package page shows depends-on from the recipe we actually serve and needed-by from the packages whose recipes name it, plus staleness and the aur_commit timeline, each release linking into cgit at that exact commit. - Builds rows carry the version they are about, in both the live and the recently-finished table. - A manual rebuild reuses the approved source identity and mints no approval (I6); the test asserts the approval count is unchanged before and after the rebuild runs. - A paused subscription is not observed at all: detection returns Paused without polling, so pausing a broken package stops it opening reviews. - Staleness stays computed on read (ยง10.2). Nothing stores a stale flag, so nothing can serve a stale lie. Also: dep-client fixture added for dependency pairs. --- src/http/render.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/http/render.rs') diff --git a/src/http/render.rs b/src/http/render.rs index 2fad5c8..9e3d801 100644 --- a/src/http/render.rs +++ b/src/http/render.rs @@ -211,6 +211,8 @@ pub struct NoticeRow { #[derive(Debug, Clone)] pub struct StaleRow { pub pkgbase: String, + /// The dependency that moved (or `aur` for a downgrade row). + pub dependency: String, pub built_with: String, pub now: String, } -- cgit v1.2.3