Replace runtime argv handoff with a sealed typed record

This commit is contained in:
ms2k 2026-07-19 03:56:49 +09:00
commit d70f483844

View file

@ -227,13 +227,16 @@ impl<'a> ColdStart<'a> {
},
)
.map_err(|error| failure(format!("Runtime Supervisor launch: {error}")))?
.with_state_anchor(state_anchor);
.with_state_anchor(state_anchor)
.map_err(|error| failure(format!("Runtime Supervisor handoff: {error}")))?;
if let Some(git_routing) = &git_routing {
runtime_launch = runtime_launch.with_git_routing(
git_routing
.launch_authority(inputs.configuration)
.map_err(|error| failure(format!("Git-routing authority: {error}")))?,
);
runtime_launch = runtime_launch
.with_git_routing(
git_routing
.launch_authority(inputs.configuration)
.map_err(|error| failure(format!("Git-routing authority: {error}")))?,
)
.map_err(|error| failure(format!("Runtime Supervisor handoff: {error}")))?;
}
let bundle_digest =
BundleDigest::new(Sha256::digest(sandbox_bundle.specification_json()).into());