Skip to content

Schedule fullDataScan weekly via Celery Beat#45

Merged
joefarrelly merged 1 commit into
devfrom
schedule-fulldatascan-weekly
Jun 30, 2026
Merged

Schedule fullDataScan weekly via Celery Beat#45
joefarrelly merged 1 commit into
devfrom
schedule-fulldatascan-weekly

Conversation

@joefarrelly

Copy link
Copy Markdown
Owner

Summary

  • Adds a CELERY_BEAT_SCHEDULE entry for fullDataScan, running weekly (Sunday 03:00 UTC) alongside the existing daily purge_stale_profiles schedule.
  • Admin-triggered /api/custom/datascan/ endpoints (full and per-category) are kept as-is for ad-hoc manual scans.

Test plan

  • pytest tests/ — 33 passed
  • ruff check / ruff format --check — clean
  • Restarted web/beat containers and confirmed settings.CELERY_BEAT_SCHEDULE loads the new crontab entry with BLIZZ_CLIENT/BLIZZ_SECRET populated; beat container starts cleanly with no errors

Runs every Sunday 03:00 UTC alongside the existing daily
purge_stale_profiles schedule. The admin-triggered datascan
endpoints are kept for ad-hoc manual scans.
@joefarrelly joefarrelly enabled auto-merge (squash) June 30, 2026 20:59
@joefarrelly joefarrelly merged commit 5fc5355 into dev Jun 30, 2026
3 checks passed
@joefarrelly joefarrelly deleted the schedule-fulldatascan-weekly branch June 30, 2026 20:59
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

2 participants