Skip to content

OUT-3487: add delayed retry backoff for trigger.dev sync tasks #95

Merged
SandipBajracharya merged 2 commits intomainfrom
OUT-3487
Apr 1, 2026
Merged

OUT-3487: add delayed retry backoff for trigger.dev sync tasks #95
SandipBajracharya merged 2 commits intomainfrom
OUT-3487

Conversation

@SandipBajracharya
Copy link
Copy Markdown
Collaborator

Changes

  • Add RETRY_CONFIG (3 attempts, 2-5 min exponential backoff with jitter) to per-file sync tasks: syncDropboxFileToAssembly, syncAssemblyFileToDropbox, deleteDropboxFileInAssembly, updateDropboxFileInAssembly
  • Disable retry on orchestrator tasks (initiateDropboxToAssemblySync, initiateAssemblyToDropboxSync, bidirectionalMasterSync) to prevent full re-runs on single file failures
  • Simplify bidirectionalMasterSync — remove error collection pattern, let errors propagate with original stack trace
  • Add taskId and attemptNumber tags to Sentry onFailure for easier filtering and tracing

SandipBajracharya and others added 2 commits April 1, 2026 10:57
- Add RETRY_CONFIG (3 attempts, 2-5 min exponential backoff with jitter)
  to per-file sync tasks: syncDropboxFileToAssembly,
  syncAssemblyFileToDropbox, deleteDropboxFileInAssembly,
  updateDropboxFileInAssembly
- Disable retry on orchestrator tasks (initiateDropboxToAssemblySync,
  initiateAssemblyToDropboxSync, bidirectionalMasterSync) to prevent
  full re-runs on single file failures
- Simplify bidirectionalMasterSync — remove error collection pattern,
  let errors propagate with original stack trace
- Add taskId and attemptNumber tags to Sentry onFailure for easier
  filtering and tracing

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@linear
Copy link
Copy Markdown

linear bot commented Apr 1, 2026

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 1, 2026

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

Project Deployment Actions Updated (UTC)
dropbox-integration Ready Ready Preview, Comment Apr 1, 2026 7:16am

Request Review

Copy link
Copy Markdown
Collaborator

@priosshrsth priosshrsth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@SandipBajracharya SandipBajracharya merged commit 52aa907 into main Apr 1, 2026
4 checks passed
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.

2 participants