fix notifications
Build and Publish / Metadata (push) Successful in 10s
Build and Publish / BuildAndDeployAmd64 (push) Failing after 2m16s

This commit is contained in:
mats committed 2026-09-22 08:35:40 +02:00
1 parent e790c02d59
commit a0f558b43c
10 files changed
+277 -7

No files matched your search

+8
View File
@@ -190,6 +190,14 @@ func (t *Tracker) SetStatusStore(ctx context.Context, store StatusStore) error {
return nil
}
// IsIgnored reports whether a person ignored the issue. It also answers for
// issues not yet recreated since a restart, which alerting needs.
func (t *Tracker) IsIgnored(id string) bool {
t.mu.Lock()
defer t.mu.Unlock()
return t.triage[id].Status == StatusIgnored
}
// persistLocked records a decision. The write happens off the lock.
func (t *Tracker) persistLocked(id string, st TriageState) {
if st.Status == StatusOpen {