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.
This commit is contained in:
2026-06-21 20:28:04 +02:00
parent 2b0c05ea4c
commit acc5bea15b

View File

@@ -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`