Preserve typed request thread in resident launch
This commit is contained in:
parent
d4b446abaf
commit
8a9439ca2e
6 changed files with 182 additions and 39 deletions
|
|
@ -12,9 +12,9 @@ use epiphany_core::{
|
|||
import_bifrost_persona_feedback_deliveries, ingest_resident_self_domain_pressure,
|
||||
load_epiphany_cultmesh_swarm_brake, load_resident_self_state, observe_process_instance,
|
||||
prepare_resident_self_launch, publish_resident_provider_readiness,
|
||||
resident_coordinator_thread_id, resident_self_child_claim, resident_self_local_provider_status,
|
||||
terminate_process_instance, validate_persona_feedback_store_separation,
|
||||
validate_resident_self_store_separation,
|
||||
resident_prepared_launch_thread_id, resident_self_child_claim,
|
||||
resident_self_local_provider_status, terminate_process_instance,
|
||||
validate_persona_feedback_store_separation, validate_resident_self_store_separation,
|
||||
};
|
||||
use serde_json::json;
|
||||
use std::collections::BTreeMap;
|
||||
|
|
@ -186,7 +186,7 @@ fn cycle(
|
|||
return Ok(ResidentSelfOutcome::Braked);
|
||||
}
|
||||
let launch = CoordinatorLaunch {
|
||||
turn_id: resident_coordinator_thread_id(&args.policy.release_runtime_id)?,
|
||||
turn_id: resident_prepared_launch_thread_id(&prepared)?,
|
||||
wake: epiphany_core::ResidentSelfWake::Explicit {
|
||||
objective: prepared.grant.objective.clone(),
|
||||
},
|
||||
|
|
@ -283,7 +283,7 @@ fn cycle(
|
|||
return Ok(ResidentSelfOutcome::Sleeping);
|
||||
};
|
||||
let launch = CoordinatorLaunch {
|
||||
turn_id: resident_coordinator_thread_id(&args.policy.release_runtime_id)?,
|
||||
turn_id: resident_prepared_launch_thread_id(&prepared)?,
|
||||
wake: epiphany_core::ResidentSelfWake::Explicit {
|
||||
objective: prepared.grant.objective.clone(),
|
||||
},
|
||||
|
|
|
|||
Reference in a new issue