Watch
0
0
Fork
You've already forked hyperhive
0

deploy the closure the swarm declares, read no forge head, drop the update badge

This commit is contained in:
atlas 2026-11-01 23:56:40 +01:00 • committed by mara
commit 47c2acb640

View file

@ -40,7 +40,6 @@ pub(super) struct StateSnapshot {
/// can't be resolved. Feeds the dashboard start page so an operator
/// can tell what build a hive is running without shelling in.
hyperhive_rev: Option<String>,
any_stale: bool,
containers: Vec<ContainerView>,
transients: Vec<TransientView>,
/// State dirs (config history + claude creds + /state/ notes) that
@ -176,7 +175,6 @@ pub(super) async fn api_state(
);
}
let containers = state.coord.containers_snapshot().await;
let any_stale = containers.iter().any(|c| c.needs_update);
let transient_snapshot = state.coord.transient_snapshot();
let transients = build_transient_views(&containers, &transient_snapshot);
let tombstones = build_tombstone_views(&containers);
@ -186,7 +184,6 @@ pub(super) async fn api_state(
seq,
hostname,
hyperhive_rev: crate::auto_update::current_flake_rev(&state.coord.hyperhive_flake),
any_stale,
containers,
transients,
@ -493,9 +490,7 @@ mod tests {
port,
running,
failed: false,
needs_update: false,
needs_login: false,
deployed_sha: None,
active_model: None,
status_text: None,
status_set_at: None,