Skip to content

shouldSkipForPatchId

shouldSkipForPatchId(prior, patchId): boolean

Defined in: src/critic-core.ts:480

Rebase/churn skip predicate. Skip when the incoming fingerprint is a member of the streak’s reviewed-patch-id SET — the prior verdict’s own patchId OR any earlier id in reviewedPatchIds. Empty/failed fingerprint (” or null) → never skip. Never skip past an error verdict: a timeout/unparseable run produced no real verdict to preserve.

{ decision?: ReviewDecision; patchId?: string; reviewedPatchIds?: string[]; } | null

string

boolean