Repository navigation
Expand file tree
/
Copy pathalert-rules.json
More file actions
164 lines (164 loc) · 5.53 KB
/
Copy pathalert-rules.json
File metadata and controls
164 lines (164 loc) · 5.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"schema_version": 1,
"current_nightly_tracks": {
"llamacpp-nightly-qualification": "latest"
},
"incident_labels": {
"llamacpp-stable-qualification": "engine:llamacpp",
"llamacpp-nightly-qualification": "engine:llamacpp",
"llamacpp-upstream": "engine:llamacpp",
"vllm-upstream": "engine:vllm",
"whispercpp-upstream": "engine:whisper",
"sdcpp-upstream": "engine:stable-diffusion",
"pytorch-upstream": "project:pytorch",
"unsloth-upstream": "project:unsloth"
},
"rules": [
{
"id": "producer-results",
"version": 6,
"kind": "result",
"enabled": true,
"match": {},
"recovery_states": ["pass", "warn", "fail"],
"expected_status": "pass",
"outcomes": [
{
"anomaly": "producer_failure",
"status": "fail",
"failed_steps": ["Test", "Tests"],
"responses": {
"active": {
"classification": "unexplained",
"summary": "Job failed; cause unknown.",
"explanation": "The job failed without a recorded cause. Review the linked logs to determine why."
},
"with_details": {
"classification": "explained_abnormal",
"summary": "Job failed: {details}.",
"explanation": "Job failed: {details}."
},
"with_failed_step": {
"classification": "explained_abnormal",
"summary": "Some tests in the job have failed.",
"explanation": "Some tests in the job have failed."
},
"recovered": {
"classification": "expected",
"summary": "Producer failure not present",
"explanation": "Latest result: {status}."
},
"suppressed": {
"classification": "expected",
"summary": "Producer failure not monitored",
"explanation": "{exception}"
}
}
},
{
"anomaly": "producer_warning",
"status": "warn",
"responses": {
"active": {
"classification": "unexplained",
"summary": "Warning reported; cause unknown.",
"explanation": "A warning was recorded without a cause. Review the linked qualification report."
},
"with_details": {
"classification": "explained_abnormal",
"summary": "Warning reported: {details}.",
"explanation": "Warning reported: {details}."
},
"recovered": {
"classification": "expected",
"summary": "Producer warning not present",
"explanation": "Latest result: {status}."
},
"suppressed": {
"classification": "expected",
"summary": "Producer warning not monitored",
"explanation": "{exception}"
}
}
},
{
"anomaly": "producer_cancelled",
"status": "cancelled",
"responses": {
"active": {
"classification": "explained_abnormal",
"summary": "Producer cancelled",
"explanation": "Build job cancelled."
},
"with_details": {
"classification": "explained_abnormal",
"summary": "Producer cancelled",
"explanation": "Build job cancelled."
},
"recovered": {
"classification": "expected",
"summary": "Producer cancelled not present",
"explanation": "Latest result: {status}."
},
"suppressed": {
"classification": "expected",
"summary": "Producer cancelled not monitored",
"explanation": "{exception}"
}
}
}
],
"skip": {
"status": "skip",
"anomaly": "skipped_result",
"dependency_anomaly": "producer_failure",
"expected_status": "pass or verified permitted skip",
"responses": {
"permitted": {
"classification": "expected",
"summary": "Permitted skip",
"explanation": "{reason}"
},
"dependency": {
"classification": "explained_abnormal",
"summary": "Dependency skip",
"explanation": "A required job failed."
},
"unexplained": {
"classification": "unexplained",
"summary": "Job skipped; cause unknown.",
"explanation": "The job was skipped without a verified condition or failed prerequisite explaining it. Inspect the workflow and linked run."
},
"recovered": {
"classification": "expected",
"summary": "Skipped result not present",
"explanation": "Latest result: {status}."
}
}
}
},
{
"id": "unsloth-pass-rate",
"version": 1,
"kind": "pass_rate",
"enabled": true,
"match": {"source_id": "unsloth-upstream"},
"threshold_percent": 80,
"window_days": 30,
"minimum_samples": 1
},
{
"id": "current-nightly-evidence",
"version": 4,
"kind": "missing",
"enabled": true,
"match": {"source_id": "llamacpp-nightly-qualification", "channel": "nightly"},
"max_age_hours": 48,
"grace_hours": 0,
"older_track_response": {
"summary": "Monitoring paused",
"explanation": "Nightly monitoring has moved from ROCm {track} to ROCm {current_track}."
}
}
]
}