Repository navigation
Two harness waits sized for a busy runner - #295
Merged
Merged
Conversation
`test_a_reload_comes_back_to_the_line_it_left_from` read the editor's first visible row a fixed 700ms after load. The page scrolls back from its own loop, which waits for the editor to lay out, and on a busy CI runner that sometimes took longer: the test read line 1 three times on 2026-11-24, on #291 (a version bump) and twice on #294, and passed on rerun each time. It now polls until the row moves, with a 3s deadline, so a restore that never happens still fails. 🤖 Written by an agent on behalf of @jcanton
`_devtools` opened each page with `httpx.put` on Chrome's `/json/new` at httpx's default timeout. On a loaded runner a just-started Chrome took longer, and three tests about other things failed with a ReadTimeout from the harness on 2026-11-24. Thirty seconds, in line with the twenty already allowed for Chrome to write its port. 🤖 Written by an agent on behalf of @jcanton
Merged
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 free
to 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.
Two timing assumptions in the tests failed on runs whose code had not changed, five times on 2026-11-24.
test_a_reload_comes_back_to_the_line_it_left_fromread the editor's scroll position a fixed 700ms after load, while the page restores it from a loop that waits for the editor to lay out. It now polls until the first visible row moves, up to 3s, so a restore that never happens still fails.tests/browser.pyopened every page through Chrome's/json/newat httpx's default 5s timeout. A just-started Chrome on a loaded runner took longer, and three unrelated tests failed with a ReadTimeout from the harness. It now waits up to 30s, in line with the 20s already allowed for Chrome to start.🤖 Written by an agent on behalf of @jcanton