( executionId: string, marker: ExecutionLastStartedBlock )
| 100 | * back to the durable SQL path) when Redis is unavailable or the write fails. |
| 101 | */ |
| 102 | export async function setLastStartedBlock( |
| 103 | executionId: string, |
| 104 | marker: ExecutionLastStartedBlock |
| 105 | ): Promise<boolean> { |
| 106 | return setMarker(executionId, STARTED_FIELD, 'startedAt', marker.startedAt, marker) |
| 107 | } |
| 108 | |
| 109 | /** |
| 110 | * Persist the last-completed-block marker. Returns `false` (caller should fall |
no test coverage detected