Skip to content

EvaluateAggregateInput

Defined in: cli/astromech/src/aggregate/evaluate-aggregate/evaluate-aggregate.type.ts:30

Everything evaluateAggregate reads. All of it comes from the API, never from a webhook payload.

checkRuns: AggregateCheckRun[]

Defined in: cli/astromech/src/aggregate/evaluate-aggregate/evaluate-aggregate.type.ts:36

Every check run on the commit, any order and any number per name.


commitStatuses: AggregateCommitStatus[]

Defined in: cli/astromech/src/aggregate/evaluate-aggregate/evaluate-aggregate.type.ts:38

The commit statuses, newest first as the API returns them; the first match for a context counts.


expected: string[]

Defined in: cli/astromech/src/aggregate/evaluate-aggregate/evaluate-aggregate.type.ts:32

Check ids: each needs a check run named <id> / ....


optional incomplete?: string

Defined in: cli/astromech/src/aggregate/evaluate-aggregate/evaluate-aggregate.type.ts:49

Set when the state could not be read in full (the list was truncated, a read failed): the reason. The result is then never success.


now: number

Defined in: cli/astromech/src/aggregate/evaluate-aggregate/evaluate-aggregate.type.ts:40

The current time in epoch milliseconds.


startedAt: number

Defined in: cli/astromech/src/aggregate/evaluate-aggregate/evaluate-aggregate.type.ts:42

When the aggregate began waiting for this commit, in epoch milliseconds.


statuses: string[]

Defined in: cli/astromech/src/aggregate/evaluate-aggregate/evaluate-aggregate.type.ts:34

Contexts that must reach success, as a check run named like the context, else as a commit status.


timeoutMs: number

Defined in: cli/astromech/src/aggregate/evaluate-aggregate/evaluate-aggregate.type.ts:44

How long to wait before a pending or missing check becomes a failure.