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
Status: Completed ✅
## Change Request
**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
- [x] `finalizeTaskRun()` handles both `once` and `recurring` task types
- [x] Deployment logs clean
### Rollback
```
git revert 90f826f && git push && railway up --detach
```
**Status:** Completed ✅
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Change Request
Type: Server Deploy · Risk: Low
Service: push-backend (Railway)
Date: 2026-05-05
Commit: 90f826f
Description
Added
TASKS_ENABLEDenv var. Whenfalse, due tasks callfinalizeTaskRun()(advancesnext_runwithout executing) so re-enabling does not burst all overdue tasks at once.Self-Review Checklist
finalizeTaskRun()handles bothonceandrecurringtask typesRollback
Status: Completed ✅