Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Use '-' not ':' in the bill job id (avoid BullMQ key separator)

Developers Digest759b8d12ae48
diff --git a/apps/api/src/services/monitoring/runner.ts b/apps/api/src/services/monitoring/runner.ts
index c6e57179a..a309d2e18 100644
--- a/apps/api/src/services/monitoring/runner.ts
+++ b/apps/api/src/services/monitoring/runner.ts
@@ -374,7 +374,7 @@ async function billMonitorCheck(params: {
// Deterministic per check so a re-finalize (e.g. the reconciler re-running this
// check after the finalize lock TTL expired mid-finalize) re-enqueues the SAME
// job id and the billing queue dedups it instead of charging the team twice.
- jobId: `monitor-bill:${params.check.id}`,
+ jobId: `monitor-bill-${params.check.id}`,
priority: 10,
},
);