Repository navigation
Wait for a page load plus a server round trip after adding a note - #10
Merged
Merged
Conversation
After saving, the app reloads the whole page and fetches the list again, so the new card appears only after a save, a page load and a list load. On the slow demo site (main CI run 44648180711, 20 Nov 2026) that chain took about 32 s: POST 7 s, page reload 4.5 s, the site's own scripts up to 17 s, list 3.7 s, just over the 30 s server timeout. The card wait now allows ui_navigation_timeout_ms + ui_server_timeout_ms (60 s by default). Local: 14/14 UI + hybrid on chromium (-n 2); demo run unchanged (2 failed, 1 skipped, 1 xfailed). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Main CI after #9 (run 44648180711) failed once on chromium:
test_tc106_completing_every_note_shows_all_done,Locator.wait_for: Timeout 30000ms exceededinNotesPage.add_note.Cause (from the Playwright trace): after saving a note the app reloads the whole page (
GET /notes/app) and fetches the list again, so the new card appears only after a save, a page load and a list load. On the slow demo site that took about 32 s: POST 7 s, page reload 4.5 s, the site's own scripts up to 17 s (main.js16.9 s), list 3.7 s. A local trace shows the same reload on a fast day (about 1.3 s in total). Yesterday's tc105 failure was the same wait.Fix: the card wait in
add_notenow allowsui_navigation_timeout_ms + ui_server_timeout_ms(60 s by default). No new setting; a wrong result still fails, only later.Local: ruff clean; 14/14 UI + hybrid on chromium (
-n 2); demo run unchanged (2 failed, 1 skipped, 1 xfailed).🤖 Generated with Claude Code