Watch
0
0
Fork
You've already forked hyperhive
0

disable a destroyed agent's identity entity and delete its login role

This commit is contained in:
atlas 2026-11-16 16:50:53 +01:00
commit 299b922039

View file

@ -348,6 +348,11 @@ async fn observe_all(
None
}
};
// Destroyed agents that still have a role are cut off here, each pass until
// it succeeds.
if let Some(with_role) = &roles {
crate::agent_cutoff::cut_off_destroyed(&store, with_role, &declarations).await;
}
let mut observed = Vec::new();
for agent in live_agents(&declarations) {
let o = AgentObserved {