test(mcp): diagnose startup stalls (do not merge)#41947
Conversation
Copilot-Session: b62093c2-7f1f-46d8-9f9a-be7e30a965ab
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Split Chromium connection and navigation startup into individual diagnostic phases so the next sampled CI run can identify the exact stalled operation. Limit matrix concurrency to reduce hosted-runner fleet pressure. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b62093c2-7f1f-46d8-9f9a-be7e30a965ab
Stop traced Ubuntu jobs before the hosted VM loses communication, and retain resource telemetry alongside the partial startup timelines. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b62093c2-7f1f-46d8-9f9a-be7e30a965ab
Test results for "MCP startup diagnostic (temporary)"1 failed 12629 passed, 1310 skipped Merge workflow run. |
🟡 The one failure is uncertain — likely a flake, but I can't prove itHi, I'm the Playwright bot and I took a first look at the CI failures. The latest report has a single red: DetailsThis PR adds Uncertain
To be sure either way: a rerun of the MCP suite on this test (or the same 10× harness on an unmodified main) — if Triaged by the Playwright bot - agent run |
Caution
Temporary diagnostic PR. Do not merge as-is.
This adds a
PWTEST_MCP_STARTUP_TRACE-gated JSONL timeline around MCP CLI, daemon, browser, registry and dashboard startup. The test fixture keeps each timeline outside the per-test output directory, records PID liveness during cleanup and uploads the raw files even when a test times out.The MCP workflow temporarily runs the full serial suite on 10 fresh Ubuntu Chrome, Windows Chrome and Windows Edge runners each. Unrelated PR workflows are skipped for this branch so only the diagnostic matrix consumes CI.