win-ci: Windows 워커 크래시 조사 단계 추가

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-15 02:13:34 +09:00
parent 0b3fe8369f
commit 08de94e85f
2 changed files with 61 additions and 0 deletions

View File

@@ -69,6 +69,19 @@ try {
Log "gvr rev $(& git rev-parse --short HEAD)"
$py = Join-Path $Repo 'worker\.venv\Scripts\python.exe'
if ($Phase -eq 'debug') {
# 원인 조사용: worker/scripts/win_debug.py 만 돌린다 (venv 는 이전 실행 것을 그대로 씀)
$r['debug'] = Step 'debug' {
& $py -X faulthandler worker\scripts\win_debug.py
"exit $LASTEXITCODE"
}
$sum = Join-Path $OutDir 'summary.log'
Set-Content -Path $sum -Value @("phase=debug", "debug $($r['debug'])") -Encoding UTF8
Send-Artifact 'gvr-summary.log' $sum
Pop-Location
Log "=== gvr 끝 ==="
exit 0
}
$r['worker_setup'] = Step 'worker_setup' {
Push-Location (Join-Path $Repo 'worker')
if (-not (Test-Path $py)) { & python -m venv .venv }