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
Two tests fail only on macOS in the Nov 24 nightly: Firefox undo while the editor loads, and a readiness probe across a replacing document #7022
These tests failed only on macOS (test-macos) in scheduled run 45378690705 on e7d5808f3, and Linux test passed them in the same run. Neither failed in the previous scheduled run, 45159811021. Neither has been reproduced. The next step, per running-tend, A red ci on main is live, is to dispatch each test alone on the macOS runner.
line 315: after the editor loads, typing kept and pressing ControlOrMeta+z leaves Typed ear and\nkely where Typed ear and\nly is expected. Undo took back pt but not ke, so the user would see part of a word survive undo
line 503 → render_harness.pytold → render_checks.wait_until_ready: JSHandle.json_value: Execution context was destroyed, most likely because of a navigation. The readiness probe raced the replacing document's navigation
I've diagnosed both failures. Each fix is in its own PR, and they're handed to review and tend-land.
Firefox undo (kely) → test: type one key after the editor loads, so undo's grouping can't split it #7030. CodeMirror starts a new undo step when keystrokes pause longer than its group delay. Firefox on the loaded macOS runner typed kept slowly enough to split it after ke. Adding a 700 ms pause inside the old typing reproduces kely locally on both engines. The test now types one key, which is one undo step however slowly the runner types, so it still checks that words typed before the editor loads are their own undo step.
Readiness probe across a replacing document → fix: keep waiting for page readiness when the page replaces its document mid-wait #7029. wait_until_ready reads each answer through a JSHandle from the current document. A revision that can't be patched in replaces the document, and when that lands between the answer and the read, the handle's context is gone and the wait raised instead of continuing. The wait now goes on in the new document. A model test with a fake page whose first read fails this way fails before the fix and passes after it.
A dispatch of both tests alone on the macOS runner from main (--workers 1 --load 4, run 45446915872) passed 18 of 18 copies of each. So on that runner, the failing nightly is the before evidence and the next scheduled run after both merge is the after. Both PRs say Refs, so close this issue once both have landed.
Activity
leaf-agent commentedon Nov 24, 2026
I've diagnosed both failures. Each fix is in its own PR, and they're handed to review and tend-land.
kely) → test: type one key after the editor loads, so undo's grouping can't split it #7030. CodeMirror starts a new undo step when keystrokes pause longer than its group delay. Firefox on the loaded macOS runner typedkeptslowly enough to split it afterke. Adding a 700 ms pause inside the old typing reproduceskelylocally on both engines. The test now types one key, which is one undo step however slowly the runner types, so it still checks that words typed before the editor loads are their own undo step.wait_until_readyreads each answer through a JSHandle from the current document. A revision that can't be patched in replaces the document, and when that lands between the answer and the read, the handle's context is gone and the wait raised instead of continuing. The wait now goes on in the new document. A model test with a fake page whose first read fails this way fails before the fix and passes after it.A dispatch of both tests alone on the macOS runner from
main(--workers 1 --load 4, run 45446915872) passed 18 of 18 copies of each. So on that runner, the failing nightly is the before evidence and the next scheduled run after both merge is the after. Both PRs sayRefs, so close this issue once both have landed.fix: keep waiting for page readiness when the page replaces its docum…
test: type one key after the editor loads, so undo's grouping can't s…