Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions internal/integration/doc.go

This file was deleted.

17 changes: 0 additions & 17 deletions module/pkg/patterns/doc.go

This file was deleted.

14 changes: 14 additions & 0 deletions module/pkg/patterns/verdict.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
// SPDX-License-Identifier: Apache-2.0

// Package patterns implements tracecore's failure-pattern detectors.
//
// Each detector consumes typed records (today: Kubernetes Event
// Records and NodeRecords, sourced via upstream OTel
// k8sobjectsreceiver per RFC-0013 PR-J; M17/M18 will add NCCL
// FlightRecorder, kernel events via journaldreceiver, Kineto, py-spy)
// and emits a Verdict naming the pattern, the implicated rank/node,
// an ordered evidence trail, and a remediation hint.
//
// The package shape is deliberately minimal at v0 — three concrete
// types (Verdict, EvidenceRef, Confidence) plus one detector
// (PodEvicted, pattern #14). The generic Detector interface is
// deferred until a second detector lands; per PRINCIPLES §3 we wait
// for the rule of three before extracting an abstraction.
package patterns

import "time"
Expand Down
17 changes: 0 additions & 17 deletions module/processor/patterndetectorprocessor/doc.go

This file was deleted.

42 changes: 0 additions & 42 deletions module/processor/patterndetectorprocessor/factory.go

This file was deleted.

4 changes: 2 additions & 2 deletions module/processor/patterndetectorprocessor/hbm_ecc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,11 @@ func extractHBMECCVerdicts(t *testing.T, ld plog.Logs) []patterns.HBMECCVerdict
}
for k := 0; k < sl.LogRecords().Len(); k++ {
lr := sl.LogRecords().At(k)
patternID, ok := lr.Attributes().Get(VerdictAttrPatternID)
patternID, ok := lr.Attributes().Get(verdictAttrPatternID)
if !ok || patternID.AsString() != patterns.PatternIDHBMECC {
continue
}
js, ok := lr.Attributes().Get(VerdictAttrVerdictJSON)
js, ok := lr.Attributes().Get(verdictAttrVerdictJSON)
if !ok {
continue
}
Expand Down
4 changes: 2 additions & 2 deletions module/processor/patterndetectorprocessor/nccl_hang_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@ func extractNCCLHangVerdicts(t *testing.T, ld plog.Logs) []patterns.NCCLHangVerd
}
for k := 0; k < sl.LogRecords().Len(); k++ {
lr := sl.LogRecords().At(k)
patternID, ok := lr.Attributes().Get(VerdictAttrPatternID)
patternID, ok := lr.Attributes().Get(verdictAttrPatternID)
if !ok || patternID.AsString() != patterns.PatternIDNCCLHang {
continue
}
js, ok := lr.Attributes().Get(VerdictAttrVerdictJSON)
js, ok := lr.Attributes().Get(verdictAttrVerdictJSON)
if !ok {
continue
}
Expand Down
Loading
Loading