File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ impl DiagnosisEngine for PowerShelfDiagnosis {
5757
5858 fn analyze_open_case (
5959 & mut self ,
60- sitrep : & mut SitrepBuilder < ' _ > ,
60+ _sitrep : & mut SitrepBuilder < ' _ > ,
6161 case : & mut CaseBuilder ,
6262 ) -> anyhow:: Result < ( ) > {
6363 slog:: debug!(
@@ -267,8 +267,24 @@ impl DiagnosisEngine for PowerShelfDiagnosis {
267267 Ok ( ( ) )
268268 }
269269
270- fn finish ( & mut self , sitrep : & mut SitrepBuilder < ' _ > ) -> anyhow:: Result < ( ) > {
271- todo ! ( )
270+ fn finish (
271+ & mut self ,
272+ _sitrep : & mut SitrepBuilder < ' _ > ,
273+ ) -> anyhow:: Result < ( ) > {
274+
275+ // TODO:
276+ //
277+ // - scan all of our tracked cases (newly opened and inherited from
278+ // the parent sitrep)
279+ // - debouncing
280+ // - determine whether undiagnosed cases can now be diagnosed
281+ // - determine whether those cases have been resolved (looking at
282+ // any newly-added ereports, and inventory data/health endpoint
283+ // observations)
284+ // - determine what Active Problems should be requested, updated,
285+ // and closed
286+ // - determine what alerts should be requested
287+ Ok ( ( ) )
272288 }
273289}
274290
You can’t perform that action at this time.
0 commit comments