MCPcopy Index your code
hub / github.com/simstudioai/sim / clearProgressMarkers

Function clearProgressMarkers

apps/sim/lib/logs/execution/progress-markers.ts:239–250  ·  view source on GitHub ↗
(executionId: string)

Source from the content-addressed store, hash-verified

237 * live indefinitely) hold no Redis keys. Fire-and-forget; no-op without Redis.
238 */
239export 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}

Callers 3

markExecutionAsFailedMethod · 0.90

Calls 4

toErrorFunction · 0.90
getMarkerClientFunction · 0.85
markerKeyFunction · 0.85
errorMethod · 0.80

Tested by

no test coverage detected