Skip to content
Proud to collaborate with Microsoft for Startups

failguard.clone_repo ​

Clone repo for FailGuard indexing (DAG step)

DAG step: clone repo for FailGuard indexing. Fallback: run full index_failguard_project_code.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-failguard
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
project_uuidstringYes——
organization_uuidstringYes——
workflow_run_idstringNo——
git_branchstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
project_uuidstringNo——
organization_uuidstringNo——
workflow_run_idstringNo——
git_branchstringNo——
clone_donebooleanNo——
messagestringNo——
completed_atstringNo——
failed_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—run—
runNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrun—
runcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "failguard.clone_repo",
  "initial_data": {
    "project_uuid": "value",
    "organization_uuid": "value"
  }
}