auto_update: rebuild all on startup, needs_update = applied HEAD vs deployed sha

This commit is contained in:
damocles 2026-05-21 19:40:41 +02:00
parent 4814aaefdb
commit 433bc85b91
4 changed files with 44 additions and 139 deletions

View file

@ -1684,9 +1684,6 @@ async fn post_update_all(State(state): State<AppState>) -> Response {
} else {
continue;
};
if !crate::auto_update::agent_needs_update(&logical, &current_rev) {
continue;
}
if let Err(e) =
crate::auto_update::rebuild_agent(&state.coord, &logical, &current_rev).await
{