Repository navigation
fix: update project prefix for automation nodes in test file - #718
Conversation
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Rename automation-nodes project prefix —
PROJECT_PREFIXinapps/e2e/tests/projects/automation-nodes.spec.tschanges fromE2E_AUTOMATION_NODES_toE2E_ANODES_, removing thestartsWith("E2E_AUTOMATION_")overlap withautomation.spec.ts's cross-worker cleanup.
I checked every *_PREFIX literal under apps/e2e/tests: E2E_ANODES_ is unique and no other cleanup prefix is either a prefix of it or contains it (E2E_ACCT_, E2E_ACPCONV_, E2E_ACTIVITY_, E2E_ADMAGENTS_, E2E_AGENTS_, E2E_AUTOMATION_ are the neighbouring E2E_A… values). The old prefix has no remaining references in specs, features, README, or workflows, and all four PROJECT_PREFIX use sites (create + cleanup) pick up the rename. The diagnosis is sound: cleanupProjectsByPrefix filters by startsWith, so the old name was genuinely in scope for automation.spec.ts's E2E_AUTOMATION_ sweep.
deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏

Summary
Fixes most of the
automation-nodes.spec.tsfailures in run 42560470415.Cause
automation.spec.tscleans up every project whose name starts withE2E_AUTOMATION_. The nodes spec named its projectsE2E_AUTOMATION_NODES_…, which starts with that prefix. When the two specs ran on different workers, the other spec's cleanup deleted the nodes spec's project mid-test. The builder page then redirected to/homeandgetByRole("heading", { name })inopenBuildertimed out. The error-context snapshot from CI showed the home page with noE2E_AUTOMATION_NODES_project listed.Changes
automation-nodes.spec.ts: renamePROJECT_PREFIXfromE2E_AUTOMATION_NODES_toE2E_ANODES_, which no other spec's prefix overlaps.Testing
automation.spec.tsandautomation-nodes.spec.tstogether, 3 workers, chromium: 48/48 pass locally.