Uh oh!
There was an error while loading. Please reload this page.
improvement(webhooks): move non-polling executions off trigger.dev - #3527
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryMedium Risk Overview Adds a centralized Written by Cursor Bugbot for commit f20dafa. Configure here. |
Greptile SummaryThis PR improves webhook performance by routing non-polling webhook providers (everything except Key changes:
Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Incoming Webhook Request] --> B[queueWebhookExecution]
B --> C{isPollingWebhookProvider?}
C -- "Yes (gmail/outlook/rss/imap)" --> D{shouldExecuteInline?\ni.e. Trigger.dev disabled?}
C -- "No (all other providers)" --> G
D -- "No (Trigger.dev active)" --> E[getJobQueue → Trigger.dev\nenqueue only\nTrigger.dev executes async]
D -- "Yes (Redis/DB mode)" --> G
G[getInlineJobQueue\nRedis or DB backend\nenqueue + fire-and-forget inline execution]
E --> H[Return HTTP response]
G --> H
|
Uh oh!
There was an error while loading. Please reload this page.
icecrasher321
commented
Mar 11, 2026
bugbot run |
icecrasher321
commented
Mar 11, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
icecrasher321
commented
Mar 11, 2026
bugbot run |
Uh oh!
There was an error while loading. Please reload this page.
icecrasher321
commented
Mar 12, 2026
bugbot run |
Uh oh!
There was an error while loading. Please reload this page.
…imstudioai#3527) * improvement(webhooks): move non-polling off trigger.dev * restore constants file * improve comment * add unit test to prevent drift
Summary
Move non-polling executions off trigger.dev to beat cold start times
Type of Change
Testing
Tested manually
Checklist