Skip to content

Add background job retry and monitoring API#926

Open
alceops wants to merge 1 commit intorohitdash08:mainfrom
alceops:alceops/job-retry-monitoring
Open

Add background job retry and monitoring API#926
alceops wants to merge 1 commit intorohitdash08:mainfrom
alceops:alceops/job-retry-monitoring

Conversation

@alceops
Copy link
Copy Markdown

@alceops alceops commented Apr 24, 2026

Summary

  • adds a durable background_jobs table/model for async work tracking
  • adds /jobs APIs to enqueue/list/inspect jobs and /jobs/run to execute due jobs
  • implements bounded retry with exponential backoff, status/error monitoring, and a send_reminder job handler
  • adds Redis-unavailable fallbacks for auth/session/cache paths so tests and dev runs stay resilient when Redis is down
  • documents the retry-monitoring flow

Tests

  • PYTHONPATH=. ../../.venv/bin/pytest tests (24 passed, 54 warnings)

Closes #130

@alceops alceops requested a review from rohitdash08 as a code owner April 24, 2026 09:39
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.

Resilient background job retry & monitoring

1 participant