mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
Track Windows sandbox policy and per-thread executor hosts in the TUI (#45813)
## What changed - Add `WindowsSandboxConfig` helpers to read app-server configuration and managed requirements, preserve legacy feature flag fallbacks, and select an allowed setup mode with elevated mode preferred when the configured mode is disallowed. - Store the sandbox host classification in thread session state using reported environments across start, resume, fork, and replay paths. Classify missing or empty environments as `Unknown`, and distinguish local, remote, and mixed selections. ## Testing Add coverage for managed setup restrictions, legacy configuration precedence, unknown policy state, environment classification, and remote host state in inactive-thread replay. GitOrigin-RevId: ae8920d9c2a1c80b641ac90617ae607b171bd55a
This commit is contained in:
@@ -41,6 +41,7 @@ impl AppServerSession {
|
||||
.await?;
|
||||
let session = thread_session_state_from_thread_response(
|
||||
&thread.id,
|
||||
crate::windows_sandbox::host_from_environments(thread.environments.as_deref()),
|
||||
thread.forked_from_id.clone(),
|
||||
thread.name.clone(),
|
||||
thread.path.clone(),
|
||||
|
||||
Reference in New Issue
Block a user