| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a30edfb3-da1c-ee8a-969f-0b06a7dfc35e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 92DA:D1FA2:4F7B1:702F5:6AFAF0A6 |
| html-safe-nonce | 046cf7e5ee919dcf00cbd5d9c941063e907b80653b2e0e63adff08f124245ae1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkRBOkQxRkEyOjRGN0IxOjcwMkY1OjZBRkFGMEE2IiwidmlzaXRvcl9pZCI6IjYzNzc5NjY2ODkwNjQ3NzU4NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 818bd7c51da3223c746cac289ba5e5c7a17c71eb936b50f6db76886ea7f58ae0 |
| hovercard-subject-tag | pull_request:3468914131 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/3299/files |
| twitter:image | https://avatars.githubusercontent.com/u/534?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/534?s=400&v=4 |
| og:image:alt | Summary
Currently, every triggered run follows a two-step path through Redis:
Enqueue — A Lua script atomically adds the message to a queue sorted set (ordered by priority-adjusted timestamp)
Dequ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git |
| octolytics-dimension-user_id | 95297378 |
| octolytics-dimension-user_login | triggerdotdev |
| octolytics-dimension-repository_id | 572570113 |
| octolytics-dimension-repository_nwo | triggerdotdev/trigger.dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572570113 |
| octolytics-dimension-repository_network_root_nwo | triggerdotdev/trigger.dev |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 12fff95459b24b0f882a66698ee6a36a5934d247 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/triggerdotdev/trigger.dev/pull/3299/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3299%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3299%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/3299/files |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/3299/files |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/3299/files |
| triggerdotdev | https://github.com/triggerdotdev |
| trigger.dev | https://github.com/triggerdotdev/trigger.dev |
| Code | https://github.com/triggerdotdev/trigger.dev |
| Issues203 (203) | https://github.com/triggerdotdev/trigger.dev/issues |
| Pull requests67 (67) | https://github.com/triggerdotdev/trigger.dev/pulls |
| Discussions | https://github.com/triggerdotdev/trigger.dev/discussions |
| Actions | https://github.com/triggerdotdev/trigger.dev/actions |
| Projects | https://github.com/triggerdotdev/trigger.dev/projects |
| Security and quality39 (39) | https://github.com/triggerdotdev/trigger.dev/security |
| Insights | https://github.com/triggerdotdev/trigger.dev/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose |
| ericallam | https://github.com/ericallam |
| main | https://github.com/triggerdotdev/trigger.dev/tree/main |
| feature/tri-8305-implement-enqueue-fast-path | https://github.com/triggerdotdev/trigger.dev/tree/feature/tri-8305-implement-enqueue-fast-path |
|
Conversation
18
| https://github.com/triggerdotdev/trigger.dev/pull/3299 |
|
Commits
3
| https://github.com/triggerdotdev/trigger.dev/pull/3299/commits |
|
Checks
42
| https://github.com/triggerdotdev/trigger.dev/pull/3299/checks |
|
Files changed
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3299/files |
|
feat(engine): enqueue fast path; skip the queue under certain conditions
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#top |
|
Show all changes
3 commits
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files |
|
0fb2869
feat(engine): enqueue fast path; skip the queue under certain conditions
ericallam Mar 30, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/3299/commits/0fb28691d39395d850b32eac57493d968a6aec7c |
|
c8a4e24
fix coderabbit feedback
ericallam Mar 31, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/3299/commits/c8a4e24be4a5bb0d7c42971547d46dab66de239a |
|
6fb759a
Add server changes file
ericallam Mar 31, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/3299/commits/6fb759a95117e3a404e88e4bbfa167f2343a684f |
|
Clear filters
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3299/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3299/files |
|
enqueue-fast-path.md
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-c958dd0b66744f03bf7d438a854726bd4379ce336f307a14ef4f62fc3f8a6e9b |
|
queues.server.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-ca27db974fa06638842ca12ac46456105d2740f788ff6b76c8361baebe4e935a |
|
triggerTask.server.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-f08505293cc26eea5c049086bcec37952508ae14352daf5687f5a9de3dc90843 |
|
types.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-f58ac42618fbe57924390fa1bf5b78005bcc7dc768a21b3705ebe260adc2da47 |
|
migration.sql
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-f40459f73a8b731229981bccee3cda168271eb32ebc9577202d760d7329a02e6 |
|
schema.prisma
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-6b8eefc1da429865c9493bbac9d2c4d00d1cfe2f2231f6474b9692f13b88e419 |
|
index.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-d29236a78d70dd8a019a2ec308d8eab0eda9f5fbf116d19d5c99b8f573a1b5df |
|
enqueueSystem.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-fb2ec0066c61c6fab9e53fb44d1182c303fad6badebd079c9904cc33d6c5f082 |
|
types.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-81c21d7967ac61777b1a20d53a0f821068d182af9f44ec4bd64b967c8fbd6d92 |
|
index.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-0365b31224e46e323c8868fee705d14146349e29abd175070c7e7a49e9cb73ae |
|
enqueueMessage.test.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-213da81e6bfc44c75f1e3d06a5eea651eb238e8f8d7299e50d6ab5c9f1ef6970 |
| .server-changes/enqueue-fast-path.md | https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-c958dd0b66744f03bf7d438a854726bd4379ce336f307a14ef4f62fc3f8a6e9b |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/6fb759a95117e3a404e88e4bbfa167f2343a684f/.server-changes/enqueue-fast-path.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3299/{{ revealButtonHref }} |
| apps/webapp/app/runEngine/concerns/queues.server.ts | https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-ca27db974fa06638842ca12ac46456105d2740f788ff6b76c8361baebe4e935a |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/6fb759a95117e3a404e88e4bbfa167f2343a684f/apps/webapp/app/runEngine/concerns/queues.server.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3299/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-ca27db974fa06638842ca12ac46456105d2740f788ff6b76c8361baebe4e935a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-ca27db974fa06638842ca12ac46456105d2740f788ff6b76c8361baebe4e935a |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-ca27db974fa06638842ca12ac46456105d2740f788ff6b76c8361baebe4e935a |
| apps/webapp/app/runEngine/services/triggerTask.server.ts | https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-f08505293cc26eea5c049086bcec37952508ae14352daf5687f5a9de3dc90843 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/6fb759a95117e3a404e88e4bbfa167f2343a684f/apps/webapp/app/runEngine/services/triggerTask.server.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3299/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-f08505293cc26eea5c049086bcec37952508ae14352daf5687f5a9de3dc90843 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-f08505293cc26eea5c049086bcec37952508ae14352daf5687f5a9de3dc90843 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-f08505293cc26eea5c049086bcec37952508ae14352daf5687f5a9de3dc90843 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-f08505293cc26eea5c049086bcec37952508ae14352daf5687f5a9de3dc90843 |
| apps/webapp/app/runEngine/types.ts | https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-f58ac42618fbe57924390fa1bf5b78005bcc7dc768a21b3705ebe260adc2da47 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/6fb759a95117e3a404e88e4bbfa167f2343a684f/apps/webapp/app/runEngine/types.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3299/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-f58ac42618fbe57924390fa1bf5b78005bcc7dc768a21b3705ebe260adc2da47 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-f58ac42618fbe57924390fa1bf5b78005bcc7dc768a21b3705ebe260adc2da47 |
| ...sma/migrations/20260330210247_add_enable_fast_path_to_worker_instance_group/migration.sql | https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-f40459f73a8b731229981bccee3cda168271eb32ebc9577202d760d7329a02e6 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/6fb759a95117e3a404e88e4bbfa167f2343a684f/internal-packages/database/prisma/migrations/20260330210247_add_enable_fast_path_to_worker_instance_group/migration.sql |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3299/{{ revealButtonHref }} |
| internal-packages/database/prisma/schema.prisma | https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-6b8eefc1da429865c9493bbac9d2c4d00d1cfe2f2231f6474b9692f13b88e419 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/6fb759a95117e3a404e88e4bbfa167f2343a684f/internal-packages/database/prisma/schema.prisma |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3299/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-6b8eefc1da429865c9493bbac9d2c4d00d1cfe2f2231f6474b9692f13b88e419 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-6b8eefc1da429865c9493bbac9d2c4d00d1cfe2f2231f6474b9692f13b88e419 |
| internal-packages/run-engine/src/engine/index.ts | https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-d29236a78d70dd8a019a2ec308d8eab0eda9f5fbf116d19d5c99b8f573a1b5df |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/6fb759a95117e3a404e88e4bbfa167f2343a684f/internal-packages/run-engine/src/engine/index.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3299/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-d29236a78d70dd8a019a2ec308d8eab0eda9f5fbf116d19d5c99b8f573a1b5df |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-d29236a78d70dd8a019a2ec308d8eab0eda9f5fbf116d19d5c99b8f573a1b5df |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-d29236a78d70dd8a019a2ec308d8eab0eda9f5fbf116d19d5c99b8f573a1b5df |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-d29236a78d70dd8a019a2ec308d8eab0eda9f5fbf116d19d5c99b8f573a1b5df |
| internal-packages/run-engine/src/engine/systems/enqueueSystem.ts | https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-fb2ec0066c61c6fab9e53fb44d1182c303fad6badebd079c9904cc33d6c5f082 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/6fb759a95117e3a404e88e4bbfa167f2343a684f/internal-packages/run-engine/src/engine/systems/enqueueSystem.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3299/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-fb2ec0066c61c6fab9e53fb44d1182c303fad6badebd079c9904cc33d6c5f082 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-fb2ec0066c61c6fab9e53fb44d1182c303fad6badebd079c9904cc33d6c5f082 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-fb2ec0066c61c6fab9e53fb44d1182c303fad6badebd079c9904cc33d6c5f082 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-fb2ec0066c61c6fab9e53fb44d1182c303fad6badebd079c9904cc33d6c5f082 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-fb2ec0066c61c6fab9e53fb44d1182c303fad6badebd079c9904cc33d6c5f082 |
| internal-packages/run-engine/src/engine/types.ts | https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-81c21d7967ac61777b1a20d53a0f821068d182af9f44ec4bd64b967c8fbd6d92 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/6fb759a95117e3a404e88e4bbfa167f2343a684f/internal-packages/run-engine/src/engine/types.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3299/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-81c21d7967ac61777b1a20d53a0f821068d182af9f44ec4bd64b967c8fbd6d92 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3299/files#diff-81c21d7967ac61777b1a20d53a0f821068d182af9f44ec4bd64b967c8fbd6d92 |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3299/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3299/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |