Mutation
mutation RetryWorktreeAutoSync($worktreeId: ID!) {
retryWorktreeAutoSync(worktreeId: $worktreeId) {
worktreeId
state
conflictWorkflowId
conflictWorkflowChoice
lastError
pauseReason
}
}Variables
{
"worktreeId": "id"
}Response
{
"data": {
"retryWorktreeAutoSync": {
"worktreeId": "id",
"state": "string",
"conflictWorkflowId": "id",
"conflictWorkflowChoice": "string",
"lastError": "string",
"pauseReason": "PREPARATION_CONFLICT"
}
}
}Mutations
retryWorktreeAutoSync
Retries a worktree auto sync and returns a worktree auto sync.
MUTATION
retryWorktreeAutoSync(worktreeId: ID!): WorktreeAutoSync!Arguments
worktreeId
ID!
required
Identifier of the worktree.
Returns
worktreeId
ID!
Identifier of the related worktree.
state
String!
Current state of this worktree auto sync.
conflictWorkflowId
ID
Identifier of the related conflict workflow. May be null when unavailable or not applicable.
conflictWorkflowChoice
String
The conflict workflow choice associated with this worktree auto sync. May be null when unavailable or not applicable.
lastError
String
The last error associated with this worktree auto sync. May be null when unavailable or not applicable.
pauseReason
Structured reason Auto Sync is paused.
lastSyncedAt
String
ISO 8601 timestamp when this worktree auto sync was last synchronized. May be null when unavailable or not applicable.
updatedAt
String!
ISO 8601 timestamp when this worktree auto sync was last updated.
Mutation
mutation RetryWorktreeAutoSync($worktreeId: ID!) {
retryWorktreeAutoSync(worktreeId: $worktreeId) {
worktreeId
state
conflictWorkflowId
conflictWorkflowChoice
lastError
pauseReason
}
}Variables
{
"worktreeId": "id"
}Response
{
"data": {
"retryWorktreeAutoSync": {
"worktreeId": "id",
"state": "string",
"conflictWorkflowId": "id",
"conflictWorkflowChoice": "string",
"lastError": "string",
"pauseReason": "PREPARATION_CONFLICT"
}
}
}