mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
feat(core): persist runtime workspace state
This commit is contained in:
@@ -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(),
|
||||
},
|
||||
]),
|
||||
)
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user