diff --git a/docs/consistency-sweep-runbook.md b/docs/consistency-sweep-runbook.md index f7974e0..6b20686 100644 --- a/docs/consistency-sweep-runbook.md +++ b/docs/consistency-sweep-runbook.md @@ -36,9 +36,21 @@ Temporal schedule exists: ```bash cd ~/activity-core ACTIVITY_DEFINITION_DIRS=/home/worsch/the-custodian make sync-activity-definitions -make sync-schedules ``` +Reconcile Temporal schedules (pick one): + +```bash +# Preferred when activity-core API is up (no worker restart) +curl -s -X POST 'http://localhost:8010/admin/sync?definitions=true&schedules=true' + +# CLI fallback +ACTCORE_DB_URL=... TEMPORAL_HOST=... uv run python -m activity_core.sync_schedules +``` + +On Railiance01, use the in-cluster activity-core API URL and env from the +deployment instead of `localhost:8010`. + Expected definition: - name: `State Hub Consistency Sweep`