mirror of
https://github.com/openai/codex.git
synced 2026-11-14 21:40:39 +00:00
Remove legacy sandbox-policy accessors from configuration (#61395)
## What changed - Remove `Config::legacy_sandbox_policy` and `Permissions::legacy_sandbox_policy`. - Update core and TUI tests to use permission profiles and filesystem/network policies directly, with explicit conversion where legacy wire formats are required. - Report the active sandbox label in app-server resume override mismatch diagnostics. GitOrigin-RevId: cbc5417944e23404523e69dc5516d66d6bfafefe
This commit is contained in:
@@ -212,9 +212,8 @@ fn collect_resume_override_mismatches(
|
||||
}
|
||||
};
|
||||
if !sandbox_matches {
|
||||
let active_sandbox = config_snapshot.sandbox_policy();
|
||||
mismatch_details.push(format!(
|
||||
"sandbox requested={requested_sandbox:?} active={active_sandbox:?}"
|
||||
"sandbox requested={requested_sandbox:?} active={active_sandbox_label}"
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user