Uh oh!
There was an error while loading. Please reload this page.
test(connect): unblock hung launchServer teardown with SIGKILL fallback - #42148
Merged
Simon Knott (Skn0tt) merged 2 commits intoAug 12, 2026
Merged
Conversation
launchServer › should ignore page.pause when headed flakes on macOS chromium: RemoteServer.close() sends SIGINT to the launchServer child and then awaits its exit unconditionally. A headed browser intermittently ignores SIGINT, so the child never exits, close() hangs, and the test dies with 'Tearing down "startRemoteServer" exceeded the test timeout of 90000ms'. The hang is inside close(), before the childProcess fixture's SIGKILL fallback can run. Give graceful shutdown 10s, then SIGKILL so teardown stays bounded. DB evidence (rolling window through 2026-08-05, expected=passed, final verdict after retries, bot chromium-macos-14-xlarge): 19/291 runs failed (6.5%), all with the same teardown-timeout error. Failures span the whole window (last seen 2026-08-05); not fixed. chromium+macOS only; no failures on Linux/Windows. No open issue/PR; two earlier bot PRs (#41959, #42012) proposed a fixme and were closed unmerged — this instead fixes the teardown root cause. Run history — chromium-library, chromium-macos-14-xlarge (291 runs, oldest first; 🟩 pass 🟧 retry-rescued 🟥 fail): [🟩](https://github.com/microsoft/playwright/actions/runs/28866308287/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28873490820/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28875446309/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28890081894/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28890567394/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28891955630/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28902894453/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28928109454/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28938485606/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28938794208/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28939257621/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28955218250/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28956057852/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/28959626412/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28960485377/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28961086678/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28964329424/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28965502424/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28965644405/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28965711826/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28969094103/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28969520041/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/28980946873/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29005148863/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29007006549/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29007195865/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29017723928/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29042634067/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29048400472/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29061435297/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29064347446/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29077304281/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29097158670/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29099052102/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29104555430/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29108562907/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29109943209/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29112994315/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29121472402/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29124318697/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29124335331/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29125414211/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29125729353/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29128339905/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29128376120/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29130091891/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/29130426820/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29155485041/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29199182739/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/29243262130/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29130091891/attempts/2)[🟥](https://github.com/microsoft/playwright/actions/runs/29259263344/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29295691040/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29301677592/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29308472932/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29312025613/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29314690931/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29323062383/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29324655149/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29324825065/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29332309029/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29332318831/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29337724291/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29337734864/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29338439922/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29340863234/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29344305083/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29344433094/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29351198689/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29356060340/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29361876195/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29366381195/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29369499364/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29374339482/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29394850590/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29406290737/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29406265900/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29406305129/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29406278363/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29406325718/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29415751923/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29416836043/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29416849206/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29417339107/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29420362810/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29421177744/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29426009862/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/29434021274/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29449506755/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29457511205/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29461343212/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/29493630712/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29493689996/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29494668376/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/29496276570/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/29497431241/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29501896183/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29504809298/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29505924688/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29506925842/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29507208821/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29507279787/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29510845830/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/29513769523/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/29516108305/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29525081398/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29527833904/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29528556146/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/29531605213/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29531635659/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29536656250/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29544830063/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29585973013/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29587651108/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29589683538/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/29589934673/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29595934280/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29598530258/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29602613490/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29611131294/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29611318218/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29611445029/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29612805092/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29613759502/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29618375255/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29686210360/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/29730373358/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29734693205/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29755368802/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29762776585/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29763385504/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/29769696091/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29775716877/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29780743634/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29782328403/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29784817456/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29789509369/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29791328941/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29791345408/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/29800511868/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29822273353/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29835236639/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29838699822/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29844141129/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29845175984/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29845392058/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29855614229/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29855625844/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29856729151/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29859883032/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29865460136/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29866867131/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/29867308985/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29873996100/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29874748609/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29874783963/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29877078341/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29879172510/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29904950059/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29915407358/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29918102409/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29924682554/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29931173316/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29932910968/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29933325202/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/29938598979/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29940740538/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29945241493/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29957712363/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29960743816/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/29986800439/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30000526442/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30002550609/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30003704436/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30012947805/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30013000317/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30013096187/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30016032633/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30019936660/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30020951577/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30028622968/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30030075729/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30034117131/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/30037717793/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30043643329/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30046492986/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30046789125/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30047266180/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30054321343/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30055514373/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30056208622/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/30059081941/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30061239008/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30064063966/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30087004304/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30087062553/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30087527278/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30088593278/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30096158712/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30096561860/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30099474083/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30106394430/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30109152699/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30125931463/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30125949342/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30128284458/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/30128358440/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30128549016/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/30128995674/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30130964830/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30281800940/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30282186242/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30282257105/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30295966994/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30314129578/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30317038982/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30317255895/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30345832284/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30357733547/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30362312636/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30374618561/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/30374665387/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30374719582/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30374877599/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30375058435/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/30375461275/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30439562399/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30441064351/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30441096149/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/30467361553/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30467478444/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30469106593/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30469413084/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30481073486/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30490358021/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30490403874/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30493031010/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30493959683/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30495285330/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30498894356/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30530696555/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30534756293/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30539645601/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30542293233/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30542345092/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30559579795/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30565052100/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30568188818/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30568293053/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30568320872/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30577572373/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30581357288/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30581383958/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30581405526/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30585190825/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30618799783/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30624512498/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30653773411/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30667286182/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30667347031/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30833251658/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30850656923/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30850749658/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30854798001/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30859305376/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30859315578/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/30859360344/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30885108613/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/30885140825/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30885208556/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30885237385/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30885274230/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/30917613834/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30927071352/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30927719515/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30930057055/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30933859878/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30934926278/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30940141663/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30945227770/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/30954253724/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30954381228/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/30955628029/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30983589511/attempts/1)[🟥](https://github.com/microsoft/playwright/actions/runs/30994484036/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/30999293932/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/31005632732/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/31028827279/attempts/1)[🟧](https://github.com/microsoft/playwright/actions/runs/31041443233/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/31049625776/attempts/1)[🟩](https://github.com/microsoft/playwright/actions/runs/31054103593/attempts/1) Verified locally on macOS (macos-14-xlarge, chromium): - ran the test with --repeat-each=30 (60 cases): all passed, no regression. - deterministic teardown check: a launchServer whose graceful close stalls forever (stallOnClose) previously hung to the test timeout; with the fix close() completes in 10048ms via the SIGKILL fallback. - npm run flint / eslint clean. Suggested-reviewer: dgozman Fix generated by https://github.com/microsoft/playwright/actions/runs/31079968971
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Simon Knott (Skn0tt)
commented
Aug 6, 2026
Contributor
Dmitry Gozman (@dgozman) i notice that our SIGINT handler, in contrast to our graceful shutdown sequence, does not initiate force kill after 30s. I'm curious why, let's discuss. |
Dmitry Gozman (dgozman)
approved these changes
Aug 11, 2026
Uh oh!
There was an error while loading. Please reload this page.
Address review feedback: wait 30s, then send a second SIGINT so processLauncher force-kills the browser instead of SIGKILL-ing the child.
Uh oh!
There was an error while loading. Please reload this page.
Simon Knott (Skn0tt)
deleted the
fix-flakes/macos-14-xlarge-31079968971
branch
August 12, 2026 12:06
Contributor
Test results for "tests 1"4 flaky51101 passed, 1209 skipped Merge workflow run. |
Contributor
Test results for "MCP"8092 passed, 1294 skipped Merge workflow run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
launchServer › should ignore page.pause when headed flakes on macOS chromium:
RemoteServer.close() sends SIGINT to the launchServer child and then awaits its
exit unconditionally. A headed browser intermittently ignores SIGINT, so the
child never exits, close() hangs, and the test dies with 'Tearing down
"startRemoteServer" exceeded the test timeout of 90000ms'. The hang is inside
close(), before the childProcess fixture's SIGKILL fallback can run. Give
graceful shutdown 10s, then SIGKILL so teardown stays bounded.
DB evidence (rolling window through 2026-08-05, expected=passed, final verdict
after retries, bot chromium-macos-14-xlarge): 19/291 runs failed (6.5%), all
with the same teardown-timeout error. Failures span the whole window (last seen
2026-08-05); not fixed. chromium+macOS only; no failures on Linux/Windows. No
open issue/PR; two earlier bot PRs (#41959, #42012) proposed a fixme and were
closed unmerged — this instead fixes the teardown root cause.
Run history — chromium-library, chromium-macos-14-xlarge (291 runs, oldest
first; 🟩 pass 🟧 retry-rescued 🟥 fail):
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟧🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟧🟩🟩🟧🟩🟥🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟥🟩🟩🟩🟥🟩🟩🟥🟧🟩🟩🟩🟩🟩🟩🟩🟥🟧🟩🟩🟩🟧🟩🟩🟩🟩🟩🟩🟧🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟧🟩🟩🟩🟩🟥🟩🟩🟩🟩🟩🟩🟩🟥🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟧🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟧🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟥🟩🟧🟩🟩🟩🟩🟩🟥🟩🟧🟩🟩🟩🟩🟩🟩🟩🟧🟩🟩🟩🟩🟥🟧🟥🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟧🟥🟩🟩🟩🟥🟩🟩🟩🟥🟩🟧🟩🟩🟩🟩🟩🟩🟧🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟧🟩🟩🟧🟧🟩🟩🟩🟩🟩🟩🟩🟧🟩🟧🟧🟩🟥🟩🟥🟩🟩🟩🟥🟩🟩🟩🟩🟩🟩🟩🟥🟩🟧🟩🟥🟩🟩🟩🟧🟩🟩
Verified locally on macOS (macos-14-xlarge, chromium):
forever (stallOnClose) previously hung to the test timeout; with the fix
close() completes in 10048ms via the SIGKILL fallback.
Suggested-reviewer: dgozman
Fix generated by https://github.com/microsoft/playwright/actions/runs/31079968971