fix: preserve removal intent when Redis enqueue fails

This commit is contained in:
tdurieux committed 2026-09-06 09:16:17 +02:00
1 parent 12b0bb52c0
commit f5f44c2511
3 files changed
+42 -9

No files matched your search

+1 -1
View File
@@ -203,7 +203,7 @@ export async function recoverStuckRemoving() {
...serializeError(e),
repoId: doc.repoId,
});
await markErrorIfRemoving(doc.repoId, "removal_interrupted");
// Keep REMOVING so another recovery pass can retry the enqueue.
}
}
} catch (e) {