(exec: RowExecutionMetadata | undefined, since: Date)
| 46 | * later windows, even though the dispatcher pre-stamped it before the stop. |
| 47 | */ |
| 48 | export function isExecCancelledAfter(exec: RowExecutionMetadata | undefined, since: Date): boolean { |
| 49 | if (!isExecCancelled(exec) || !exec?.cancelledAt) return false |
| 50 | const at = Date.parse(exec.cancelledAt) |
| 51 | return Number.isFinite(at) && at > since.getTime() |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * A dependency column counts as unmet when its value is empty OR explicitly |
no test coverage detected