Skip to content

buildNewPatternsQuery

buildNewPatternsQuery(opts): ParameterizedQuery

Defined in: packages/core/src/store/sqlite-queries.ts:83

Build the newly-flaky detection query. Same detection rule every adapter ships: recent-window failures in tests that had none in the prior window of equal length, filtering out infrastructure blowups (runs where ≥MAX_FAILED_TESTS_PER_RUN tests failed).

number

string | null

number

number

ParameterizedQuery