feat(sla): at-risk + breach notifications via sweep worker (PMS-106) #80
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pms-106-sla-notify"
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?
Follow-up to the SLA clock engine. SlaService::with_dispatcher + SlaSweepWorker (60s) detects at-risk (now >= due - 20% window) and breach (now >= due) on open tickets, dispatches sla.at_risk/sla.breached to the assignee, deduped via a new sla_notifications ledger. Migration 027 adds the ledger + seeds in_app rules/templates (also copied to new tenants). tests/sla_notify.rs green (enqueue + dedupe) + lead-bound unit tests. clippy -D clean.