fix: preserve non-restore cleanup evidence through bridge refactoring
This commit is contained in:
@@ -4377,6 +4377,7 @@ where
|
|||||||
return match cleanup {
|
return match cleanup {
|
||||||
Ok(()) => WorkerExecutionSpawnResult::RolledBack(result),
|
Ok(()) => WorkerExecutionSpawnResult::RolledBack(result),
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
|
let retained_state = worker_state.read().ok().map(|state| state.clone());
|
||||||
self.retain_uncertain_unconnected_controller(
|
self.retain_uncertain_unconnected_controller(
|
||||||
&worker_ref,
|
&worker_ref,
|
||||||
handle,
|
handle,
|
||||||
@@ -4390,7 +4391,7 @@ where
|
|||||||
);
|
);
|
||||||
WorkerExecutionSpawnResult::ReconciliationRequired {
|
WorkerExecutionSpawnResult::ReconciliationRequired {
|
||||||
result,
|
result,
|
||||||
worker_state: None,
|
worker_state: retained_state,
|
||||||
workdir_attachments: workdir_attachment_statuses,
|
workdir_attachments: workdir_attachment_statuses,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user