Watch
0
0
Fork
You've already forked hyperhive
0

the builder reads an agent's icon from its config and the controller writes the swarm's copy

This commit is contained in:
iris 2026-11-16 22:21:21 +01:00 • committed by mara
commit 181ef5f421

View file

@ -317,6 +317,7 @@ async fn rebuild(world: &impl World, agent: &str, stored: Stored) -> Outcome {
cached,
private_users,
nix_builds,
..
} => (out_path, system, cached, private_users, nix_builds),
FromMetaReply::Failed { error_tail } => {
tracing::warn!(%agent, %meta_rev, %error_tail, "cache miss: the rebuild failed");
@ -684,6 +685,7 @@ mod tests {
cached,
private_users: Some(false),
nix_builds: Some(NixBuilds::Host),
icon: None,
}
}
@ -1028,6 +1030,7 @@ mod tests {
cached,
private_users: Some(true),
nix_builds: Some(NixBuilds::Disabled),
icon: None,
};
let world = Fake::missing(&["iris"]).answering("iris", answer);
pass_at(&world, &mut Backoff::default(), Instant::now()).await;