René's URL Explorer Experiment


Title: perf(coderd): make background loop queries index backed by kylecarbs · Pull Request #31625 · coder/coder · GitHub

Open Graph Title: perf(coderd): make background loop queries index backed by kylecarbs · Pull Request #31625 · coder/coder

X Title: perf(coderd): make background loop queries index backed by kylecarbs · Pull Request #31625 · coder/coder

Description: Secure environments for developers and their agents - perf(coderd): make background loop queries index backed by kylecarbs · Pull Request #31625 · coder/coder

Open Graph Description: Makes the queries run by background loops (autobuild, notifications, the job reaper, dbpurge) index-backed, so their cost stops growing with total history. Query Before After Change GetWorks...

X Description: Makes the queries run by background loops (autobuild, notifications, the job reaper, dbpurge) index-backed, so their cost stops growing with total history. Query Before After Change GetWorks...

Opengraph URL: https://github.com/coder/coder/pull/31625

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:54ad8421-8a28-b253-123a-c71128ab719f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE34E:2679E9:176B396:1F2E4EA:6B0145CF
html-safe-noncefe7e457332c050b3c65973b437355f7f4ce6c685bac7d776fd134682b5a2031d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzRFOjI2NzlFOToxNzZCMzk2OjFGMkU0RUE6NkIwMTQ1Q0YiLCJ2aXNpdG9yX2lkIjoiNzc4MTQyNDg1NDUwMjI5NDk5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace275a81ac51f54d8a8c17986324200604656008a8ee9b3d5e1f4ef470b620546
hovercard-subject-tagpull_request:5121392372
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/coder/coder/31625/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0e44422c136533e0a7b1ab2dc8dfa63226cad9e9203790a586ffda177d8a1d0d/coder/coder/pull/31625
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0e44422c136533e0a7b1ab2dc8dfa63226cad9e9203790a586ffda177d8a1d0d/coder/coder/pull/31625
og:image:altMakes the queries run by background loops (autobuild, notifications, the job reaper, dbpurge) index-backed, so their cost stops growing with total history. Query Before After Change GetWorks...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekylecarbs
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/31625#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F31625
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%2Fcoder%2Fcoder%2Fpull%2F31625
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=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/31625
Reloadhttps://github.com/coder/coder/pull/31625
Reloadhttps://github.com/coder/coder/pull/31625
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests468 (468)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
kylecarbshttps://github.com/kylecarbs
perf/db-template-avg-build-timehttps://github.com/coder/coder/tree/perf/db-template-avg-build-time
perf/db-background-loopshttps://github.com/coder/coder/tree/perf/db-background-loops
Conversationhttps://github.com/coder/coder/pull/31625
Commits1 (1)https://github.com/coder/coder/pull/31625/commits
Checkshttps://github.com/coder/coder/pull/31625/checks
Files changedhttps://github.com/coder/coder/pull/31625/files
perf(coderd): make background loop queries index backedhttps://github.com/coder/coder/pull/31625#top
kylecarbshttps://github.com/kylecarbs
perf/db-template-avg-build-timehttps://github.com/coder/coder/tree/perf/db-template-avg-build-time
perf/db-background-loopshttps://github.com/coder/coder/tree/perf/db-background-loops
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
Nov 2, 2026https://github.com/coder/coder/pull/31625#issue-6163850986
Please reload this pagehttps://github.com/coder/coder/pull/31625
#31624https://github.com/coder/coder/pull/31624
@kylecarbshttps://github.com/kylecarbs
Please reload this pagehttps://github.com/coder/coder/pull/31625
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
stack #31631https://github.com/coder/coder/stack/31631
November 2, 2026 13:49https://github.com/coder/coder/pull/31625#event-34915835248
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
kylecarbshttps://github.com/kylecarbs
Nov 2, 2026https://github.com/coder/coder/pull/31625#event-34915840513
perf(coderd/database): index audit log filters and group members by group #31623 https://github.com/coder/coder/pull/31623
perf(coderd/database): page GetUsers without a window over every user #31626 https://github.com/coder/coder/pull/31626
https://github.com/apps/coder
coderhttps://github.com/apps/coder
DanielleMaywoodhttps://github.com/DanielleMaywood
spikecurtishttps://github.com/spikecurtis
November 3, 2026 15:22https://github.com/coder/coder/pull/31625#event-35034507858
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
November 3, 2026 22:11https://github.com/coder/coder/pull/31625#event-35070194974
https://github.com/spikecurtis
spikecurtishttps://github.com/spikecurtis
Nov 5, 2026https://github.com/coder/coder/pull/31625#issuecomment-6653474904
#31469https://github.com/coder/coder/pull/31469
Please reload this pagehttps://github.com/coder/coder/pull/31625
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
Nov 5, 2026https://github.com/coder/coder/pull/31625#issuecomment-6662088829
@spikecurtishttps://github.com/spikecurtis
#31469https://github.com/coder/coder/pull/31469
Please reload this pagehttps://github.com/coder/coder/pull/31625
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
November 5, 2026 15:34https://github.com/coder/coder/pull/31625#event-35257690552
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Nov 9, 2026https://github.com/coder/coder/pull/31625#issuecomment-6748439414
CORE-832https://linear.app/codercom/issue/CORE-832
Please reload this pagehttps://github.com/coder/coder/pull/31625
https://github.com/kylecarbs
perf(coderd): make background loop queries index backedhttps://github.com/coder/coder/pull/31625/commits/84f88e1b1b8e2e31f57a5515b5194e440eca5feb
84f88e1https://github.com/coder/coder/pull/31625/commits/84f88e1b1b8e2e31f57a5515b5194e440eca5feb
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
force-pushedhttps://github.com/coder/coder/compare/4a0a553302d5996bb1d9ec52402b6edbe748b1fe..84f88e1b1b8e2e31f57a5515b5194e440eca5feb
4a0a553https://github.com/coder/coder/commit/4a0a553302d5996bb1d9ec52402b6edbe748b1fe
84f88e1https://github.com/coder/coder/commit/84f88e1b1b8e2e31f57a5515b5194e440eca5feb
Compare https://github.com/coder/coder/compare/4a0a553302d5996bb1d9ec52402b6edbe748b1fe..84f88e1b1b8e2e31f57a5515b5194e440eca5feb
November 9, 2026 21:28https://github.com/coder/coder/pull/31625#event-35616390341
https://github.com/spikecurtis
spikecurtishttps://github.com/spikecurtis
Nov 17, 2026https://github.com/coder/coder/pull/31625#issuecomment-6948234014
#32099https://github.com/coder/coder/pull/32099
#31469https://github.com/coder/coder/pull/31469
Please reload this pagehttps://github.com/coder/coder/pull/31625
https://github.co/hiddenchars
https://github.com/coder/coder/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%2Fcoder%2Fcoder%2Fpull%2F31625
https://github.com/DanielleMaywood
DanielleMaywood https://github.com/DanielleMaywood
https://github.com/spikecurtis
spikecurtis https://github.com/spikecurtis
Please reload this pagehttps://github.com/coder/coder/pull/31625
https://github.com/kylecarbs
kylecarbs https://github.com/kylecarbs
Please reload this pagehttps://github.com/coder/coder/pull/31625
https://github.com/kylecarbs
https://github.com/spikecurtis
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.