fix(screencast): acknowledge frames after callbacks#41898
Conversation
Re: microsoft/playwright-python#3145 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2848e8f0-1e34-4996-a6d6-7e48c00bb8f3
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Hi, I'm the Playwright bot and I took a look at the CI failures here. 🟢 The PR looks clear — both real failures are pre-existing flakesThis PR only touches screencast frame acknowledgement in DetailsPre-existing flake / infra
The 9 "flaky" entries in the tests-1 report (including several Triaged by the Playwright bot Triaged by the Playwright bot - agent run |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2848e8f0-1e34-4996-a6d6-7e48c00bb8f3
Test results for "tests 1"2 flaky49998 passed, 1189 skipped Merge workflow run. |
Test results for "MCP"1 failed 7759 passed, 1249 skipped Merge workflow run. |
|
Hi, I'm the Playwright bot and I took a look at the CI failures here. 🟢 The PR looks clear — the one failure is a pre-existing flakeThe latest merged report has a single red: DetailsPre-existing flake / infra
This PR's diff is confined to screencast frame acknowledgement in Triaged by the Playwright bot - agent run |
This PR makes
page.screencast.start({ onFrame })use callback completion as backpressure. Fixes a bug in the OR logic (one sync ack was swallowed by pending clients), and replacedManualPromisewithLongStandingScopeso we can use the non-leakingsafeRace.Re microsoft/playwright-python#3145