broker: add stopped-preserving upgrade without actor execution
ci / check (push) Failing after 1m47s

This commit is contained in:
Sausage Agent
2026-10-22 06:49:58 +00:00
parent a72e42a8c9
commit 0bd046ed9f
5 changed files with 180 additions and 30 deletions
+4
View File
@@ -38,6 +38,10 @@ fn main() {
panic!("version 2 crashes on startup");
}
if actor == "stopped-upgrade" {
std::fs::write("/data/main-version", &version).unwrap();
}
let mut open = HashMap::<String, std::fs::File>::new();
// Files that this actor serves at /actor/<id>/fs/ (path -> text).
let mut served = std::collections::BTreeMap::<String, String>::new();