Merge a4da71c2ae into sapling-pr-archive-bolinfest

This commit is contained in:
Michael Bolin
2026-04-26 19:14:37 -07:00
committed by GitHub
+2 -3
View File
@@ -97,6 +97,7 @@ async fn status_snapshot_includes_reasoning_details() {
config.model = Some("gpt-5.1-codex-max".to_string());
config.model_provider_id = "openai".to_string();
config.model_reasoning_summary = Some(ReasoningSummary::Detailed);
config.cwd = test_path_buf("/workspace/tests").abs();
config
.set_legacy_sandbox_policy(SandboxPolicy::WorkspaceWrite {
writable_roots: Vec::new(),
@@ -106,8 +107,6 @@ async fn status_snapshot_includes_reasoning_details() {
})
.expect("set sandbox policy");
config.cwd = test_path_buf("/workspace/tests").abs();
let account_display = test_status_account_display();
let usage = TokenUsage {
input_tokens: 1_200,
@@ -180,6 +179,7 @@ async fn status_permissions_non_default_workspace_write_is_custom() {
.approval_policy
.set(AskForApproval::OnRequest)
.expect("set approval policy");
config.cwd = test_path_buf("/workspace/tests").abs();
config
.set_legacy_sandbox_policy(SandboxPolicy::WorkspaceWrite {
writable_roots: Vec::new(),
@@ -188,7 +188,6 @@ async fn status_permissions_non_default_workspace_write_is_custom() {
exclude_slash_tmp: false,
})
.expect("set sandbox policy");
config.cwd = test_path_buf("/workspace/tests").abs();
let account_display = test_status_account_display();
let usage = TokenUsage::default();