Documentation ¶ Index ¶ type Result func Analyze(run *model.Run) *Result Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Result ¶ type Result struct { FirstFailure string BlockedServices []string // Priority maps service name → rank (0 = first causal failure). Priority map[string]int Chain []string } Result is the first causal failure and downstream blocked services. func Analyze ¶ func Analyze(run *model.Run) *Result Analyze selects the earliest root failure in the dependency graph and computes services blocked behind it. Returns nil when nothing failed. Source Files ¶ View all Source files causal.go Click to show internal directories. Click to hide internal directories.