Repository navigation
Description
Measured while gathering evidence for #783. All three alert tables in the shared
infra account are empty:
spawn-alerts Count=0
spawn-alert-history Count=0
spawn-alert-preferences Count=0
That is a stronger statement than "the alert handler is not deployed" (#783),
and it covers the half that is deployed.
spawn-alert-evaluator is live and has nothing to do
spawn-alert-evaluator-hourly ENABLED rate(1 hour)
spawn-alert-evaluator LastModified 2026-02-20T01:47:45Z
last log event 2026-10-10T23:48:27Z (48 minutes ago)
It has been invoked hourly for 232 days — roughly 5,500 invocations — reading
spawn-alert-preferences, which has never held a record. The table is written
only by lambda/dashboard-api, so a user would have to configure alerts through
the dashboard UI; nobody has.
This is the same shape as #772, where spawn-autoscale-orchestrator-staging
polled every minute from February against an empty spawn-autoscale-groups-staging.
That one was disabled. The cost is negligible in dollars; the cost is that a
scheduled function nobody reads the output of is indistinguishable from one doing
useful work, and it is one more thing nothing reaps (#653).
Why this matters for #783
#783 frames the decision as "deploy alert-handler or remove it". The
zero-record measurement reframes it: there is no user to break either way,
and the project already has a second, differently-modelled alerting path that is
deployed and equally unused.
Two parallel alerting systems with different tables, neither with a user, is the
actual finding. Converging on one — or on none — is a cheaper decision than it
looked, and should be made for both halves together rather than for
alert-handler alone.
Suggested
- Decide the subsystem as a whole, not per-artifact. Two stranded artifacts: self-hosted-stack.yaml (354 lines, deployed nowhere) and lambda/alert-handler (builds in CI, runs nowhere) #783 for
alert-handler
and thespawn alertsCLI; this issue foralert-evaluatorand the
dashboard preference path. - If alerting is kept in any form, it needs one data model, and the
scheduled half should disable itself or report when it has had nothing to do
for N days — the same treatment the reaper got in feat(reaper): report an idle reaper, and allow scheduled self-removal #787. - If it is withdrawn, the three empty tables and the evaluator's rule, role and
log group go with it. That is control-plane reaping, which nothing does
today (Leave no trace: nothing reaps the control plane — the lambdas, their roles/rules/alarms, or the buckets spawn auto-creates #653).
Every figure above is from the live account on 2026-10-10 and is re-measurable
with spawn footprint plus the two CLI calls quoted.
Activity
remove: the spawn alerts path and the stranded self-hosted stack (#783)…
remove: alert-evaluator and the dashboard's alert-preferences endpoin…