René's URL Explorer Experiment


Title: fix(run-engine,webapp): return unclaimed runs to the queue when pausing by matt-aitken · Pull Request #4398 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: fix(run-engine,webapp): return unclaimed runs to the queue when pausing by matt-aitken · Pull Request #4398 · triggerdotdev/trigger.dev

X Title: fix(run-engine,webapp): return unclaimed runs to the queue when pausing by matt-aitken · Pull Request #4398 · triggerdotdev/trigger.dev

Description: Trigger.dev – build and deploy durable AI agents and workflows - fix(run-engine,webapp): return unclaimed runs to the queue when pausing by matt-aitken · Pull Request #4398 · triggerdotdev/trigger.dev

Open Graph Description: The gap Queuing happens in two phases. Phase 1 checks concurrency and admits runs; phase 2 is a plain FIFO list in Redis per worker region that supervisors drain. Pausing a queue or an environment ...

X Description: The gap Queuing happens in two phases. Phase 1 checks concurrency and admits runs; phase 2 is a plain FIFO list in Redis per worker region that supervisors drain. Pausing a queue or an environment ...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/4398

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:23b8e4ec-3a59-e482-cb9b-6b7b113631f7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEB72:1E0F1A:4F93D1:7643BA:6AFAEC32
html-safe-noncecac2977f3844cd0a17ea6107469f3aef53ee3171d8e52cf78d9434ab7e96b95a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjcyOjFFMEYxQTo0RjkzRDE6NzY0M0JBOjZBRkFFQzMyIiwidmlzaXRvcl9pZCI6Ijc2NDQ5NDE2NTE1MTIzMjMxMjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfc99b2086433210c93d59417b28ab111292513776ed863204aff6ec46a365329
hovercard-subject-tagpull_request:4144374298
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/triggerdotdev/trigger.dev/4398/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5755018fcd0e143e4dbeca8550beb75c4c54da4448b5791492ff6215a4590824/triggerdotdev/trigger.dev/pull/4398
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5755018fcd0e143e4dbeca8550beb75c4c54da4448b5791492ff6215a4590824/triggerdotdev/trigger.dev/pull/4398
og:image:altThe gap Queuing happens in two phases. Phase 1 checks concurrency and admits runs; phase 2 is a plain FIFO list in Redis per worker region that supervisors drain. Pausing a queue or an environment ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamematt-aitken
hostnamegithub.com
expected-hostnamegithub.com
None0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913
turbo-cache-controlno-cache
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release12fff95459b24b0f882a66698ee6a36a5934d247
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/4398#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4398
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4398
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4398
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4398
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4398
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
https://github.com/triggerdotdev/trigger.dev
matt-aitkenhttps://github.com/matt-aitken
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
fix/pause-returns-unclaimed-runshttps://github.com/triggerdotdev/trigger.dev/tree/fix/pause-returns-unclaimed-runs
Conversationhttps://github.com/triggerdotdev/trigger.dev/pull/4398
Commits5 (5)https://github.com/triggerdotdev/trigger.dev/pull/4398/commits
Checkshttps://github.com/triggerdotdev/trigger.dev/pull/4398/checks
Files changedhttps://github.com/triggerdotdev/trigger.dev/pull/4398/files
fix(run-engine,webapp): return unclaimed runs to the queue when pausinghttps://github.com/triggerdotdev/trigger.dev/pull/4398#top
matt-aitkenhttps://github.com/matt-aitken
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
fix/pause-returns-unclaimed-runshttps://github.com/triggerdotdev/trigger.dev/tree/fix/pause-returns-unclaimed-runs
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
Jul 27, 2026https://github.com/triggerdotdev/trigger.dev/pull/4398#issue-4990263909
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
#4367https://github.com/triggerdotdev/trigger.dev/pull/4367
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Jul 27, 2026https://github.com/triggerdotdev/trigger.dev/pull/4398#issuecomment-5094162358
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
5f832f5https://github.com/triggerdotdev/trigger.dev/commit/5f832f5ee462d6dd288fe8ee387d23b29c3e44ac
Click here to learn what changesets are, and how to add onehttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Click here if you're a maintainer who wants to add a changeset to this PRhttps://github.com/triggerdotdev/trigger.dev/new/fix/pause-returns-unclaimed-runs?filename=.changeset/hungry-brooms-shine.md&value=---%0A%22%40internal%2Frun-engine%22%3A%20patch%0A%22webapp%22%3A%20patch%0A---%0A%0Afix(run-engine%2Cwebapp)%3A%20return%20unclaimed%20runs%20to%20the%20queue%20when%20pausing%0A
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 27, 2026https://github.com/triggerdotdev/trigger.dev/pull/4398#issuecomment-5094175070
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
https://app.coderabbit.ai/change-stack/triggerdotdev/trigger.dev/pull/4398?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=triggerdotdev/trigger.dev&utm_content=4398
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
https://github.com/apps/devin-ai-integration
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4398
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4398#pullrequestreview-4789537769
View reviewed changes https://github.com/triggerdotdev/trigger.dev/pull/4398/files
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/triggerdotdev/trigger.dev/pull/4398#pullrequestreview-4789537769
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
3ed4851https://github.com/triggerdotdev/trigger.dev/commit/3ed48516dff5d27c85a2a689996e8707481a9783
352c612https://github.com/triggerdotdev/trigger.dev/commit/352c612c77b9bf138732563fd626ded4be6015ee
@Crumbshttps://github.com/Crumbs
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
apps/webapp/app/v3/services/pauseQueue.server.tshttps://github.com/triggerdotdev/trigger.dev/pull/4398/files#diff-987ab553445f12a8cbf50356bf46526a33191ebb55646a3a367ed21e23dade94
coderabbitaihttps://github.com/apps/coderabbitai
Jul 27, 2026https://github.com/triggerdotdev/trigger.dev/pull/4398#discussion_r3659285993
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
apps/webapp/test/billingLimitConvergeEnvironments.test.tshttps://github.com/triggerdotdev/trigger.dev/pull/4398/files#diff-ace41736e1c3f69549a89cee540317f94c2b1d7013c4540cf0ff887a82e7f63e
coderabbitaihttps://github.com/apps/coderabbitai
Jul 27, 2026https://github.com/triggerdotdev/trigger.dev/pull/4398#discussion_r3659285995
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
internal-packages/run-engine/src/run-queue/index.tshttps://github.com/triggerdotdev/trigger.dev/pull/4398/files#diff-0365b31224e46e323c8868fee705d14146349e29abd175070c7e7a49e9cb73ae
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4398#pullrequestreview-4791070322
View reviewed changes https://github.com/triggerdotdev/trigger.dev/pull/4398/files
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/triggerdotdev/trigger.dev/pull/4398#pullrequestreview-4791070322
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
352c612https://github.com/triggerdotdev/trigger.dev/commit/352c612c77b9bf138732563fd626ded4be6015ee
b717937https://github.com/triggerdotdev/trigger.dev/commit/b717937e842373adbd0a73f7e5c608522e7d7437
@Crumbshttps://github.com/Crumbs
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
https://github.com/ericallam
ericallamhttps://github.com/ericallam
Jul 27, 2026https://github.com/triggerdotdev/trigger.dev/pull/4398#issuecomment-5096995733
@matt-aitkenhttps://github.com/matt-aitken
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
matt-aitkenhttps://github.com/matt-aitken
July 28, 2026 19:11https://github.com/triggerdotdev/trigger.dev/pull/4398#commits-pushed-90d8032
https://github.com/matt-aitken
fix(run-engine,webapp): return unclaimed runs to the queue when pausinghttps://github.com/triggerdotdev/trigger.dev/pull/4398/commits/90d8032633c5e75340bd99118bd3c7a37e40322a
90d8032https://github.com/triggerdotdev/trigger.dev/pull/4398/commits/90d8032633c5e75340bd99118bd3c7a37e40322a
https://github.com/matt-aitken
fix(run-engine,webapp): close gaps found in adversarial review of the…https://github.com/triggerdotdev/trigger.dev/pull/4398/commits/6cdf2872ca0aaf7e78d4b59fbc2c28b81a3d1a8b
6cdf287https://github.com/triggerdotdev/trigger.dev/pull/4398/commits/6cdf2872ca0aaf7e78d4b59fbc2c28b81a3d1a8b
https://github.com/matt-aitken
fix(run-engine,webapp): harden the pause sweep retry and report it ho…https://github.com/triggerdotdev/trigger.dev/pull/4398/commits/08a50d7a1cc590915c9b4846e229286987eac165
08a50d7https://github.com/triggerdotdev/trigger.dev/pull/4398/commits/08a50d7a1cc590915c9b4846e229286987eac165
https://github.com/matt-aitken
docs(run-engine): correct the reasoning on the acknowledged-run guardhttps://github.com/triggerdotdev/trigger.dev/pull/4398/commits/ce51b31dd3fc079993beab6d03b0da20c6a07993
ce51b31https://github.com/triggerdotdev/trigger.dev/pull/4398/commits/ce51b31dd3fc079993beab6d03b0da20c6a07993
https://github.com/matt-aitken
test(run-engine): cover error isolation and the retry it triggers in …https://github.com/triggerdotdev/trigger.dev/pull/4398/commits/5f832f5ee462d6dd288fe8ee387d23b29c3e44ac
5f832f5https://github.com/triggerdotdev/trigger.dev/pull/4398/commits/5f832f5ee462d6dd288fe8ee387d23b29c3e44ac
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
force-pushedhttps://github.com/triggerdotdev/trigger.dev/compare/ea1d6f05b1b85db8255375f12159f365c5ca0116..5f832f5ee462d6dd288fe8ee387d23b29c3e44ac
ea1d6f0https://github.com/triggerdotdev/trigger.dev/commit/ea1d6f05b1b85db8255375f12159f365c5ca0116
5f832f5https://github.com/triggerdotdev/trigger.dev/commit/5f832f5ee462d6dd288fe8ee387d23b29c3e44ac
Compare https://github.com/triggerdotdev/trigger.dev/compare/ea1d6f05b1b85db8255375f12159f365c5ca0116..5f832f5ee462d6dd288fe8ee387d23b29c3e44ac
July 28, 2026 18:21https://github.com/triggerdotdev/trigger.dev/pull/4398#event-28616299021
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Jul 28, 2026https://github.com/triggerdotdev/trigger.dev/pull/4398#issuecomment-5108117791
Open in StackBlitzhttps://pkg.pr.new/template/05f62aab-68fc-4ee6-a164-4b288e840417
5f832f5https://github.com/triggerdotdev/trigger.dev/runs/90369529844
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
Aug 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4398#ref-pullrequest-5280236833
feat(run-engine,sdk,webapp): cap a queue's total concurrency across keyed and keyless runs #4823 https://github.com/triggerdotdev/trigger.dev/pull/4823
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4398
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/triggerdotdev/trigger.dev/pull/4398/files/b717937e842373adbd0a73f7e5c608522e7d7437
https://github.com/apps/devin-ai-integration
devin-ai-integration[bot] https://github.com/apps/devin-ai-integration
https://github.com/triggerdotdev/trigger.dev/pull/4398/files/b717937e842373adbd0a73f7e5c608522e7d7437
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4398
https://github.com/matt-aitken
https://github.com/ericallam
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.