Versions in this module Expand all Collapse all v0 v0.44.0 Apr 18, 2026 v0.43.0 Mar 24, 2026 v0.42.2 Mar 21, 2026 v0.42.1 Mar 21, 2026 v0.42.0 Mar 10, 2026 v0.41.0 Mar 1, 2026 v0.40.0 Feb 28, 2026 v0.39.0 Feb 27, 2026 v0.38.0 Feb 19, 2026 v0.37.0 Feb 15, 2026 v0.36.0 Feb 14, 2026 v0.35.0 Feb 14, 2026 v0.34.0 Feb 11, 2026 v0.33.0 Feb 10, 2026 v0.32.0 Feb 9, 2026 v0.31.0 Feb 7, 2026 v0.30.0 Feb 6, 2026 Changes in this version + func ExtractIssueID(output string) string + type ActionDef struct + Exec func(engine *ChaosEngine, actor string) ActionResult + Name string + Weight int + func SelectAction(rng *rand.Rand) ActionDef + type ActionResult struct + Action string + Actor string + ExpFail bool + OK bool + Output string + Skipped bool + Target string + type ActionStats struct + ExpFail int + OK int + UnexpFail int + type ChaosEngine struct + ActiveWS map[string]string + Boards []string + DepPairs map[string]bool + Harness *Harness + IssueFiles map[string]string + IssueOrder []string + Issues map[string]*IssueState + NumActors int + ParentChild map[string]string + Rng *rand.Rand + Stats ChaosStats + WSTagged map[string]map[string]bool + func NewChaosEngine(h *Harness, seed int64, numActors int) *ChaosEngine + func (e *ChaosEngine) RunAction() ActionResult + func (e *ChaosEngine) RunN(n int) []ActionResult + func (e *ChaosEngine) Summary() string + func (e *ChaosEngine) TrackCreatedIssue(id, status, owner string) + type ChaosReport struct + Actions int + Actors int + Duration int64 + Pass bool + PerAction map[string]ReportActionStats + Results ReportResults + Seed int64 + SyncStats ReportSyncStats + Verifications []ReportVerification + func BuildReport(seed int64, eng *ChaosEngine, v *Verifier, elapsed time.Duration) ChaosReport + type ChaosStats struct + ActionCount int + BurstActions int + BurstCount int + DeleteMutate int + EdgeDataUsed int + ExpectedFailures int + FieldCollisions int + PerAction map[string]*ActionStats + Skipped int + SyncCount int + UnexpectedFailures int + type Config struct + AutoSync bool + Debounce string + Interval string + NumActors int + func DefaultConfig() Config + type Harness struct + ProjectID string + ServerURL string + SyncBin string + TdBin string + WorkDir string + func Setup(t *testing.T, cfg Config) *Harness + func (h *Harness) ClientDir(actor string) string + func (h *Harness) DBPath(actor string) string + func (h *Harness) HomeDir(actor string) string + func (h *Harness) ServerLogContents() string + func (h *Harness) SetServerEnv(envs ...string) + func (h *Harness) StartServer() error + func (h *Harness) StopServer() error + func (h *Harness) SyncAll() error + func (h *Harness) Td(actor string, args ...string) (string, error) + func (h *Harness) TdA(args ...string) (string, error) + func (h *Harness) TdB(args ...string) (string, error) + func (h *Harness) TdC(args ...string) (string, error) + func (h *Harness) Teardown() + type HistorySummary struct + AvgDuration time.Duration + ByAction map[string]int + ByActor map[string]int + ByResult map[string]int + MaxDuration time.Duration + TotalDuration time.Duration + TotalOps int + UniqueIssues int + type IssueState struct + Deleted bool + ID string + Minor bool + Owner string + Status string + type OperationHistory struct + func NewOperationHistory() *OperationHistory + func (h *OperationHistory) Filter(fn func(OperationRecord) bool) []OperationRecord + func (h *OperationHistory) ForActor(actor string) []OperationRecord + func (h *OperationHistory) ForIssue(issueID string) []OperationRecord + func (h *OperationHistory) Len() int + func (h *OperationHistory) Record(rec OperationRecord) + func (h *OperationHistory) Records() []OperationRecord + func (h *OperationHistory) Summary() HistorySummary + func (h *OperationHistory) WriteJSON(path string) error + func (h *OperationHistory) WriteReport(w io.Writer) + type OperationRecord struct + Action string + Actor string + Args []string + Duration time.Duration + Error string + Output string + Result string + Seq int + TargetID string + Timestamp time.Time + type ReportActionStats struct + ExpFail int + OK int + UnexpFail int + type ReportResults struct + ExpFail int + OK int + Skipped int + Total int + UnexpFail int + type ReportSyncStats struct + Count int + type ReportVerification struct + Details string + Name string + Passed bool + type Verifier struct + func NewVerifier(h *Harness) *Verifier + func (v *Verifier) AllPassed() bool + func (v *Verifier) FailedResults() []VerifyResult + func (v *Verifier) Results() []VerifyResult + func (v *Verifier) Summary() string + func (v *Verifier) VerifyActionLogConvergence(actorA, actorB string) []VerifyResult + func (v *Verifier) VerifyCausalOrdering(actor string) []VerifyResult + func (v *Verifier) VerifyConvergence(actorA, actorB string) []VerifyResult + func (v *Verifier) VerifyEventCounts(actorA, actorB string) []VerifyResult + func (v *Verifier) VerifyFieldLevelMerge(actorA, actorB string) []VerifyResult + func (v *Verifier) VerifyIdempotency(rounds int) []VerifyResult + func (v *Verifier) VerifyMonotonicSequence(actor string) []VerifyResult + func (v *Verifier) VerifyReadYourWrites(engine *ChaosEngine) []VerifyResult + type VerifyResult struct + Details string + Name string + Passed bool + func ScenarioBurstNoSync(h *Harness, rng *rand.Rand) []VerifyResult + func ScenarioCascadeConflict(h *Harness) []VerifyResult + func ScenarioDependencyCycle(h *Harness) []VerifyResult + func ScenarioMultiFieldCollision(h *Harness) []VerifyResult + func ScenarioPartitionRecovery(h *Harness, rng *rand.Rand) []VerifyResult + func ScenarioRapidCreateDelete(h *Harness) []VerifyResult + func ScenarioServerRestart(h *Harness) []VerifyResult + func ScenarioThunderingHerd(h *Harness) []VerifyResult + func ScenarioUndoSync(h *Harness) []VerifyResult