Skip to main content

Module workers

Module workers 

Source
Expand description

Background workers for periodic tasks

Modules§

fly_spend_alert
Background worker that flags orgs whose estimated Fly.io compute spend on hosted-mock deployments exceeds 2× their plan price for the current billing period (#450 acceptance criterion 3).
incident_dispatcher
Notification-channel dispatcher (cloud-enablement task #3 / Phase 2).
osv_sync
Background worker that refreshes the osv_vulnerabilities cache.
plugin_scanner
Background worker that drains plugin_security_scans rows in the "pending" state, re-downloads the published WASM artifact, runs a set of integrity + static-analysis checks against it, and persists the result.
runtime_logs_retention
Background worker that prunes runtime_request_logs by plan tier.
runtime_observability_retention
Background worker that prunes runtime_captures and runtime_traces by plan tier.
saml_cleanup
Background worker for cleaning up expired SAML assertion IDs
snapshot_retention
Snapshot retention worker (cloud-enablement task #10 / Phase 2).
test_schedule_runner
Cron-driven test_run trigger (cloud-enablement task #4 / Phase 3).
token_rotation_reminders
Background worker that emails reminders for API tokens older than the rotation threshold.
usage_threshold_checker
Background worker that scans every org’s current-month usage against its effective limits (plan + custom quota) and inserts a usage_alerts row the first time a 75% or 90% band is crossed. Inserts are idempotent on the unique index, so the worker is safe to re-run on any cadence.