From acc5bea15bf94febb9435cdfa1d94c1a8afbd0b3 Mon Sep 17 00:00:00 2001 From: tegwick Date: Sun, 21 Jun 2026 20:28:04 +0200 Subject: [PATCH] docs: fix schedule sync commands in consistency sweep runbook Replace nonexistent make sync-schedules with admin/sync and the activity_core.sync_schedules CLI documented in activity-core runbook. --- docs/consistency-sweep-runbook.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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`