Commit b8bb189
committed
test(e2e): split CI vs local worker defaults (TST-60 fallback)
Second parallel run on CI again timed out the WIP-limit smoke test. The
failure is no longer the checkbox->v-if render race addressed in 12ce18c
(`expect.poll` succeeds; Playwright logs "locator resolved to <input>").
It is a downstream `.fill()` actionability timeout on the resolved input
that only surfaces under 2-worker CPU contention — likely a Vue template
re-render detaching/re-attaching the node during Playwright's auto-wait
checks. Fixing that root cause is a deeper Vue+Playwright interaction
investigation that is out of scope for this PR.
Fallback strategy: keep ALL the enablement infrastructure
(`fullyParallel: true`, `resolveWorkers` helper, `TASKDECK_E2E_WORKERS`
env override, SQLite connection tuning, hardened WIP-limit spec) and flip
the DEFAULT to preserve CI stability:
- CI default: 1 worker — matches the pre-TST-60 status quo, smoke stays green.
- Local default: 2 workers — modest dev-box speedup inside contention budget.
- Env override (`TASKDECK_E2E_WORKERS`) still works in both paths, so a
workflow that is ready to opt in to parallel runs can flip its own env var.
Ships the opt-in plumbing without forcing the failure mode. The TST-60
acceptance criterion ("40%+ runtime reduction") is NOT met by this PR and
must carry as follow-up: either fix the Vue template re-render race, or
migrate Smoke to a per-worker backend/DB topology that removes shared
state as the contention axis.
Refs: #867, TST-601 parent 577eabd commit b8bb189
1 file changed
Lines changed: 19 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
80 | 80 | | |
81 | | - | |
82 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
83 | 88 | | |
84 | | - | |
85 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
86 | 93 | | |
87 | 94 | | |
88 | 95 | | |
| |||
0 commit comments