Skip to content

PostAggregateResult

Defined in: cli/astromech/src/aggregate/post-aggregate/post-aggregate.type.ts:77

What postAggregate did.

action: "created" | "updated" | "recreated" | "unchanged" | "foreign" | "would-create" | "would-update"

Defined in: cli/astromech/src/aggregate/post-aggregate/post-aggregate.type.ts:82

created or updated a run, recreated when the provider refused to reopen one, unchanged, foreign when another app (the Actions poller) already posts this check on the commit and nothing was written, or would-... on a dry run.


closed: number[]

Defined in: cli/astromech/src/aggregate/post-aggregate/post-aggregate.type.ts:90

Ids of duplicate runs a race left, completed as neutral.


result: AggregateResult

Defined in: cli/astromech/src/aggregate/post-aggregate/post-aggregate.type.ts:84

The verdict the state calls for.


rewritten: boolean

Defined in: cli/astromech/src/aggregate/post-aggregate/post-aggregate.type.ts:92

True when the verdict changed under the write and a second write corrected it.


runId: number | null

Defined in: cli/astromech/src/aggregate/post-aggregate/post-aggregate.type.ts:88

The id of the run the verdict is on, null on a dry run that would create one.


stale: boolean

Defined in: cli/astromech/src/aggregate/post-aggregate/post-aggregate.type.ts:86

True when the stored run was missing or disagreed with the verdict, and had been waiting longer than the grace.