Skip to main content

Interface: ReconcileReport

Defined in: packages/orchestration/src/orchestrator.ts:29

What one Orchestrator.reconcile pass did.

Properties​

dispatched​

dispatched: string[]

Defined in: packages/orchestration/src/orchestrator.ts:47

Tickets the dispatch pass started runs for.


expiredQuestions​

expiredQuestions: number

Defined in: packages/orchestration/src/orchestrator.ts:45

Questions past their deadline, closed as expired.


orphanedRuns​

orphanedRuns: object[]

Defined in: packages/orchestration/src/orchestrator.ts:41

Runs left behind by a ticket that ended or moved to another run, cancelled.

reason​

reason: string

runId​

runId: string

ticketId​

ticketId: string


repairedTickets​

repairedTickets: object[]

Defined in: packages/orchestration/src/orchestrator.ts:43

In-progress tickets whose run is no longer active, set to match it.

status​

status: "needs_input" | "backlog" | "queued" | "in_progress" | "review" | "done" | "failed" | "cancelled"

ticketId​

ticketId: string


staleRuns​

staleRuns: object[]

Defined in: packages/orchestration/src/orchestrator.ts:31

Runs that stopped showing progress, failed; their tickets queued again (or failed past maxRecoveries).

action​

action: "failed" | "requeued"

gaveUp​

gaveUp: boolean

The ticket was failed because it ran out of recoveries (maxRecoveries).

recoveries​

recoveries: number

Times the ticket has been recovered, this pass included (on a give-up, the recoveries it had).

runId​

runId: string

ticketId​

ticketId: string