rouse-context/work
Jason Monk 1a12fd12ac
Fix #429: Suppress security-check re-notifications for ongoing warning streak (#430)
Once a Warning streak crossed the 3-run notification threshold (#256), the
SecurityCheckWorker fired a fresh notification every scheduled interval as
long as the streak persisted, because nothing tracked "we already told
the user". User report: crt.sh has been flaky and the phone has been
posting 502 notifications every interval for hours.

Fix: per-source `notifiedForStreak` flag set on first notification past
threshold, cleared when the streak resets via Verified or Skipped (same
hook as the existing streak counter reset). Subsequent Warning runs in
the same streak log silently.

If the streak breaks (a Verified or Skipped result lands) and a new
3-run streak builds, the next notification fires normally.

Tests:
- `continued warning past threshold does not re-notify until streak breaks`
- `verified after notified streak resets state and next streak fires again`
2026-04-27 11:47:16 -04:00
..
src Fix #429: Suppress security-check re-notifications for ongoing warning streak (#430) 2026-04-27 11:47:16 -04:00
build.gradle.kts Fix #233: Wire up Firebase Crashlytics for release builds (#261) 2026-04-18 21:46:22 -04:00