apphost.addon.restart
Restart Buzz relay, Redis, and MinIO on a claimed AppHost site. MinIO attachments and relay git survive on PVCs. Redis emptyDir and git pack cache may reset. No kubeconfig.
Rollout-restart the Buzz addon Deployments on a claimed site.
Overview
| Property | Value |
|---|---|
| Workflow type | Dag |
| Library | App-apphost |
| Version | 1.0 |
Input Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
site_uuid | uuid | Yes | — | — |
addon | string | No | buzz | — |
Output Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
site_uuid | uuid | No | — | — |
addon | string | No | — | — |
resolve | json | No | — | — |
relay | json | No | — | — |
redis | json | No | — | — |
minio | json | No | — | — |
ack | json | No | — | — |
failure_reason | string | No | — | Engine-stamped failure reason |
failure_type | string | No | — | Stable failure classification |
failed_action | string | No | — | Action that failed |
failed_at_state | string | No | — | State when the workflow failed |
failed_step | json | No | — | Failed DAG step envelope |
failed_layer | json | No | — | Failed DAG layer envelope |
error | string | No | — | Engine-stamped exception message |
error_type | string | No | — | Engine-stamped exception class name |
compensation_trigger | json | No | — | — |
comp_queue | json | No | — | — |
comp_current_layer | json | No | — | — |
comp_retry_count | json | No | — | — |
DAG Layers
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | resolve | apphost.addon.resolve | apphost.web.ack |
| 2 | restart | kubernetes.deployment.restart, kubernetes.deployment.restart, kubernetes.deployment.restart | — |
Execution Flow
Compensation
When any layer fails, its compensation steps run in reverse order to roll back the work completed so far.
Sub-workflows
| Sub-workflow | Step name |
|---|---|
apphost.addon.resolve | resolve |
kubernetes.deployment.restart | relay |
apphost.web.ack | ack |
Outcomes
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
restarted | SUCCESS | Buzz addon restart requested | relay, redis, minio |
failed | FAILURE | Apphost workflow failed | failure_reason |
API Usage
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "apphost.addon.restart",
"initial_data": {
"site_uuid": "value"
}
}