René's URL Explorer Experiment


Title: fix(run-queue): prevent concurrency keys from bloating master queue shards by ericallam · Pull Request #3219 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: fix(run-queue): prevent concurrency keys from bloating master queue shards by ericallam · Pull Request #3219 · triggerdotdev/trigger.dev

X Title: fix(run-queue): prevent concurrency keys from bloating master queue shards by ericallam · Pull Request #3219 · triggerdotdev/trigger.dev

Description: Queues with concurrency keys now appear as a single entry in the master queue instead of one entry per key. This prevents high-CK-count tenants from consuming the entire parentQueueLimit window and starving other tenants on the same shard. A new per-queue CK index (sorted set) tracks active concurrency key sub-queues. The master queue gets one :ck:* wildcard entry per base queue. Dequeuing from that entry round-robins across sub-queues, maintaining per-CK concurrency tracking and fairness. All existing operations (enqueue, dequeue, ack, nack, DLQ, TTL expiry) are CK-index-aware and keep the index consistent. Old-format entries drain naturally during rollout — no migration step needed, single deploy.

Open Graph Description: Queues with concurrency keys now appear as a single entry in the master queue instead of one entry per key. This prevents high-CK-count tenants from consuming the entire parentQueueLimit window and...

X Description: Queues with concurrency keys now appear as a single entry in the master queue instead of one entry per key. This prevents high-CK-count tenants from consuming the entire parentQueueLimit window and...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:34d0de69-a7c8-0e35-8967-cc90e76ba120
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEAC8:1A1426:7655B:A87E5:6AFAF423
html-safe-nonce4aff9916a47c40948ada531c4652b7489a04878230e4ceb44e0a2eda6eb79f64
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUM4OjFBMTQyNjo3NjU1QjpBODdFNTo2QUZBRjQyMyIsInZpc2l0b3JfaWQiOiI3MDc3MjQxNjI3NDcwMzk0NDAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace0d6b4de9f26a2697924bffee2a9722645b09791a642759350af502114d8a88d
hovercard-subject-tagpull_request:3398721023
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/3219/files
twitter:imagehttps://avatars.githubusercontent.com/u/534?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/534?s=400&v=4
og:image:altQueues with concurrency keys now appear as a single entry in the master queue instead of one entry per key. This prevents high-CK-count tenants from consuming the entire parentQueueLimit window and...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea85e96a83bed7871993e6b1ffda24105928eee17
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/3219/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3219%2Ffiles
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%2F3219%2Ffiles
Sign uphttps://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
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3219/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3219/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3219/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
ericallamhttps://github.com/ericallam
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
ea-branch-121https://github.com/triggerdotdev/trigger.dev/tree/ea-branch-121
Conversation 21 https://github.com/triggerdotdev/trigger.dev/pull/3219
Commits 4 https://github.com/triggerdotdev/trigger.dev/pull/3219/commits
Checks 48 https://github.com/triggerdotdev/trigger.dev/pull/3219/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/3219/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3219/files
fix(run-queue): prevent concurrency keys from bloating master queue shards https://github.com/triggerdotdev/trigger.dev/pull/3219/files#top
Show all changes 4 commits https://github.com/triggerdotdev/trigger.dev/pull/3219/files
49b5d9f fix(run-queue): prevent concurrency keys from bloating master queue s… ericallam Mar 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3219/commits/49b5d9f0d183a66c3ac4001038a25c200cb955c0
e2b8446 fix rebalancing master queue shards after expiring a ttl run ericallam Mar 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3219/commits/e2b8446f566438f1690fb8583258fcd97a4fbab2
b20477d add a server changes file ericallam Mar 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3219/commits/b20477d0aa948a3a5be5365eafe52d5c36080550
6f7bcc5 fix an existing run queue cooloff issue that was surfaced by this ck … ericallam Mar 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3219/commits/6f7bcc5aba3660a3b4a4e9f0e6d19b8ca4410975
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/3219/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3219/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3219/files
ck-index-master-queue-dedup.md https://github.com/triggerdotdev/trigger.dev/pull/3219/files#diff-115619f8037ea825429f135f210ecbb52c533486bfbf057890536d20019e09c1
index.ts https://github.com/triggerdotdev/trigger.dev/pull/3219/files#diff-0365b31224e46e323c8868fee705d14146349e29abd175070c7e7a49e9cb73ae
keyProducer.ts https://github.com/triggerdotdev/trigger.dev/pull/3219/files#diff-2c47c1bf420e5f4b6b83aef2790c2734af7c000165c658cc931af700e3c5e7b7
ckIndex.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3219/files#diff-ae5ecf7b86065b5566138e09fed811d29cc7d3ba19017b574c29b03b20f45d2f
keyProducer.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3219/files#diff-c66ebb11ab55d2ca8839e1ca6f86fa5f5a8e99ff56e11eb387240f08dd28a6a4
types.ts https://github.com/triggerdotdev/trigger.dev/pull/3219/files#diff-cbcd44d22184883324208ec29b1591dfe40d0f057b3ef9ac4430866c4fc1143d
concurrencyKeys.ts https://github.com/triggerdotdev/trigger.dev/pull/3219/files#diff-b9bf1a3b27959452abe0e55386c7ee06292f521b2414230a066fd584eff2e7f3
.server-changes/ck-index-master-queue-dedup.mdhttps://github.com/triggerdotdev/trigger.dev/pull/3219/files#diff-115619f8037ea825429f135f210ecbb52c533486bfbf057890536d20019e09c1
View file https://github.com/triggerdotdev/trigger.dev/blob/6f7bcc5aba3660a3b4a4e9f0e6d19b8ca4410975/.server-changes/ck-index-master-queue-dedup.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3219/{{ revealButtonHref }}
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3219/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3219/files
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.