Abort Criteria and Kill Switch
Define in advance the exact observations that mean stop testing now, and prepare the action that stops it, so aborting is a rehearsed move rather than a decision made under pressure
Use when: the test can produce side effects, touch shared systems or run long enough for conditions to change
Avoid when: the proof is a single read-only request executed in one shot
Procedure
- List observable conditions that require an immediate stop: error spikes, alerts, user-visible impact or scope drift.
- Write each condition as a checkable statement with the signal you would actually see.
- Prepare the stop action itself: the command, the toggle, the request that halts the test cleanly.
- Verify the stop action works before the test starts, because an untested kill switch is a hope.
- Put the abort criteria where you will see them mid-test, not buried in the plan document.
- Run the test only while you can act on an abort within a stated reaction time.
Signals
- The plan lists success conditions but no stop conditions, which means nothing tells you when to halt.
- The kill switch has never been exercised, so its behavior during an incident is unknown.
- Alerts during the test would arrive somewhere you are not watching.
- Conditions changed since planning, and the original abort criteria no longer match reality.
Patterns
1. Abort list
stop=error-rate-spike stop=user-complaint stop=scope-drift stop=blast-budget-exceeded reaction=immediate
2. Kill line
action=cancel-running-job verified=2026-10-27 verified-by=dry-run time-to-stop=3s owner=you
3. Watch rule
monitor=alerts-channel during-test=yes reaction-time=1-minute unattended-test=forbidden
Pitfalls
- Writing abort criteria nobody reviews while the test is running.
- Assuming a kill switch works because it existed in the design, not because you pressed it.
- Setting conditions so vague that any observation can be argued either way.
- Running unattended, which makes every abort criterion theoretical.
Done when
- Every stop condition is written as a checkable observation with the signal named.
- The kill switch has been verified before the test, and its verification is recorded.
- The test runs only while someone can react within the stated time.