feat(m9): CLI cached-call retry/discard command group
Adds `cached-call retry` and `cached-call discard` subcommands that relay to the existing Deployer-gated RetryParkedMessageCommand / DiscardParkedMessageCommand via the central SiteCallAuditActor → site relay. ManagementCommandRegistry already covered both types via reflection auto-discovery. CommandTreeTests updated to include cached-call (group count 16 → 17).
This commit is contained in:
@@ -339,6 +339,21 @@ On import, the mapping flags reconcile environment-specific identifiers. `--map-
|
||||
Inbound API keys are not transported between environments — re-create them on the destination via CLI or UI.
|
||||
Bundle commands use a 5-minute timeout.
|
||||
|
||||
### Cached-Call Commands (Site Call Audit #22)
|
||||
|
||||
Retry or discard parked `ExternalSystem.CachedCall` / `Database.CachedWrite` operations
|
||||
at a site. Both commands relay via the central `SiteCallAuditActor` → site relay and
|
||||
require the **Deployer** role (same gate as the Central UI Site Calls page).
|
||||
|
||||
```
|
||||
scadabridge cached-call retry --site-id <identifier> --tracked-operation-id <id>
|
||||
scadabridge cached-call discard --site-id <identifier> --tracked-operation-id <id>
|
||||
```
|
||||
|
||||
The `--tracked-operation-id` value corresponds to the `MessageId` field of the parked
|
||||
`SiteCall` row (visible on the Central UI Site Calls page and in the `SiteCalls` audit
|
||||
table).
|
||||
|
||||
The `--format json|table` option is recursive and accepted on every command above.
|
||||
|
||||
## Configuration
|
||||
|
||||
Reference in New Issue
Block a user