(executionId: string)
| 237 | * live indefinitely) hold no Redis keys. Fire-and-forget; no-op without Redis. |
| 238 | */ |
| 239 | export async function clearProgressMarkers(executionId: string): Promise<void> { |
| 240 | const redis = getMarkerClient() |
| 241 | if (!redis) return |
| 242 | |
| 243 | try { |
| 244 | await redis.del(markerKey(executionId)) |
| 245 | } catch (error) { |
| 246 | logger.error(`Failed to clear progress markers for execution ${executionId}`, { |
| 247 | error: toError(error).message, |
| 248 | }) |
| 249 | } |
| 250 | } |
no test coverage detected