mirror of
https://github.com/openai/codex.git
synced 2026-09-05 15:18:41 +00:00
ci: bound one-off V8 IO trace
This commit is contained in:
5
.github/workflows/v8-canary.yml
vendored
5
.github/workflows/v8-canary.yml
vendored
@@ -381,7 +381,10 @@ jobs:
|
||||
$traceRoot = Join-Path $env:RUNNER_TEMP "codex-io-trace"
|
||||
New-Item -ItemType Directory -Force -Path $traceRoot | Out-Null
|
||||
$null = & wpr -cancel 2>&1
|
||||
& wpr -start FileIO -start DiskIO -filemode -recordtempto $traceRoot
|
||||
# A cold source build can run for hours. Keep a bounded in-memory
|
||||
# ring buffer so stopping the trace does not have to merge hours of
|
||||
# file-mode ETW before the job can upload its extracted tail sample.
|
||||
& wpr -start FileIO -start DiskIO
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "failed to start Windows I/O trace"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user