Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion nativelink-worker/src/running_actions_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1901,7 +1901,8 @@ impl RunningActionImpl {
#[cfg(not(target_os = "linux"))]
let resource_usage = None;

info!(?args, "Command complete");
// log something useful instead of repeating same ?arg
info!(?exit_code, "Command complete");

let maybe_error_override = if let Some(side_channel_file) = maybe_side_channel_file {
process_side_channel_file(side_channel_file.clone(), &args, requested_timeout).await
Expand Down
2 changes: 1 addition & 1 deletion nativelink-worker/tests/running_actions_manager_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3762,7 +3762,7 @@ exit 1
let command = "[\"cmd\", \"/C\", \"ping -n 99999 127.0.0.1\"]";

assert!(logs_contain(&format!("Executing command args={command}")));
assert!(logs_contain(&format!("Command complete args={command}")));
assert!(logs_contain("Command complete exit_code="));

assert!(!logs_contain(
"Child process was not cleaned up before dropping the call to execute(), killing in background spawn"
Expand Down
Loading