refactor(#2416): drop the now-always-none Spawned.sha field + deny tag leftover

This commit is contained in:
damocles 2026-07-15 20:58:37 +02:00 committed by mara
commit 12ce346d02
4 changed files with 8 additions and 17 deletions

View file

@ -247,7 +247,6 @@ async fn handle_spawn(coord: &Arc<Coordinator>, name: &str) -> Result<HostRespon
agent: name.to_owned(),
ok: true,
note: None,
sha: None,
});
// Update tmpfiles.d so the new agent's dirs survive a reboot.
tokio::spawn(lifecycle::sync_tmpfiles());
@ -259,7 +258,6 @@ async fn handle_spawn(coord: &Arc<Coordinator>, name: &str) -> Result<HostRespon
agent: name.to_owned(),
ok: false,
note: Some(format!("{e:#}")),
sha: None,
});
return Err(e);
}