You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3bfd224
Browse filesBrowse the repository at this point in the historyBrowse files
fix(desktop-e2e): remove root causes of four retry-masked desktop flakes (#8940)
* fix(desktop-e2e): remove root causes of four retry-masked desktop flakes
- packaged-smoke: remove the profile only after every process that can write
it (the app's process group, Crashpad's handler) is gone; SIGKILLing main
left helpers creating files during rmSync (ENOTEMPTY)
- background-executor: answer shell dialogs by waiting for their window to
close, since the dialog destroys itself before the click is acknowledged
- background-executor A: replace the 1.5 s p95 wall-clock threshold with a
gated check that every call is claimed while chat B's first command still
holds its queue, within Sim's 15 s pickup window, and that held leases renew
- driver: a click whose tab closes itself mid-dispatch (popup Allow ->
window.close()) is a dispatched click, not a failed one, whichever of the
close and the input acknowledgement lands first
- page-dialogs / browser-focus / browser-tools: print the tool error and the
shown dialog id when they fail, to root-cause the remaining flakes
* fix(desktop-e2e): rescue only a click whose final release hit a tab that then closed
- cdp.clickAt raises TabClosedOnReleaseError only when the final mouseReleased
was sent to a live tab and the tab is destroyed when it rejects; the driver
rescues only that error (no string match, no pre-input/press/hold cases),
with a note that does not claim the page closed itself and doNotRetry
- background-executor A: assert each call is claimed within Sim's 15 s pickup
window measured from issue, and always release the gated commands
* fix(desktop): report a click whose tab closed mid-release as unconfirmed
The tab being destroyed proves teardown, not that Chromium processed the
release, so the rescued result no longer claims effectObserved and its note
says the outcome could not be confirmed. Adds clickAt tests for each
TabClosedOnReleaseError guard and a driver test for the rescued shape.
0 commit comments