Modern QA2026The Complete Safety Stack — tiles
Log inJoin
77 / 108 · 03 Agentic Testing Architectures · The Dead Man's Switch Pattern← prev⊞ allnext →☰ Read as one page

10.5The Complete Safety Stack

+----------------------------------------------------------+
|  Layer 4: CI Workflow Timeout (60 min)                    |
|  +------------------------------------------------------+|
|  |  Layer 3: CI Job Timeout (15 min)                    ||
|  |  +--------------------------------------------------+||
|  |  |  Layer 2: Per-Test Timeout (300s)                |||
|  |  |  +----------------------------------------------+|||
|  |  |  |  Layer 1: Per-Action Timeout (30s)           ||||
|  |  |  |  +------------------------------------------+||||
|  |  |  |  |  Guardrails: steps, tokens, domains,     |||||
|  |  |  |  |  actions — enforced by the harness       |||||
|  |  |  |  +------------------------------------------+||||
|  |  |  +----------------------------------------------+|||
|  |  +--------------------------------------------------+||
|  +------------------------------------------------------+|
+----------------------------------------------------------+

Each layer catches failures that the inner layer misses:

  • Guardrails catch agent misbehavior (too many steps, wrong domain)
  • Per-action timeout catches hung browser operations
  • Per-test timeout catches stuck agent loops
  • CI job timeout catches harness/process hangs
  • CI workflow timeout catches infrastructure-level failures