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
|
|
@ -42,6 +42,8 @@ pub struct CommandOutput {
|
|||
pub status_code: Option<i32>,
|
||||
pub stdout: String,
|
||||
pub stderr: String,
|
||||
pub stdout_source_bytes: u64,
|
||||
pub stderr_source_bytes: u64,
|
||||
pub stdout_truncated: bool,
|
||||
pub stderr_truncated: bool,
|
||||
pub log_backpressured: bool,
|
||||
|
|
@ -83,6 +85,8 @@ impl LocalCommandExecutor {
|
|||
&output.stderr,
|
||||
max_log_bytes,
|
||||
);
|
||||
let stdout_source_bytes = output.stdout.len() as u64;
|
||||
let stderr_source_bytes = output.stderr.len() as u64;
|
||||
let staged_artifact = if let Some(path) = command.stage_stdout_as {
|
||||
Some(overlay.write(
|
||||
path,
|
||||
|
|
@ -98,6 +102,8 @@ impl LocalCommandExecutor {
|
|||
status_code: output.status.code(),
|
||||
stdout: logs.stdout,
|
||||
stderr: logs.stderr,
|
||||
stdout_source_bytes,
|
||||
stderr_source_bytes,
|
||||
stdout_truncated: logs.stdout_truncated,
|
||||
stderr_truncated: logs.stderr_truncated,
|
||||
log_backpressured: logs.backpressured,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue