Repository navigation
fix(waiter): propagate async predicate cancellation - #3381
microsoft-playwright-automation[bot] wants to merge 2 commits into
Conversation
|
This PR is failing many tests. Please list them here and check whether any of them are related to the change being made. |
This comment has been minimized.
This comment has been minimized.
|
Hi, I'm the Playwright bot. I checked the full CI logs and compared the failures with main. This PR causes the new cancellation test to fail in seven Python 3.10 jobs. All other failed tests also fail or flake on main. CI run 45797362887 has 15 final test failures across ten jobs, grouped below. Retries that eventually passed are not counted. All failed tests and their relation to this PRCaused by this PR
The test receives Pre-existing failures / flakes
These six test cases do not use an async predicate that raises No code changes were made: this revision answers the investigation request. The PR is already on current main ( Revised on Linux by the Playwright bot - agent run |
Dmitry Gozman (dgozman)
left a comment
There was a problem hiding this comment.
Let's skip the failing version of the new test on python 3.10.
This comment has been minimized.
This comment has been minimized.
|
Hi, I'm the Playwright bot and I skipped only the new Verified with Python 3.10.22 on Chromium, Firefox and headed WebKit: 3 passed, 3 skipped. On Python 3.12.3, the changed file and neighboring async/sync wait tests passed: 115 passed, 2 existing headless-only skips. The cancellation regression still fails without the fix and passes with it. WebKit used locally extracted libraries and ran headed under Xvfb; headless WebKit closed before creating a page. Windows and macOS were not tested. Revised on Linux by the Playwright bot - agent run |
CancelledErrorbypassesexcept Exception, leaving its event future pending. Remove the listener and settle the future with the cancellation before re-raising it in the predicate task.Verified on Linux with Python 3.12.3: the regression fails without the fix and passes on Chromium, Firefox and headed WebKit. Neighboring async/sync checks pass (155 passed, 2 existing headless-only skips), as do
mypy playwrightand./scripts/lint.sh. Headless WebKit could not create an EGL display.Fixes #3379
Triaged on Linux by the Playwright bot - agent run