fix: allow parent commands during write delegation

This commit is contained in:
2026-08-27 11:27:27 +09:00
parent 7aaf189247
commit 060f280fdf
7 changed files with 127 additions and 359 deletions
-4
View File
@@ -230,7 +230,6 @@ async fn shutdown_closes_bound_workdir_session() {
let command = session
.start_command(CommandRequest {
command: "sleep 30".to_owned(),
cwd: None,
timeout_secs: 60,
output_limit: 1024,
tool_call_id: None,
@@ -272,7 +271,6 @@ async fn controller_projects_workdir_command_events_and_snapshot_state() {
let command = session
.start_command(CommandRequest {
command: "printf ready; sleep 0.3; printf done".to_owned(),
cwd: None,
timeout_secs: 5,
output_limit: 1024,
tool_call_id: Some("tool-command-1".into()),
@@ -380,7 +378,6 @@ async fn controller_refreshes_command_snapshot_after_high_output_provider_lag()
.start_command(CommandRequest {
command: "dd if=/dev/zero bs=8192 count=300 2>/dev/null | tr '\\0' x; sleep 5"
.to_owned(),
cwd: None,
timeout_secs: 10,
output_limit: 1024,
tool_call_id: Some("tool-high-output".into()),
@@ -455,7 +452,6 @@ async fn controller_startup_failure_closes_bound_workdir_session() {
session
.start_command(CommandRequest {
command: "printf unreachable".to_owned(),
cwd: None,
timeout_secs: 5,
output_limit: 1024,
tool_call_id: None,