( currentSnapshot: WorkflowState | null | undefined, activeState: WorkflowState | null | undefined )
| 37 | * side is missing. |
| 38 | */ |
| 39 | export function computeNeedsRedeployment( |
| 40 | currentSnapshot: WorkflowState | null | undefined, |
| 41 | activeState: WorkflowState | null | undefined |
| 42 | ): boolean { |
| 43 | if (!activeState || !currentSnapshot) return false |
| 44 | return hasWorkflowChanged(currentSnapshot, activeState) |
| 45 | } |
| 46 | |
| 47 | export async function checkNeedsRedeployment(workflowId: string): Promise<boolean> { |
| 48 | const [active] = await db |
no test coverage detected