Examples Search docs

What not to do

Anti-patternDo instead
Hand-written long-lived mocksContract examples / effect harness mocks
COUNT(*) as stream revisionStream head revision
Multi-writer shared SQLite over NFS as “HA”Single-owner partitions; add partitions to scale
Retry policy.Decided denials “to be resilient”Fix policy or satisfy obligations
Retry STALE_FENCE as OCCRe-acquire lease; new fence
Live cloud E2E in every PRContract + local Camp + rehearsal
Broad full-repo test sweeps for discoverySearch first; narrow package tests
Wall-clock sleeps in pure domain testsVirtual Clock
Assert process memory for auditReplay events
Put LLM tokens in EventStoreStreamer
Bare .hobo hosts in fixtures.hobo.localhost / .hobo.test
Invent parallel progressive plane beside HarnessUse Harness + Trails
Pool free-tier headroom across tenants in tests that claim “prod realism”Model per-tenant isolation

Testing overview · Errors · Security