feat(go): persist Python-compatible incidents

This commit is contained in:
Luna 2026-07-22 01:59:49 -07:00
parent f85c2e831a
commit 538d1d954a
No known key found for this signature in database
13 changed files with 555 additions and 46 deletions

View file

@ -241,6 +241,11 @@ func run() error {
if err != nil {
return err
}
if err := snapshotStore.ConfigureIncidents(
cfg.IncidentTracking, cfg.IncidentWindow, cfg.IncidentLineageDepth,
); err != nil {
return err
}
}
notifier := sdnotify.FromEnvironment()
if err := notifier.Notify("READY=1\nSTATUS=initialization complete; poll loop ready"); err != nil {