repligit.replica.reconcile
Scheduled GitHub→Repligit reconcile (15 minutes)
Scheduled GitHub→Repligit reconcile for one replica pair.
Started by repligit.replica.subscribe. Each tick applies inbound refs, writes the replica snapshot, then schedules the next tick. Completes only when the pair is deleted.
Overview
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-repligit |
| Version | 1.0 |
Input Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
replica_uuid | uuid | Yes | — | — |
reconcile_interval_seconds | integer | No | — | — |
tick_count | integer | No | — | — |
last_refs_updated | integer | No | — | — |
needs_sync_to_github | json | No | — | — |
stopped_reason | string | No | — | — |
Output Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
replica_uuid | uuid | No | — | — |
tick_count | integer | No | — | — |
stopped_reason | string | No | — | — |
last_refs_updated | integer | No | — | — |
needs_sync_to_github | json | No | — | — |
reconcile_interval_seconds | integer | 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 |
|---|---|---|---|---|---|
running | Yes | No | — | — | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram
Transitions
| From | Action | To | Description |
|---|---|---|---|
running | tick | running | — |
running | stop | completed | — |
* (any state) | fail | failed | — |
API Usage
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "repligit.replica.reconcile",
"initial_data": {
"replica_uuid": "value"
}
}