Fix exec JSON output tests for host id

This commit is contained in:
Nathan Liebrecht
2026-04-10 14:38:52 -07:00
parent a9fed68af5
commit e4680988b9

View File

@@ -167,6 +167,7 @@ fn command_execution_started_and_completed_translate_to_thread_events() {
command: "ls".to_string(),
cwd: PathBuf::from("/tmp/project"),
process_id: Some("123".to_string()),
host_id: None,
source: CommandExecutionSource::UserShell,
status: ApiCommandExecutionStatus::InProgress,
command_actions: Vec::<CommandAction>::new(),
@@ -206,6 +207,7 @@ fn command_execution_started_and_completed_translate_to_thread_events() {
command: "ls".to_string(),
cwd: PathBuf::from("/tmp/project"),
process_id: Some("123".to_string()),
host_id: None,
source: CommandExecutionSource::UserShell,
status: ApiCommandExecutionStatus::Completed,
command_actions: Vec::<CommandAction>::new(),
@@ -1280,6 +1282,7 @@ fn turn_completion_reconciles_started_items_from_turn_items() {
command: "ls".to_string(),
cwd: PathBuf::from("/tmp/project"),
process_id: Some("123".to_string()),
host_id: None,
source: CommandExecutionSource::UserShell,
status: ApiCommandExecutionStatus::InProgress,
command_actions: Vec::<CommandAction>::new(),
@@ -1318,6 +1321,7 @@ fn turn_completion_reconciles_started_items_from_turn_items() {
command: "ls".to_string(),
cwd: PathBuf::from("/tmp/project"),
process_id: Some("123".to_string()),
host_id: None,
source: CommandExecutionSource::UserShell,
status: ApiCommandExecutionStatus::Completed,
command_actions: Vec::<CommandAction>::new(),