generated from coulomb/repo-seed
feat(ACTIVITY-WP-0012): complete live admin-sync no-restart smoke
Ran Railiance01 cluster validation for POST /admin/sync without restarting actcore-worker, added a repeatable smoke script, and closed the workplan.
This commit is contained in:
@@ -4,11 +4,11 @@ type: workplan
|
||||
title: "Definition And Schedule Hot Reload"
|
||||
domain: custodian
|
||||
repo: activity-core
|
||||
status: active
|
||||
status: finished
|
||||
owner: codex
|
||||
topic_slug: custodian
|
||||
created: "2026-06-18"
|
||||
updated: "2026-06-19"
|
||||
updated: "2026-06-22"
|
||||
state_hub_workstream_id: "8887075e-21ec-451b-b82b-cd81035c9ca5"
|
||||
---
|
||||
|
||||
@@ -150,7 +150,7 @@ operator use proves it is needed.
|
||||
|
||||
```task
|
||||
id: ACTIVITY-WP-0012-T05
|
||||
status: wait
|
||||
status: done
|
||||
priority: high
|
||||
state_hub_task_id: "68a0e22a-106a-4d21-9f39-c6279850cb5e"
|
||||
```
|
||||
@@ -166,9 +166,27 @@ Done when non-secret State Hub evidence shows:
|
||||
- event-triggered definitions still fire normally;
|
||||
- rollback or repeat sync is idempotent.
|
||||
|
||||
Current wait reason: this gate depends on the implementation tasks and a
|
||||
cluster-owned smoke path.
|
||||
2026-06-22: Completed on Railiance01 (`KUBECONFIG=~/.kube/config-hosteurope`).
|
||||
|
||||
2026-06-19: Implementation tasks T01-T04 are complete and the repository test
|
||||
suite passed (`192 passed, 1 skipped`). This task is now ready for a
|
||||
Railiance/operator no-restart smoke using `POST /admin/sync`.
|
||||
Smoke target: disabled projection `ops-service-inventory-probes`
|
||||
(`40d15a87-7ff6-4d8e-992c-37df15f95110`) in
|
||||
`actcore-external-activity-definitions`.
|
||||
|
||||
Evidence:
|
||||
|
||||
- ConfigMap flip `enabled: false -> true` and cadence `15 * * * * -> 25 * * * *`,
|
||||
then `POST /admin/sync?definitions=true&schedules=true` from `actcore-api`.
|
||||
- DB after sync: `enabled=true`, `cron=25 * * * *`.
|
||||
- Temporal schedule after sync: `paused=false`, calendar minute `25`.
|
||||
- Repeat sync returned identical schedule counts
|
||||
(`upserted=5`, `paused=1`, `deleted_orphans=0`) — idempotent.
|
||||
- Rollback flip restored `enabled=false`, `cron=15 * * * *`, schedule
|
||||
`paused=true`, calendar minute `15`.
|
||||
- `actcore-worker` pod UID unchanged (`a68d6539-2bba-457e-a78a-39564002a980`,
|
||||
started `2026-06-21T18:46:46Z`); `actcore-event-router` pod UID unchanged.
|
||||
- Event-triggered definitions: none projected on Railiance01 today; hot DB
|
||||
reload path for event definitions remains covered by T03 unit tests and an
|
||||
unchanged event-router deployment.
|
||||
|
||||
Automation: `scripts/smoke_admin_sync_no_restart.py`. Runbook section added
|
||||
under "Railiance01 no-restart smoke".
|
||||
|
||||
Reference in New Issue
Block a user