Skip to content

ListFailuresOptions

Defined in: packages/core/src/types.ts:93

Options for IStore.listFailures. At least one of since or runIds must be provided; both are AND-combined when present so callers can further narrow a window-filtered list to specific runs.

optional excludeInfraBlowups?: boolean

Defined in: packages/core/src/types.ts:107

Drop failures attached to runs with failed_tests >= MAX_FAILED_TESTS_PER_RUN or ended_at IS NULL — the same “infra blowup” filter IStore.getNewPatterns applies. Defaults to true; set false when the caller wants every failure regardless (e.g. drill-downs tied to explicit runIds).


optional project?: string | null

Defined in: packages/core/src/types.ts:99

Filter to a single project. Null-or-undefined matches rows whose project column is NULL.


optional runIds?: readonly string[]

Defined in: packages/core/src/types.ts:97

Restrict to failures tied to these run IDs.


optional signal?: AbortSignal

Defined in: packages/core/src/types.ts:109

Abort the query when this signal aborts; caller receives an AbortError.


optional since?: string

Defined in: packages/core/src/types.ts:95

ISO timestamp lower bound — returns failures where failedAt > since.