From 4da70ca671e6b886666bee744728dce4dae8debf Mon Sep 17 00:00:00 2001 From: Codex Date: Sun, 17 May 2026 11:54:06 +0000 Subject: [PATCH] fix: route code queue race self test to manager --- src/components/backend-core/src/microservice-proxy.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/backend-core/src/microservice-proxy.ts b/src/components/backend-core/src/microservice-proxy.ts index c34b65f7..0c757b0a 100644 --- a/src/components/backend-core/src/microservice-proxy.ts +++ b/src/components/backend-core/src/microservice-proxy.ts @@ -393,6 +393,7 @@ function codeQueueK3sServiceIdForRequest(method: string, targetPath: string): st function codeQueueMasterControlPath(method: string, targetPath: string): boolean { const normalizedMethod = method.toUpperCase(); if (targetPath === "/" || targetPath === "/health" || targetPath === "/live" || targetPath === "/logs") return true; + if (targetPath === "/api/queue-claim-move/self-test") return true; if (targetPath === "/api/queues" || targetPath === "/api/queues/merge") return true; if (/^\/api\/queues\/[^/]+(?:\/merge)?$/u.test(targetPath)) return true; if (targetPath === "/api/tasks" || targetPath === "/api/tasks/batch" || targetPath === "/api/tasks/overview" || targetPath === "/api/tasks/stats" || targetPath === "/api/tasks/read-all") return true;