feat(core): persist runtime workspace state

This commit is contained in:
Felipe Coury
2026-06-12 00:18:43 -07:00
parent bf667c7003
commit cb72ac4e89
27 changed files with 963 additions and 192 deletions
+4
View File
@@ -353,6 +353,7 @@ async fn exec_command_routes_to_selected_remote_environment() -> Result<()> {
let remote_selection = TurnEnvironmentSelection {
environment_id: REMOTE_ENVIRONMENT_ID.to_string(),
cwd: remote_cwd.clone(),
workspace_roots: Vec::new(),
};
let multi_env_output = exec_command_routing_output(
&test,
@@ -649,6 +650,7 @@ async fn apply_patch_freeform_routes_to_selected_remote_environment() -> Result<
TurnEnvironmentSelection {
environment_id: REMOTE_ENVIRONMENT_ID.to_string(),
cwd: remote_cwd.clone(),
workspace_roots: Vec::new(),
},
]),
)
@@ -732,6 +734,7 @@ async fn apply_patch_approvals_are_remembered_per_environment() -> Result<()> {
TurnEnvironmentSelection {
environment_id: REMOTE_ENVIRONMENT_ID.to_string(),
cwd: remote_cwd.clone(),
workspace_roots: Vec::new(),
},
];
let local_patch = format!(
@@ -930,6 +933,7 @@ async fn apply_patch_intercepted_exec_command_routes_to_selected_remote_environm
TurnEnvironmentSelection {
environment_id: REMOTE_ENVIRONMENT_ID.to_string(),
cwd: remote_cwd.clone(),
workspace_roots: Vec::new(),
},
]),
)
+1
View File
@@ -627,6 +627,7 @@ async fn view_image_routes_to_selected_remote_environment() -> anyhow::Result<()
let remote_selection = TurnEnvironmentSelection {
environment_id: REMOTE_ENVIRONMENT_ID.to_string(),
cwd: remote_cwd.clone(),
workspace_roots: Vec::new(),
};
let call_id = "call-view-image-multi-env";
let response_mock = mount_sse_sequence(