admin opened issue admin/1ai-ops#4

admin
2026-05-06T00:53:25Z

4#[CR-004] Server — TASKS_ENABLED kill switch (no notification storm on resume)#

Type: Server Deploy · Risk: Low
Service: push-backend (Railway)
Date: 2026-05-05
Commit: 90f826f

Description

Added TASKS_ENABLED env var. When false, due tasks call finalizeTaskRun() (advances next_run without executing) so re-enabling does not burst all overdue tasks at once.

Self-Review Checklist

finalizeTaskRun() handles both once and recurring task types

Deployment logs clean

Rollback

git revert 90f826f && git push && railway up --detach