Tasks
Tasks

Daily Triage

Read the log, check invariants, self-correct the allow-list, report the rest.

Runs the same logic as scripts/daily_triage.py. Findings are emitted as structured log lines at ERROR/WARNING so the log-based alert policy picks them up and mails the Ops channel — no separate email path, which matters because notification_service's PAYMENT_FAILED handler is stubbed and send_welcome has never had a caller (NOTIF-1/EMAIL-1/2).

Self-correction is limited to two idempotent, reversible actions and every correction is re-verified; anything still failing escalates rather than retries.

post/api/tasks/daily-triage

Query parameters

dry_runboolean

Headers

x-cloudscheduler-secretstring nullable
x-scheduler-secretstring nullable
authorizationstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/tasks/daily-triage:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.