deploy the closure the swarm declares, read no forge head, drop the update badge
This commit is contained in:
parent
279428a66f
commit
47c2acb640
1 changed files with 647 additions and 2001 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue