Phase 9 R1: RepoEnsure — peer RPC + aggregator fan-out + daemon wiring #106

Merged
osobh merged 4 commits from phase-9-r1a-repo-ensure-rpc into main 2026-07-15 11:19:35 +00:00
Showing only changes of commit 5c1d962bf2 - Show all commits
+1 -3
View File
@@ -1151,9 +1151,7 @@ impl RpcRouter {
return Ok(HandlerOutcome::Error(ErrorCode::InvalidRequest)) return Ok(HandlerOutcome::Error(ErrorCode::InvalidRequest))
} }
}; };
if let Some(parent) = Some(root.as_path()) { let _ = tokio::fs::create_dir_all(&root).await;
let _ = tokio::fs::create_dir_all(parent).await;
}
let reply = let reply =
crate::cluster::repo_ensure::ensure_repo(&root, &req).await?; crate::cluster::repo_ensure::ensure_repo(&root, &req).await?;
let json = serde_json::to_vec(&reply) let json = serde_json::to_vec(&reply)