Replace runtime argv handoff with a sealed typed record
This commit is contained in:
parent
22325aa76a
commit
d70f483844
1 changed files with 725 additions and 465 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue