Claude Sonnet 5.5 · Heavy
sms-workflow-reminder-retry-count-tracking-cal-com
cal.com · TypeScript · S · 30–99 lines · 3 files
The generalist plus 9 specialist lens agents in parallel, then the same verify and dedup steps. Judge: Claude Haiku 5.5.
- Gold bugs found
- 2 of 5
- Comments published
- 2
- Comments matching a bug
- 2
- Comments not matching
- 0
- Cost of this PR
- $0.610
Published comments (2)
SMS cron deleteMany removes non-SMS reminders with retryCount > 1 — Without an SMS filter, this cleanup can silently delete email and WhatsApp reminders that have `retryCount` above 1. Add `method: WorkflowMethods.SMS` to this branch of the `deleteMany` condition.
Failed retryCount update in catch block aborts the whole SMS batch — If the `prisma.workflowReminder.update` in the catch block throws, the error escapes, aborts the loop, and fails the whole cron request, so one bad reminder blocks the rest. Log first and wrap the `retryCount` update in its own try/catch.