Skip to content

Stop sending automatic task waiting notifications - #180

Merged
danielmaier42 merged 2 commits into
mainfrom
hotfix/remove-waiting-notifications
Nov 14, 2026
Merged

danielmaier42 merged 2 commits into
mainfrom
hotfix/remove-waiting-notifications

Conversation

@danielmaier42

Copy link
Copy Markdown
Owner

Tasks held in the queue currently send a separate "is waiting" notification after 30 minutes, or after a day for backfill work. One exclusive run can therefore produce a burst of alerts for every job behind it.

Remove automatic waiting notifications for all users and notification channels, including the Notifications inbox. Keep the Queue's current reason and original wait timestamp, long-wait diagnostic logging, and scheduling behavior. Failure, recovery, provider and explicit job notifications retain their existing behavior. Remove notification-only wait episode tracking and update the README.

Validation:

  • Go 1.26.5: build, vet, golangci-lint and full race suite pass.
  • Regression covers regular and backfill waits beyond 72 hours: no channel notifications or inbox entries, with Queue holds and diagnostic logs retained. Both cases fail against the original production code and pass with the fix.
  • Disposable compiled daemon and CLI exercise: /api/tasks retains wait reason and timestamp, /api/notifications stays empty. No installed app or live jobs changed by this PR.
  • Self-reviewed; no website or shared-interface change needed.

@danielmaier42
danielmaier42 merged commit 0445ed9 into main Nov 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant