Lesson 72 — Running at Scale: Matrices, CI & Scheduling · Practical QA
LESSON VIEW
A-10 · ADVANCED · PRACTICAL QA

Lesson 72 — Running at Scale: Matrices, CI & Scheduling

Objective: A suite a human must remember to run is a suite that runs less and less. Give every run a trigger with a reason.

⏱ ≈53 min full lesson · English edition — Español · العربية · বাংলা in translation

⚡ Key Points

  • PULL REQUEST → smoke + touched domains (A-02 tags): fast, relevant.
  • The matrix multiplies cost: tests × browsers × devices.
  • CI machines are slower and colder than yours.
  • Retry policy differs by gate: informational runs may retry; GATING runs report retry-passes as failures (A-07).
  • A scheduled run failing silently in an unopened dashboard is monitoring theater.

📖 Read

PULL REQUEST → smoke + touched domains (A-02 tags): fast, relevant. MERGE → domain cores, all browsers for those domains. NIGHTLY → full suite, core projects. WEEKLY/PRE-RELEASE → full suite, FULL matrix (B-14). SCHEDULED vs PRODUCTION → safe read-only smoke subset — catches what deploys didn't change but the world did (expired certs, third-party drift).

The matrix multiplies cost: tests × browsers × devices. Full matrix on every PR = a 90-minute bottleneck engineers route around — and a routed-around suite protects nothing. Tier it by risk: PR = the browser/device most users have; nightly adds the tail; the full grid is bought when stakes justify it.

CI machines are slower and colder than yours. Laptop-feel timeouts fail there; A-07's readiness assertions pay their rent there. And artifacts on failure, ALWAYS: trace, video, screenshot, results.json. A red job without artifacts is a rumor.

Retry policy differs by gate: informational runs may retry; GATING runs report retry-passes as failures (A-07). The moment a pipeline hides flake to stay green, its green stops meaning anything — teams feel it within a month.

A scheduled run failing silently in an unopened dashboard is monitoring theater. Results must TRAVEL — to the trackers and channels where humans are (A-12) — with IDs attached. (Product note: scheduled re-runs + change alerts are TestGen's roadmap value-pack, not yet in the hosted demo.)

Write your suite's trigger table — five rows, actual layers/projects/alert destination each. Any row you can't fill in is a gap in the PRACTICE, not the tooling.

The machine runs itself now. Next: unit suites — reading and extending a repo's tests.