Playwright tracing zip file corrupted when terminating worker process prematurely
Playwright writes trace.zip only when the browser context closes cleanly, so a worker killed mid-run (SIGKILL, timeout teardown, OOM) leaves a truncated ZIP with no central directory, and unzip, show-trace, and trace.playwright.dev all report it as corrupted. Root Cause Diagnosis During a test, Playwright streams trace events into a temporary directory (<artifactsDir>/traces/, .trace and .network … Read more