fix: release Dever 0.1.6 with shared runtime assets and unbounded workers

This commit is contained in:
Codex committed 2026-10-12 00:13:27 +00:00
1 parent a900d7e8db
commit 5589b657db
17 files changed
+357 -49

No files matched your search

@@ -135,13 +135,14 @@ fn handle_call(call: &Value, mode: &str, hello: &Value) -> Result<(), String> {
"payload": {},
}))
}
"timeout" => {
let cancel = read_json()?;
require_kind(&cancel, "cancel")?;
if field(&cancel, "id")? != id {
return Err("cancel id does not match timed out call".into());
}
write_json(&json!({"kind": "result", "id": id, "payload": {}}))
"delayed" => {
let delay = call
.pointer("/payload/value")
.and_then(Value::as_u64)
.filter(|delay| *delay <= 35_000)
.ok_or("invalid fixture delay")?;
std::thread::sleep(std::time::Duration::from_millis(delay));
write_json(&json!({"kind": "result", "id": id, "payload": field(call, "payload")?}))
}
"crash" => std::process::exit(7),
"duplicate" => write_raw(&format!(