Skip to content

evaluateAggregate

evaluateAggregate(input): AggregateResult

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

Decides the ci aggregate check for one commit from the state read from the API.

Pure: no clock, no network, no GitHub types. It fails closed: success only when every expected id and every status context is satisfied, so an empty expected, an incomplete read or an unreadable clock never yields success. pending means a check is still running or has not posted and the deadline (startedAt + timeoutMs) has not passed; at the deadline pending and missing rows become failures.

EvaluateAggregateInput

AggregateResult