Record Windows MXC availability (#42094)

## What changed

- Probe whether the native Windows MXC process security environment is usable
  when selecting a sandbox.
- Emit `codex.windows_mxc.available` at most once per process, labeled with the
  probe result.
- Add the MXC workspace dependencies for Cargo and Bazel, and pin
  `tracelogging` to a version compatible with the GNU Windows toolchain.

GitOrigin-RevId: d7cfeed6f0333feda5764e1ee44fe5bbd50f9a58
This commit is contained in:
iceweasel-oai authored and copyberry committed 2026-09-01 16:40:05 +00:00
1 parent f4e6cb7876
commit ade0ccacf9
9 files changed
+231

No files matched your search

+3
View File
@@ -301,6 +301,9 @@ impl SandboxManager {
windows_sandbox_level: WindowsSandboxLevel,
has_managed_network_requirements: bool,
) -> SandboxType {
#[cfg(windows)]
crate::windows_mxc::record_availability_once();
if self.should_sandbox(permission_profile, pref, has_managed_network_requirements) {
get_platform_sandbox(windows_sandbox_level != WindowsSandboxLevel::Disabled)
.unwrap_or(SandboxType::None)