Record Windows world-writable scan telemetry (#40983)

## What changed

- Return the number of directories flagged by successful Windows sandbox world-writable scans.
- Record that count in the `codex.windows_sandbox.world_writable_scan_flagged_directories` histogram for startup and warning-triggered scans.
- Tag each measurement with a `success` or `error` result, using a count of zero when the scan fails.

GitOrigin-RevId: 076160f36b1d62fa737f4b2d0318774e6c44a4b1
This commit is contained in:
iceweasel-oai authored and copyberry committed 2026-08-26 21:52:56 +00:00
1 parent d61ba72f2f
commit 37a5149822
6 files changed
+31 -5

No files matched your search

+1
View File
@@ -2292,6 +2292,7 @@ impl App {
env_map,
logs_base_dir,
permission_profile,
self.session_telemetry.clone(),
tx,
/*startup_scan*/ false,
);