diff --git a/src/components/microservices/code-queue/src/index.ts b/src/components/microservices/code-queue/src/index.ts index 571186ba..c270a997 100644 --- a/src/components/microservices/code-queue/src/index.ts +++ b/src/components/microservices/code-queue/src/index.ts @@ -1573,7 +1573,7 @@ async function runDatabaseClaimMoveSelfTest(): Promise { method: "POST", body: JSON.stringify({ queueId: targetQueueId }), headers: { "content-type": "application/json" }, - })); + }), { bypassRoleCheck: true }); const after = await loadTaskFromDatabase(taskId); const body = await response.json() as Record; if (response.status !== 409) throw new Error(`database stale move should return 409, got ${response.status}`);