Skip to main content

InjectionResult

@forge/monorepo


@forge/monorepo / backend/src / InjectionResult

Type Alias: InjectionResult

InjectionResult = object

Defined in: backend/src/loadtest/injection.ts:170

Properties

admitted

readonly admitted: number

Defined in: backend/src/loadtest/injection.ts:174

Every admitted run reached a terminal state.


distinctEffectKeys

readonly distinctEffectKeys: number

Defined in: backend/src/loadtest/injection.ts:178


externalEffects

readonly externalEffects: number

Defined in: backend/src/loadtest/injection.ts:177

External effects performed, and the distinct idempotency keys they were performed under.


injected

readonly injected: boolean

Defined in: backend/src/loadtest/injection.ts:172


manualInterventions

readonly manualInterventions: number

Defined in: backend/src/loadtest/injection.ts:189

How many runs a human had to touch.

Non-zero means recovery was not unattended, whatever else went right. Added because the database-unavailable injection passed with a green tick while every one of its forty runs had been re-driven by the harness itself — no work was lost and nothing was duplicated, both true, and "recovers unattended" was not demonstrated at all. A verdict that cannot tell those apart is the kind of green tick this whole exercise exists to stop.


mode

readonly mode: FailureMode

Defined in: backend/src/loadtest/injection.ts:171


notes

readonly notes: readonly string[]

Defined in: backend/src/loadtest/injection.ts:190


recoveredMs

readonly recoveredMs: number

Defined in: backend/src/loadtest/injection.ts:179


terminal

readonly terminal: number

Defined in: backend/src/loadtest/injection.ts:175