[control] Design review: Caddy differences per host in fallback_ready, active apply kind, hosts and watch end, capped device end date, CSR fingerprint for signing by hand, crash points exit without SIGABRT

This commit is contained in:
2026-11-08 11:21:43 +01:00
parent 3bf5fa0e1a
commit b24ffdf9db
9 changed files with 106 additions and 17 deletions
+11
View File
@@ -463,6 +463,12 @@ pub struct FallbackReady {
pub built_at: Option<String>,
/// caddy.json is the compiled current tree.
pub current: bool,
/// Hosts in the current routes, and how many of them behave the same on Caddy as far as
/// Ianitor knows (the differential tests' known differences, applied to these hosts).
pub compared: u32,
pub matched: u32,
/// What is different on Caddy, in plain English (per host first, then for every host).
pub differences: Vec<String>,
}
#[derive(Debug, Clone, Serialize, ToSchema)]
@@ -494,6 +500,11 @@ pub struct ActiveApply {
pub state: String,
pub summary: String,
pub seconds_left: Option<u64>,
/// `add`, `edit`, `remove`, `undo`, `restore`, `share_links`: the UI writes the heading.
pub kind: String,
pub hosts: Vec<String>,
/// When the health watch ends (only while watching), for a local countdown.
pub watch_ends_at: Option<String>,
pub queued: usize,
}