Compare commits

..
1 Commits
Author SHA1 Message Date
Daniel SamsonandClaude Opus 4.6 66649022ca Fix BullMQ jobId format — colons are not allowed
Publish Image / publish (push) Successful in 26s
BullMQ throws "Custom Id cannot contain :" when jobId includes colons.
Replace colon separators with dashes in all jobId values.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 15:48:47 +01:00
+3 -3
View File
@@ -158,7 +158,7 @@ export class TaskQueue {
"create-workspace",
{ task, comment },
{
jobId: `create:${key}`,
jobId: `create-${key}`,
attempts: 3,
backoff: { type: "exponential", delay: 5000 },
},
@@ -198,7 +198,7 @@ export class TaskQueue {
"cleanup-workspace",
{ workspaceId: entry.workspaceId, workspaceName: entry.workspaceName },
{
jobId: `cleanup:${workspaceName}`,
jobId: `cleanup-${workspaceName}`,
attempts: 5,
backoff: { type: "exponential", delay: 10000 },
},
@@ -308,7 +308,7 @@ export class TaskQueue {
"cleanup-workspace",
{ workspaceId: ws.id, workspaceName: ws.name },
{
jobId: `cleanup:stale-${ws.name}-${Date.now()}`,
jobId: `cleanup-stale-${ws.name}-${Date.now()}`,
attempts: 5,
backoff: { type: "exponential", delay: 10000 },
},