Repository navigation
Description
Problem
When the browser lane of "Integration and browser" fails, the job log holds only the assertion and the PASS lines before it. The two intermittent failures fixed on 2026-10-07 (#536, #537) could not be told apart from test timing in the logs; both were found by reproducing them on a PC with a probe. A third one (#551) is open with nothing more to go on than its one assertion.
What a failed run does not keep today:
- What the page looked like. The browser scripts already write screenshots when
UI_EVIDENCE_DIRis set, but CI does not set it, and nothing is taken at the point of failure. No Playwright trace is recorded. - What the server said. The web UI servers the scripts start log to the lane's output, mixed with the PASS lines, with no timestamps of their own. herdr's
test-server.logis uploaded on failure; the frames the page received are not. - How long each script took.
scripts/ci-browser.shruns its scripts one after another and prints nothing between them. The profile behind chore(ci): build the demo's client once for the browser lane #548 had to be rebuilt from PASS-line timestamps, which also count each script's setup against the script before it.
What to add
- In
scripts/ci-browser.sh, print each script's name and how long it took, and a summary at the end. - On failure, keep a screenshot of every open page and, if the cost is acceptable, a Playwright trace of the failing context; upload them with the existing "Preserve failure logs" step (
CHECK_DIRis already kept in CI, so a directory under it needs no new plumbing). - Timestamps on the test servers' own lines, so a server line can be placed against a PASS line.
No retries: a failure that a retry turns green is the kind this is meant to explain.
Then measure
- chore(ci): build the demo's client once for the browser lane #548 was compared on one run only (browser lane 401 s against 433 to 440 s on the three
mainruns before it). With per-script timings, a handful of runs will say what it saves. - The same numbers decide CI: the required job waits about 7 minutes for the browser lane #553 (splitting the lane).
Also unexplained
Seven CI runs of fork PRs on 2026-10-06 ended as failure with no jobs and no log (37455493445, 37452965707, 37443957584, 37437006600, 37436949778, 37411882568, 37411593274). They are not test failures. The likely cause is an approval-gated run that was closed or superseded, but the run metadata does not say. Worth one look, so the failure count of the CI workflow can be read without subtracting them by hand.
Activity
ci(browser): per-script timings and kept screenshots for the browser …
chore: sync with upstream devswha/herdr-web-ui main (devswha#624, dev…
devswha commentedon Oct 12, 2026
The parts of this issue that main already covers are done. The remaining work moves to #897, so this issue can close.