repligit.ingest.ref-change ​
Flag outbound appliance ref changes; ignore sync_worker echoes
Handle one Repligit ref-change event.
sync_worker pushes are the inbound apply we just performed — skip. Human/agent/broker pushes flag the ref ahead on the replica snapshot. GitHub is never updated from this workflow.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-repligit |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
event_uuid | uuid | Yes | — | — |
repository_uuid | uuid | Yes | — | — |
ref | string | Yes | — | — |
old_oid | string | No | — | — |
new_oid | string | No | — | — |
pusher_uuid | string | No | — | — |
pusher_kind | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
skipped | boolean | No | — | — |
skip_reason | string | No | — | — |
replica_uuid | uuid | No | — | — |
flagged_ref | json | No | — | — |
event_uuid | uuid | No | — | — |
new_oid | string | No | — | — |
old_oid | string | No | — | — |
pusher_kind | string | No | — | — |
pusher_uuid | string | No | — | — |
ref | string | No | — | — |
repository_uuid | uuid | 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 | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "repligit.ingest.ref-change",
"initial_data": {
"event_uuid": "value",
"repository_uuid": "value",
"ref": "value"
}
}