Skip to content

test(e2e): drafts.spec.ts daily-evaluation flow exceeds its 60s timeout under host load #199

Closed

Description

@fieldmouseworks-workers

e2e/drafts.spec.ts:113 (draft, collaborate, transfer, and submit a daily evaluation) times out on remi when the host is loaded. It passes in CI.

Evidence (2026-11-09, remi, load average 36–60 on 12 threads, run with heavy (4-thread share), Chromium 157 from the Nix store):

  • Full cargo xtask proof on f82c02c (deps: take sqlx's libsqlite3-sys cap lift for RUSTSEC-2026-0459 #197): 69 passed, 1 failed (this test, Open draft link never appeared because sign-in hadn't returned within the budget).
  • npx playwright test e2e/drafts.spec.ts --repeat-each=6 on f82c02c: 6/6 failed.
  • The same command on the parent bdd156a (sqlx 0.9.0, libsqlite3-sys 0.37.0): 6/6 failed.
  • In both runs every failure is a timeout at a different step (lines 123, 127, 233, 336, 350, 378, 380, 394, and Sign out in the helper). The flow keeps going until the shared 60s test budget runs out. It doesn't fail at one fixed step.

So this isn't a regression from #197. It's a long multi-sign-in flow (each sign-in hashes a password) that doesn't fit in 60s when the server and browser are starved of CPU. #83 is a different load-dependent test.

Next action: measure the test's duration on an idle host, then either split the flow into focused tests or give it an explicit test.slow()/timeout with the reason. Don't raise the global timeout.

Refs #196

Activity

  1. added
    ready
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumready

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions