Skip to content

test(e2e): multi-worker server + robust compare wait - #221

Merged
rvnminers-A-and-N merged 1 commit into
mainfrom
e2e-multiworker-212
Jul 25, 2026
Merged

rvnminers-A-and-N merged 1 commit into
mainfrom
e2e-multiworker-212

Conversation

@rvnminers-A-and-N

Copy link
Copy Markdown
Collaborator

Kills the full-suite e2e flakiness (#212).

Cause: e2e-full.yml ran all 13 Playwright tests against the single-worker demo app on :8000, so back-to-back heavy model-inference requests queued and hit their 30–40s waits.

Fix:

  1. e2e-full.yml now starts a dedicated 4-worker uvicorn on :8011 (isolated from the live :8000 demo), waits for readiness, runs the suite, tears it down.
  2. test_compare_loads_and_loaders_clear waited for the first card's image then a fixed 500 ms before asserting both images visible — the second card lags under load. Now polls for two non-loading cards with images (no fixed sleep).

Validated: 13/13 passed twice against a local 4-worker server, ~30 s each (was 1–4 flaky failures).

Closes #212.

…te flakiness

The full e2e suite (e2e-full.yml, self-hosted with models) ran the 13 Playwright
tests against the single-worker demo app, so back-to-back heavy requests queued and
timed out. Fixes:
- e2e-full.yml starts a dedicated 4-worker uvicorn on :8011 (isolated from the live
  :8000 demo), waits for readiness, runs the suite, and tears it down.
- test_compare_loads_and_loaders_clear waited for the FIRST card image then a fixed
  500ms before asserting BOTH images visible; the second card lags under load. Now
  polls for two non-loading cards with images (no fixed sleep).

Validated locally against a 4-worker server: 13/13 passed, twice, ~30s. Closes #212.

Signed-off-by: Austin L. <86896075+rvnminers-A-and-N@users.noreply.github.com>
@rvnminers-A-and-N rvnminers-A-and-N self-assigned this Jul 25, 2026
@rvnminers-A-and-N
rvnminers-A-and-N merged commit b8046c2 into main Jul 25, 2026
4 checks passed
@rvnminers-A-and-N
rvnminers-A-and-N deleted the e2e-multiworker-212 branch July 25, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(e2e): run the e2e server multi-worker to fix full-suite load flakiness

1 participant