apphost.machine.reconcile ​
Converge hosted Machine desired_status. Shared placement stamps without Azure. Dedicated pools still need platform Azure env.
Converge hosted compute: shared stamps locally; dedicated uses ARM.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-apphost |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | Optional org scope; omitted uses the run's org |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | — |
controller_ready | boolean | Yes | — | — |
drifted | integer | Yes | — | — |
stamped_founder_infra_missing | integer | Yes | — | — |
allocated | integer | Yes | — | — |
deallocated | integer | Yes | — | — |
in_flight | integer | Yes | — | — |
failed | integer | Yes | — | — |
machine_uuids | json | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
Outcomes ​
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
reconciled | SUCCESS | Machine reconcile pass completed | drifted, controller_ready |
failed | FAILURE | Apphost workflow failed | failure_reason |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "apphost.machine.reconcile",
"initial_data": {
"organization_uuid": "value"
}
}