Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(workflow): treat segment manifest errors as retryable mux failures

Richie McIlroy30e8cfc475ac
diff --git a/apps/web/workflows/finalize-desktop-recording.ts b/apps/web/workflows/finalize-desktop-recording.ts
index 66fbf96c6..3c1dd982b 100644
--- a/apps/web/workflows/finalize-desktop-recording.ts
+++ b/apps/web/workflows/finalize-desktop-recording.ts
@@ -72,6 +72,8 @@ function isRetryableMuxError(error: unknown) {
message.includes("SERVER_BUSY") ||
message.includes("Server is at capacity") ||
message.includes("fetch failed") ||
+ message.includes("Segment manifest not found") ||
+ message.includes("Segment manifest is not marked as complete") ||
message.includes("timed out") ||
message.includes("timeout")
);