From a7269bd06dd82d893e7df39846b999b02db29fe2 Mon Sep 17 00:00:00 2001 From: HermanL02 Date: Thu, 1 May 2025 11:40:21 -0300 Subject: [PATCH] feat: update the place holder for error out and cancel the task --- worker/src/task/5-routes.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/worker/src/task/5-routes.ts b/worker/src/task/5-routes.ts index 76b44f3..410c9b4 100644 --- a/worker/src/task/5-routes.ts +++ b/worker/src/task/5-routes.ts @@ -64,6 +64,7 @@ export async function routes() { console.log("[TASK] req.body", req.body); try { if (!success){ + // TODO: Need to call the server to cancel the task await namespaceWrapper.storeSet(`result-${roundNumber}`, status.ISSUE_SUMMARIZATION_FAILED); console.error("[TASK] Error summarizing repository:", message); return;