RecoveryExpectation
@forge/monorepo / backend/src / RecoveryExpectation
Type Alias: RecoveryExpectation
RecoveryExpectation =
object
Defined in: backend/src/loadtest/injection.ts:27
Properties
mechanism
readonlymechanism:string
Defined in: backend/src/loadtest/injection.ts:48
The mechanism that does the recovering, named so a runbook can point at it.
noDataLoss
readonlynoDataLoss:boolean
Defined in: backend/src/loadtest/injection.ts:36
No lost work: every admitted run reaches a terminal state.
false only where losing work is the correct behaviour, which is nowhere in this list — a refused
admission is not admitted work.
noDuplicateExternalAction
readonlynoDuplicateExternalAction:boolean
Defined in: backend/src/loadtest/injection.ts:44
No duplicated external action.
The assertion that actually matters, and the one a load test is uniquely able to make: a retry after a worker kill must not publish the post twice. Measured by counting effects against distinct idempotency keys, not by inspecting logs.
observableSymptom
readonlyobservableSymptom:string
Defined in: backend/src/loadtest/injection.ts:46
What the operator sees while it is happening. Goes straight into the runbook.
recoversUnattended
readonlyrecoversUnattended:boolean
Defined in: backend/src/loadtest/injection.ts:29
Work must reach a terminal state, eventually, without a human touching it.