FluxyChat

Operations

Observability & scheduled jobs

Default alert rules, cron schedules, workflow toggles, and health checks for self-hosted FluxyChat operators.

Observability & scheduled jobs

Default alert rules

New projects receive seeded operational alert rules via insertNewProjectseedDefaultAlertRules.

Console: Analytics → alerts list; open alerts also surface in the red System status banner (owner/admin JWT).

Cron / workflows default

ModeWORKFLOW_SCHEDULES_ENABLEDWhat runs
Production default (repo)falseWorker [triggers] crons in wrangler.toml
Workflows (optional)trueFluxyScheduledWorkflow bindings; Worker scheduled is a no-op

Crons when enabled (either path):

ScheduleJob
0 8 * * *Daily AI digest
*/15 * * * *Quiet-hours notification batch
0 3 * * *Data retention purge
*/5 * * * *Pending webhook delivery flush

Local dev

In apps/worker/.dev.vars:

WORKFLOW_SCHEDULES_ENABLED=false

Uses Worker cron from wrangler.toml [triggers] during wrangler dev.

Manual trigger (owner/admin JWT):

POST /admin/scheduled/run
Content-Type: application/json

{ "cron": "0 8 * * *" }

Allowed values: 0 8 * * *, */15 * * * *, 0 3 * * *, */5 * * * *.

See Scheduled workflows for the Workflows setup.

Health & smoke

  • Public: dashboard /status → Worker /health
  • Operator: pnpm --filter @fluxy-chat/worker smoke:remote -- --base-url <worker-url> --admin-jwt <token>

On this page