René's URL Explorer Experiment


Title: perf(database): index BatchTaskRun on (runtimeEnvironmentId, createdAt, id) for the batches list by ericallam · Pull Request #4361 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: perf(database): index BatchTaskRun on (runtimeEnvironmentId, createdAt, id) for the batches list by ericallam · Pull Request #4361 · triggerdotdev/trigger.dev

X Title: perf(database): index BatchTaskRun on (runtimeEnvironmentId, createdAt, id) for the batches list by ericallam · Pull Request #4361 · triggerdotdev/trigger.dev

Description: Trigger.dev – build and deploy durable AI agents and workflows - perf(database): index BatchTaskRun on (runtimeEnvironmentId, createdAt, id) for the batches list by ericallam · Pull Request #4361 · triggerdotdev/trigger.dev

Open Graph Description: Summary The batches list page orders by createdAt DESC, id DESC filtered by environment and a created-at window, but the only supporting index on BatchTaskRun was (runtimeEnvironmentId, id). That i...

X Description: Summary The batches list page orders by createdAt DESC, id DESC filtered by environment and a created-at window, but the only supporting index on BatchTaskRun was (runtimeEnvironmentId, id). That i...

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

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:ac9bc2a1-4e5d-d2da-7666-4db5b3bbd805
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB9A6:42EA3:32A180A:47CCAB6:6AFAF3B9
html-safe-nonce9c33c28af90b0ff2476334117feb082516d9680af248ea4f4427648b55ad9583
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUE2OjQyRUEzOjMyQTE4MEE6NDdDQ0FCNjo2QUZBRjNCOSIsInZpc2l0b3JfaWQiOiIzNzkxMzY2MzIzNDU2MTExNTQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7094d77e01c45010975f1db42aac45501336bce2c05be998a8de6c93069df5ac
hovercard-subject-tagpull_request:4123932744
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/4361/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6ee61b8b40bf18a028d29352298598c285608208482e5be1ee7bfdd0bb935283/triggerdotdev/trigger.dev/pull/4361
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6ee61b8b40bf18a028d29352298598c285608208482e5be1ee7bfdd0bb935283/triggerdotdev/trigger.dev/pull/4361
og:image:altSummary The batches list page orders by createdAt DESC, id DESC filtered by environment and a created-at window, but the only supporting index on BatchTaskRun was (runtimeEnvironmentId, id). That i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericallam
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
releasea85e96a83bed7871993e6b1ffda24105928eee17
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/4361#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4361
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%2F4361
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/4361
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4361
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4361
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
ericallamhttps://github.com/ericallam
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
perf/batch-list-created-at-indexhttps://github.com/triggerdotdev/trigger.dev/tree/perf/batch-list-created-at-index
Conversationhttps://github.com/triggerdotdev/trigger.dev/pull/4361
Commits1 (1)https://github.com/triggerdotdev/trigger.dev/pull/4361/commits
Checkshttps://github.com/triggerdotdev/trigger.dev/pull/4361/checks
Files changedhttps://github.com/triggerdotdev/trigger.dev/pull/4361/files
perf(database): index BatchTaskRun on (runtimeEnvironmentId, createdAt, id) for the batches listhttps://github.com/triggerdotdev/trigger.dev/pull/4361#top
ericallamhttps://github.com/ericallam
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
perf/batch-list-created-at-indexhttps://github.com/triggerdotdev/trigger.dev/tree/perf/batch-list-created-at-index
https://github.com/ericallam
ericallamhttps://github.com/ericallam
Jul 24, 2026https://github.com/triggerdotdev/trigger.dev/pull/4361#issue-4967562768
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4361
https://github.com/ericallam
perf(database): index BatchTaskRun on (runtimeEnvironmentId, createdA…https://github.com/triggerdotdev/trigger.dev/pull/4361/commits/afe280cfc86096f447c9ace92d69e4fa31aad0cd
afe280chttps://github.com/triggerdotdev/trigger.dev/pull/4361/commits/afe280cfc86096f447c9ace92d69e4fa31aad0cd
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Jul 24, 2026https://github.com/triggerdotdev/trigger.dev/pull/4361#issuecomment-5068802606
afe280chttps://github.com/triggerdotdev/trigger.dev/commit/afe280cfc86096f447c9ace92d69e4fa31aad0cd
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/perf/batch-list-created-at-index?filename=.changeset/public-pans-hope.md&value=---%0A%22%40trigger.dev%2Fdatabase%22%3A%20patch%0A---%0A%0Aperf(database)%3A%20index%20BatchTaskRun%20on%20(runtimeEnvironmentId%2C%20createdAt%2C%20id)%20for%20the%20batches%20list%0A
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4361
https://github.com/ericallam
ericallamhttps://github.com/ericallam
July 24, 2026 10:29https://github.com/triggerdotdev/trigger.dev/pull/4361#event-28431007406
https://github.com/d-cs
d-cshttps://github.com/d-cs
Jul 24, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4361#pullrequestreview-4772378917
View reviewed changes https://github.com/triggerdotdev/trigger.dev/pull/4361/files/afe280cfc86096f447c9ace92d69e4fa31aad0cd
https://github.com/apps/devin-ai-integration
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
Jul 24, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4361#pullrequestreview-4772382598
View reviewed changes https://github.com/triggerdotdev/trigger.dev/pull/4361/files/afe280cfc86096f447c9ace92d69e4fa31aad0cd
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
https://github.com/triggerdotdev/trigger.dev/pull/4361#pullrequestreview-4772382598
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://app.devin.ai/review/triggerdotdev/trigger.dev/pull/4361
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4361
internal-packages/database/prisma/schema.prismahttps://github.com/triggerdotdev/trigger.dev/pull/4361/files/afe280cfc86096f447c9ace92d69e4fa31aad0cd#diff-6b8eefc1da429865c9493bbac9d2c4d00d1cfe2f2231f6474b9692f13b88e419
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4361
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 24, 2026https://github.com/triggerdotdev/trigger.dev/pull/4361#issuecomment-5068861240
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4361
https://app.coderabbit.ai/change-stack/triggerdotdev/trigger.dev/pull/4361?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=4361
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/4361
https://github.com/ericallam
ericallamhttps://github.com/ericallam
9c85e0ehttps://github.com/triggerdotdev/trigger.dev/commit/9c85e0ecdc22cdf7599b15df4917c0269e4dc321
Jul 24, 2026https://github.com/triggerdotdev/trigger.dev/pull/4361#event-28431964848
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4361
https://github.com/ericallam
ericallamhttps://github.com/ericallam
July 24, 2026 10:52https://github.com/triggerdotdev/trigger.dev/pull/4361#event-28431966033
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 24, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4361#ref-pullrequest-4968834391
chore: release v4.5.8 #4364 https://github.com/triggerdotdev/trigger.dev/pull/4364
https://github.com/ericallam
ericallamhttps://github.com/ericallam
Jul 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4361#ref-pullrequest-4988840921
perf(run-ops-database): index BatchTaskRun for the batches list on the dedicated schema #4396 https://github.com/triggerdotdev/trigger.dev/pull/4396
ericallamhttps://github.com/ericallam
Jul 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4361#ref-commit-7e82082
https://github.com/ericallam
perf(run-ops-database): index BatchTaskRun for the batches list on th…https://github.com/triggerdotdev/trigger.dev/commit/7e82082ab8b7c2725a5ebcb72418296e6c2b7da3
7e82082https://github.com/triggerdotdev/trigger.dev/commit/7e82082ab8b7c2725a5ebcb72418296e6c2b7da3
#4361https://github.com/triggerdotdev/trigger.dev/pull/4361
@uniquehttps://github.com/unique
@idhttps://github.com/id
@Maphttps://github.com/Map
cardernehttps://github.com/carderne
Jul 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4361#ref-commit-d189ce1
https://github.com/apps/github-actions
chore: release v4.5.8 (https://github.com/triggerdotdev/trigger.dev/commit/d189ce17d385b33ef44d384a9715b85ac75be139
#4364https://github.com/triggerdotdev/trigger.dev/pull/4364
)https://github.com/triggerdotdev/trigger.dev/commit/d189ce17d385b33ef44d384a9715b85ac75be139
d189ce1https://github.com/triggerdotdev/trigger.dev/commit/d189ce17d385b33ef44d384a9715b85ac75be139
#4387https://github.com/triggerdotdev/trigger.dev/pull/4387
#4387https://github.com/triggerdotdev/trigger.dev/pull/4387
#4348https://github.com/triggerdotdev/trigger.dev/pull/4348
#4348https://github.com/triggerdotdev/trigger.dev/pull/4348
#4375https://github.com/triggerdotdev/trigger.dev/pull/4375
#4375https://github.com/triggerdotdev/trigger.dev/pull/4375
#4360https://github.com/triggerdotdev/trigger.dev/pull/4360
#4360https://github.com/triggerdotdev/trigger.dev/pull/4360
#4328https://github.com/triggerdotdev/trigger.dev/pull/4328
#4328https://github.com/triggerdotdev/trigger.dev/pull/4328
#4363https://github.com/triggerdotdev/trigger.dev/pull/4363
#4363https://github.com/triggerdotdev/trigger.dev/pull/4363
#4341https://github.com/triggerdotdev/trigger.dev/pull/4341
#4341https://github.com/triggerdotdev/trigger.dev/pull/4341
#4378https://github.com/triggerdotdev/trigger.dev/pull/4378
#4378https://github.com/triggerdotdev/trigger.dev/pull/4378
#4393https://github.com/triggerdotdev/trigger.dev/pull/4393
#4393https://github.com/triggerdotdev/trigger.dev/pull/4393
#4350https://github.com/triggerdotdev/trigger.dev/pull/4350
#4350https://github.com/triggerdotdev/trigger.dev/pull/4350
#4377https://github.com/triggerdotdev/trigger.dev/pull/4377
#4377https://github.com/triggerdotdev/trigger.dev/pull/4377
#4361https://github.com/triggerdotdev/trigger.dev/pull/4361
#4361https://github.com/triggerdotdev/trigger.dev/pull/4361
#4346https://github.com/triggerdotdev/trigger.dev/pull/4346
#4346https://github.com/triggerdotdev/trigger.dev/pull/4346
#4380https://github.com/triggerdotdev/trigger.dev/pull/4380
#4380https://github.com/triggerdotdev/trigger.dev/pull/4380
#4387https://github.com/triggerdotdev/trigger.dev/pull/4387
#4387https://github.com/triggerdotdev/trigger.dev/pull/4387
#4348https://github.com/triggerdotdev/trigger.dev/pull/4348
#4348https://github.com/triggerdotdev/trigger.dev/pull/4348
#4387https://github.com/triggerdotdev/trigger.dev/pull/4387
#4387https://github.com/triggerdotdev/trigger.dev/pull/4387
ericallamhttps://github.com/ericallam
Jul 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4361#ref-commit-fc57643
https://github.com/ericallam
perf(run-ops-database): index BatchTaskRun for the batches list on th…https://github.com/triggerdotdev/trigger.dev/commit/fc576436e24c0fa4d29fffa2a50bc627b3626711
fc57643https://github.com/triggerdotdev/trigger.dev/commit/fc576436e24c0fa4d29fffa2a50bc627b3626711
#4396https://github.com/triggerdotdev/trigger.dev/pull/4396
#4361https://github.com/triggerdotdev/trigger.dev/pull/4361
#4361https://github.com/triggerdotdev/trigger.dev/pull/4361
#4361https://github.com/triggerdotdev/trigger.dev/pull/4361
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%2F4361
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/4361/files/afe280cfc86096f447c9ace92d69e4fa31aad0cd
https://github.com/d-cs
d-cs https://github.com/d-cs
https://github.com/triggerdotdev/trigger.dev/pull/4361/files/afe280cfc86096f447c9ace92d69e4fa31aad0cd
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4361
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4361
https://github.com/ericallam
https://github.com/d-cs
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.