Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions .github/workflows/onboarding-reminders.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
name: Onboarding reminders cron

# Pings the cloud backend every hour. The endpoint
# (`/api/cron/onboarding-reminders`) is idempotent — re-running within
# a window won't double-send because per-user counters, flags and timing
# Calls the cloud backend's onboarding endpoint
# (`/api/cron/onboarding-reminders`). The endpoint is idempotent: re-running
# within a window won't double-send because per-user counters, flags and timing
# checks are persisted.
#
# Hourly because the first nudge goes out an hour after sign-up, to people
# whose workspace is still empty (how to connect an app from the chat or the
# dashboard). The other passes (trial lifecycle, win-back, licence
# re-verification, release of deleted workspaces' licences) are gated by their
# own windows and flags, so running them more often sends nothing twice.
# Cloud runs it every hour from a systemd timer on the droplet
# (anythingmcp-onboarding-cron.timer). This workflow is only a manual fallback
# (Actions → Run workflow), for example while the droplet timer is down. Its
# hourly schedule was removed in Nov 2026: with the timer, every pass ran twice
# and examined ~11k users twice for nothing.

on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
inputs:
target_url:
Expand Down
Loading