test(quick-note): give the async page write 5s, not render_async's 100ms default #60

Merged
jfro merged 1 commit from fix/quick-note-test-flake into main 2026-10-29 01:22:03 +00:00
Owner

Test-only flake fix. No app code changes.

QuickNoteLiveTest "adds a page" fails now and then: the page write runs from SyncServer's task (snapshot fetch + commit through the cloud stub) and measured 130–320 ms locally, past render_async/1's 100 ms default. When the test exits first, the Req.Test stub goes private and the task logs "cannot find stub", which is a symptom, not the cause.

Change: render_async(view, 5_000) with a comment saying why. It still returns as soon as the result renders, so the passing case isn't slower.

mix precommit: 1006 passed, 1 excluded.

Note: CI may not run on this PR. The Forgejo runner looks offline (run 116 on #59 is still waiting to be picked up).

Test-only flake fix. No app code changes. `QuickNoteLiveTest` "adds a page" fails now and then: the page write runs from SyncServer's task (snapshot fetch + commit through the cloud stub) and measured 130–320 ms locally, past `render_async/1`'s 100 ms default. When the test exits first, the `Req.Test` stub goes private and the task logs "cannot find stub", which is a symptom, not the cause. Change: `render_async(view, 5_000)` with a comment saying why. It still returns as soon as the result renders, so the passing case isn't slower. `mix precommit`: 1006 passed, 1 excluded. Note: CI may not run on this PR. The Forgejo runner looks offline (run 116 on #59 is still waiting to be picked up).
test(quick-note): give the async page write 5s, not render_async's 100ms default
All checks were successful
CI / test (pull_request) Successful in 1m27s
73a4c6e666
jfro added this to the v1.6.0 milestone 2026-10-29 00:31:10 +00:00
jfro merged commit e1dfb6857d into main 2026-10-29 01:22:03 +00:00
jfro deleted branch fix/quick-note-test-flake 2026-10-29 01:22:03 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfro/rm-analyzer!60
No description provided.