| 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:feb17375-69ae-5c61-a732-c93ce40b739f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EDB2:27EABE:6307ADB:84DDD8C:6AFAF713 |
| html-safe-nonce | 77a2697bb608c2ae630ee28158377058186d472fbe22221e07fb835accc96bf3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREIyOjI3RUFCRTo2MzA3QURCOjg0REREOEM6NkFGQUY3MTMiLCJ2aXNpdG9yX2lkIjoiODM1MjU2MjAxMjAyMTc4MjI5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b6f190424281ca9e99133ddeb6cd390d190cbdd4b895a696ca1da89c4394fc81 |
| hovercard-subject-tag | pull_request:4390835235 |
| 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/4826/files |
| twitter:image | https://avatars.githubusercontent.com/u/10635986?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10635986?s=400&v=4 |
| og:image:alt | Summary
Stacked on #4823. Adds queue gates to the run queue: a run can name up to three additional declared queues (in practice a task's anonymous inline-limit gate plus two named limits) it mu... |
| 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 | a85e96a83bed7871993e6b1ffda24105928eee17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/triggerdotdev/trigger.dev/pull/4826/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4826%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%2F4826%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/4826/files |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/4826/files |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/4826/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 |
| matt-aitken | https://github.com/matt-aitken |
| feat/queue-total-concurrency-limit | https://github.com/triggerdotdev/trigger.dev/tree/feat/queue-total-concurrency-limit |
| feat/queue-gates-engine | https://github.com/triggerdotdev/trigger.dev/tree/feat/queue-gates-engine |
|
Conversation
54
| https://github.com/triggerdotdev/trigger.dev/pull/4826 |
|
Commits
8
| https://github.com/triggerdotdev/trigger.dev/pull/4826/commits |
|
Checks
60
| https://github.com/triggerdotdev/trigger.dev/pull/4826/checks |
|
Files changed
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/4826/files |
|
feat(run-engine): queue gates enforced from the message payload
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#top |
|
Show all changes
8 commits
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files |
|
906cda7
feat(run-engine): queue gates enforced from the message payload
matt-aitken Aug 29, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4826/commits/906cda7a27eb49109c921b5f027333aca727ea68 |
|
b899541
fix(run-engine): gates inherit the run key and never deadlock on thei…
matt-aitken Aug 29, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4826/commits/b899541fe6fd1da9d24545ef2895ab24c2a798b5 |
|
2b85daf
fix(run-engine): reconcile prunes members whose runs are queued
matt-aitken Aug 29, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4826/commits/2b85daf356fc93fd0d26f5e12adf5a5ae282c627 |
|
b568120
fix(run-engine): reconcile group and gate members against the home co…
matt-aitken Aug 31, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4826/commits/b5681203c23961f6c038f24aeb64acedda225a0b |
|
916c6b6
fix(run-engine): a gate's total limit counts keyed and keyless holder…
matt-aitken Sep 6, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4826/commits/916c6b69428345dd63e7f4a73fad274c181bab49 |
|
f8bb7b0
fix(run-engine): queue payloads accept three gates
matt-aitken Sep 6, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4826/commits/f8bb7b0c6c794e518585c29b725dd35f9688f7af |
|
c372d2b
docs(run-engine): the gate cap is three, matching the schema
matt-aitken Sep 6, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4826/commits/c372d2b142a20e519da94fdf4228024c8d5e5192 |
|
8d9cc1e
fix(run-engine): queue payloads accept four gates
matt-aitken Sep 6, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/4826/commits/8d9cc1eac9cc9c0a82e9cc3bf9b5519174f8076c |
|
Clear filters
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/4826/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/4826/files |
|
env.server.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-f8823615ef72da3494e74de9e62b2fa31315ed9360f17bc06ab943f4dc25f4fd |
|
runEngine.server.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-44b2620e883d51908283afcb71504e2318df61525d0fbbf15b60d18b400a8c59 |
|
index.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-d29236a78d70dd8a019a2ec308d8eab0eda9f5fbf116d19d5c99b8f573a1b5df |
|
types.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-81c21d7967ac61777b1a20d53a0f821068d182af9f44ec4bd64b967c8fbd6d92 |
|
index.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-0365b31224e46e323c8868fee705d14146349e29abd175070c7e7a49e9cb73ae |
|
queueGates.test.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-f795b9483460c55cdc5ba568705f74381367df77a0f3056265dcfda3573a4663 |
|
totalConcurrency.test.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-f9c853f3fb4c31c3bc65a9b93412a83036ada9b63ac7f8a9c38c808e86736e28 |
|
types.ts
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-cbcd44d22184883324208ec29b1591dfe40d0f057b3ef9ac4430866c4fc1143d |
| apps/webapp/app/env.server.ts | https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-f8823615ef72da3494e74de9e62b2fa31315ed9360f17bc06ab943f4dc25f4fd |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/8d9cc1eac9cc9c0a82e9cc3bf9b5519174f8076c/apps/webapp/app/env.server.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4826/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-f8823615ef72da3494e74de9e62b2fa31315ed9360f17bc06ab943f4dc25f4fd |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-f8823615ef72da3494e74de9e62b2fa31315ed9360f17bc06ab943f4dc25f4fd |
| apps/webapp/app/v3/runEngine.server.ts | https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-44b2620e883d51908283afcb71504e2318df61525d0fbbf15b60d18b400a8c59 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/8d9cc1eac9cc9c0a82e9cc3bf9b5519174f8076c/apps/webapp/app/v3/runEngine.server.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/4826/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-44b2620e883d51908283afcb71504e2318df61525d0fbbf15b60d18b400a8c59 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-44b2620e883d51908283afcb71504e2318df61525d0fbbf15b60d18b400a8c59 |
| internal-packages/run-engine/src/engine/index.ts | https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-d29236a78d70dd8a019a2ec308d8eab0eda9f5fbf116d19d5c99b8f573a1b5df |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/8d9cc1eac9cc9c0a82e9cc3bf9b5519174f8076c/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/4826/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-d29236a78d70dd8a019a2ec308d8eab0eda9f5fbf116d19d5c99b8f573a1b5df |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-d29236a78d70dd8a019a2ec308d8eab0eda9f5fbf116d19d5c99b8f573a1b5df |
| internal-packages/run-engine/src/engine/types.ts | https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-81c21d7967ac61777b1a20d53a0f821068d182af9f44ec4bd64b967c8fbd6d92 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/8d9cc1eac9cc9c0a82e9cc3bf9b5519174f8076c/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/4826/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-81c21d7967ac61777b1a20d53a0f821068d182af9f44ec4bd64b967c8fbd6d92 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/4826/files#diff-81c21d7967ac61777b1a20d53a0f821068d182af9f44ec4bd64b967c8fbd6d92 |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/4826/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 |