v1.0.2 — Alert correctness & integrity #92
No reviewers
Labels
No labels
area:ai
area:ci-cd
area:notifications
area:observability
area:public-pages
backlog
bug
duplicate
enhancement
help wanted
invalid
question
type:decision
type:feature
type:infra
type:maintenance
type:security
v1.0.1
v1.1.0
v1.2.0
v1.3.0
v2.0.0
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rbrooks/WeatherBot!92
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/v1.0.2-alert-correctness"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Patch release fixing the highest-severity alert-pipeline defects from the 2026-07-17 codebase audit. Bug fixes only, no new features.
Fixes
Noneon failure; the poll cycle is skipped (no clearing/dispatch). Mass-clear gated on non-empty locations; alerts with noends/expiresget a synthetic 6h expiry./alerts/activepagination now followed (bounded to 10 pages, logged) so large outbreaks aren't truncated to page one and then cleared as "disappeared".AREAS AFFECTEDline instead of the whole narrative, so "in"/"or" no longer match Indiana/Oregon.sent_alertshistory (DBSET NULL) instead of cascade-deleting it.Testing
Full suite green on the dev server (Postgres-deps venv, all channels installed): 344 passed, including 27 new regression tests across the five fix areas — false-all-clear injection, pagination, cross-day SPC, MCD collision words, same-risk reissuance, channel-delete history, public-page backfill, per-channel link-failure injection, and malformed-feature skip.
Notes
signalwas added for full six-channel parity.sent_alertshistory test asserts the ORM no longer cascade-deletes; the DB-levelSET NULLsemantics are authoritative on Postgres (SQLite test tier doesn't enforce FKs).Closes #40, #41, #42, #43, #44, #48, #49, #54, #62
🤖 Generated with Claude Code