Public release release-e7c2b3ac175d
Source commit: e7c2b3ac175db426791c02779841c5df1d0ffdff Public tree identity: sha256:4f0b7cd828932c06d56f2406788f89b2050ef56c1e1a4f76f55341d387d78e46
This commit is contained in:
parent
9f43c6276a
commit
cfd4f19da2
16 changed files with 1386 additions and 313 deletions
|
|
@ -11,7 +11,7 @@ use clusterflux_core::{
|
|||
};
|
||||
use serde_json::{json, Value};
|
||||
|
||||
use crate::assignment_runner::run_verified_wasmtime_assignment;
|
||||
use crate::assignment_runner::{assignment_error_log_bytes, run_verified_wasmtime_assignment};
|
||||
#[cfg(test)]
|
||||
use crate::coordinator_session::control_endpoint_identity;
|
||||
use crate::coordinator_session::CoordinatorSession;
|
||||
|
|
@ -464,6 +464,8 @@ fn run_runtime_task(
|
|||
capability_report,
|
||||
debug_command,
|
||||
node_private_key,
|
||||
0,
|
||||
0,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -498,9 +500,13 @@ fn run_runtime_task(
|
|||
debug_command,
|
||||
node_private_key,
|
||||
&error,
|
||||
output.stdout_source_bytes,
|
||||
output.stderr_source_bytes,
|
||||
),
|
||||
},
|
||||
Err(error) => {
|
||||
let (stdout_source_bytes, stderr_source_bytes) =
|
||||
assignment_error_log_bytes(error.as_ref());
|
||||
let error = error.to_string();
|
||||
if error.contains("task execution cancelled:") {
|
||||
record_cancelled_task(
|
||||
|
|
@ -512,6 +518,8 @@ fn run_runtime_task(
|
|||
capability_report,
|
||||
debug_command,
|
||||
node_private_key,
|
||||
stdout_source_bytes,
|
||||
stderr_source_bytes,
|
||||
)
|
||||
} else {
|
||||
record_failed_task(
|
||||
|
|
@ -524,6 +532,8 @@ fn run_runtime_task(
|
|||
debug_command,
|
||||
node_private_key,
|
||||
&error,
|
||||
stdout_source_bytes,
|
||||
stderr_source_bytes,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue