protocol/testing/toxics
packages/protocol/src/testing/toxics
Purpose
Public barrel for Toxiproxy toxic profiles and control helpers.Public surface
allToxicTags
Variable
defaultToxicProfile
Variable
deliveryInvariantFor
Function
DeliveryInvariantName
TypeAlias
conformance/task/{fan-out-cardinality,store-and-replay, payload-opacity,task-boundary-isolation}.ts).
makeToxiproxyClient
Function
ToxicControlError
Class
ToxicHandle
Interface
ToxicHandle inside Effect.scoped so a crashed property still cleans
up.
ToxicProfile
TypeAlias
ToxicProfile is a named
preset (one of the six toxics) plus its parameters; the Tier D runner
picks the matching Tier C invariant and re-runs it with the toxic
attached.
Exhaustiveness: the _tag union covers every toxic named in §5 Tier D
(D1–D6) so the implementer cannot forget a branch in the client dispatch.
ToxicTag
TypeAlias
ToxiproxyClient
Interface
ToxiproxyConfig
Interface
ToxiproxyProxy
Interface
Files
client.tsdefaults.tserrors.tsprofile.ts