Make the load-sensitive tests wait for what they check (closes #507) #510

Merged
clawbot merged 1 commits from issue-507-load-sensitive-tests into next 2026-10-06 08:51:37 +02:00
1 Commits
Author SHA1 Message Date
clawbot a424939b5d Make the load-sensitive tests wait for what they check (closes #507)
check / check (push) Successful in 10m37s
The browser test waits for each page a click opens to load, and for
Alpine.js to start on it, before reading that page; before, a read
could find an element of the page being left.

The delivery tests' drain takes what is queued without a timer. The
dispatch paths queue before they return, and the 25 ms timer could be
due by the time select looked, which then chose at random between it
and a queued task.

The test phase keeps the tests' temporary directories, and with them
their SQLite databases, on a tmpfs: waiting for the disk at each commit
was about 40% of internal/handlers' run time on a busy host.

Model: opus-5-5
2026-10-06 05:42:57 +00:00