Skip to content

Add retries for task create notification job#1307

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/OUT-3849-cursor-automated-triage-response-44f6
Draft

Add retries for task create notification job#1307
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/OUT-3849-cursor-automated-triage-response-44f6

Conversation

@cursor

@cursor cursor Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Add bounded Trigger.dev retry/backoff to send-task-create-notifications so transient Prisma/Supabase connectivity failures can recover before surfacing as terminal job failures.
  • Add focused Jest coverage for the retry config and service delegation path.

Testing Criteria

  • yarn test "src/jobs/notifications/send-task-create-notifications.test.ts"
  • yarn lint:check (passes with existing warning-only React hook/compiler findings)

Notes

  • Linear MCP authentication is currently revoked, so I could not post the requested ticket comment from the automation session.
  • Sentry issue: TASKS-95 / Linear OUT-3849.

Impact & Surface Area of Change

  • Affects only the async Trigger.dev task-create notification wrapper. The notification service logic and request-time task creation flow are unchanged.
  • On transient DB/network errors, the job will retry up to 3 times with exponential backoff before failing.
Open in Web View Automation 

@linear-code

linear-code Bot commented Jun 10, 2026

Copy link
Copy Markdown

OUT-3849

@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tasks-app Building Building Preview Jun 10, 2026 2:24am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant