E2e CI Economics

Use when a browser end-to-end suite (Playwright, Cypress, WebdriverIO) is the slowest thing in CI, or when someone proposes to add a browser to the matrix, raise the worker count, cache the suite, or mark the suite `continue-on-error`. Covers the rule that a non-gating job must never sit on the critical path, why `continue-on-error: true` plus a `pull_request` trigger is the worst of both states, gating on a minimal browser set and running the full matrix nightly, why you shard instead of raising `workers`, the fixed per-shard cost that sets the floor on sharding, why an E2E result cannot go in a task-runner cache and must not, the default-branch alert that catches the suite everyone stopped reading, and how to report a retry-pass instead of absorbing it, and why you address a collection member by a stable key rather than by index. Says which of these a linter can enforce and which needs run timings. Triggers: 'E2E is slow', 'the e2e job takes forever', 'add WebKit to the matrix', 'raise Playwright workers',

pooriaarab Updated

File contents

pooriaarab/skills/tree/main/e2e-ci-economics commit 300b887bfc

Frequently asked questions

npx skillmds@latest add pooriaarab/e2e-ci-economics