test: make test-e2e is flaky under host load — "the extension opened no approval window within 30000ms" #290
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Chrome e2e suite fails intermittently under concurrent load on the build host, with a different test failing each time. The failure is always the same shape:
the extension opened no approval window within 30000ms.Measured across five sequential runs by one reviewer on unrelated branches:
nextbaseline: 40/40next: 40/40, then 38/40The same tree goes both green and red, so this is timing, not a defect in the code under test. Two other workers independently hit it in the same window; one saw
eth_sendTransaction rejectedtime out on its 30s wait in an untouched transaction path while a concurrentmake checkwas running.Why this matters
nextmust stay green and mergeable without notice, and this suite is the repo's only browser-level guarantee. A suite that fails randomly is worse than a slow one:Distinct from #218, which is a specific
loadHomeTxs failed: Failed to fetchon popup reload mid-refresh. This one is the approval-window wait, and it hits several different tests.Implementation requirements
Definition of done
make test-e2epasses repeatedly under concurrent load — demonstrate with several consecutive runs while the host is busy, with the output captured.TODO.mdupdated in the same commit.make checkpasses.