René's URL Explorer Experiment


Title: perf: use the build parameter index in GetTemplateParameterInsights by dylanhuff-at-coder · Pull Request #31765 · coder/coder · GitHub

Open Graph Title: perf: use the build parameter index in GetTemplateParameterInsights by dylanhuff-at-coder · Pull Request #31765 · coder/coder

X Title: perf: use the build parameter index in GetTemplateParameterInsights by dylanhuff-at-coder · Pull Request #31765 · coder/coder

Description: Secure environments for developers and their agents - perf: use the build parameter index in GetTemplateParameterInsights by dylanhuff-at-coder · Pull Request #31765 · coder/coder

Open Graph Description: Speeds up GetTemplateParameterInsights, which the insights collector runs every 5 minutes on every replica. The @> array join could only hash on name, so every run scanned all of workspace_build...

X Description: Speeds up GetTemplateParameterInsights, which the insights collector runs every 5 minutes on every replica. The @> array join could only hash on name, so every run scanned all of workspace_b...

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

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:b84f25e6-f6a3-8c61-884d-5a8205295101
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAFA0:1D86C4:1A4734B:215D15A:6B014BB4
html-safe-nonce5e46aba6cd7b188012a762c71e4a85f2f9e3825d03a1e0845b47cb15d06aca9a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkEwOjFEODZDNDoxQTQ3MzRCOjIxNUQxNUE6NkIwMTRCQjQiLCJ2aXNpdG9yX2lkIjoiNTE4MTU0OTEwOTAzMTI2OTY0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccb3450648d4e7a1c3a011d11c1f4b04fdeac0056015a036042ffbe987f3d9305
hovercard-subject-tagpull_request:5165750366
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/31765/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/45ee629ddc77da41ccfdb44e25cb85adfb89652d1296614e5db0cfc4231acb9e/coder/coder/pull/31765
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/45ee629ddc77da41ccfdb44e25cb85adfb89652d1296614e5db0cfc4231acb9e/coder/coder/pull/31765
og:image:altSpeeds up GetTemplateParameterInsights, which the insights collector runs every 5 minutes on every replica. The @> array join could only hash on name, so every run scanned all of workspace_build...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedylanhuff-at-coder
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/31765#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F31765
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%2F31765
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/31765
Reloadhttps://github.com/coder/coder/pull/31765
Reloadhttps://github.com/coder/coder/pull/31765
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests469 (469)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
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
mainhttps://github.com/coder/coder/tree/main
dylan/core-439-template-insights-prometheus-scalinghttps://github.com/coder/coder/tree/dylan/core-439-template-insights-prometheus-scaling
Conversationhttps://github.com/coder/coder/pull/31765
Commits3 (3)https://github.com/coder/coder/pull/31765/commits
Checkshttps://github.com/coder/coder/pull/31765/checks
Files changedhttps://github.com/coder/coder/pull/31765/files
perf: use the build parameter index in GetTemplateParameterInsightshttps://github.com/coder/coder/pull/31765#top
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
mainhttps://github.com/coder/coder/tree/main
dylan/core-439-template-insights-prometheus-scalinghttps://github.com/coder/coder/tree/dylan/core-439-template-insights-prometheus-scaling
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
Nov 5, 2026https://github.com/coder/coder/pull/31765#issue-6216309417
Please reload this pagehttps://github.com/coder/coder/pull/31765
#31766https://github.com/coder/coder/pull/31766
CORE-439https://linear.app/codercom/issue/CORE-439
Please reload this pagehttps://github.com/coder/coder/pull/31765
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 4, 2026 22:14https://github.com/coder/coder/pull/31765#commits-pushed-01dbc53
https://github.com/dylanhuff-at-coder
perf(coderd/database): use the build parameter index in GetTemplatePa…https://github.com/coder/coder/pull/31765/commits/01dbc53a84d1b58bc7619da7d93555f098613dfa
01dbc53https://github.com/coder/coder/pull/31765/commits/01dbc53a84d1b58bc7619da7d93555f098613dfa
https://github.com/dylanhuff-at-coder
docs(docs/admin/integrations): dedupe insights metrics across replica…https://github.com/coder/coder/pull/31765/commits/7e80fc446476a364dc8fe5b3aacba9670a23d686
7e80fc4https://github.com/coder/coder/pull/31765/commits/7e80fc446476a364dc8fe5b3aacba9670a23d686
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Nov 5, 2026https://github.com/coder/coder/pull/31765#issuecomment-6649078135
CORE-439https://linear.app/codercom/issue/CORE-439
Please reload this pagehttps://github.com/coder/coder/pull/31765
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
Nov 5, 2026 https://github.com/coder/coder/pull/31765#ref-pullrequest-6216310933
perf(coderd/database): index workspace_app_stats by session_ended_at #31766 https://github.com/coder/coder/pull/31766
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
Nov 5, 2026https://github.com/coder/coder/pull/31765#event-35201795246
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
Nov 5, 2026https://github.com/coder/coder/pull/31765#issuecomment-6649083827
Please reload this pagehttps://github.com/coder/coder/pull/31765
https://github.com/apps/coder-agents-review
coder-agents-reviewhttps://github.com/apps/coder-agents-review
Nov 5, 2026https://github.com/coder/coder/pull/31765#issuecomment-6649084479
Please reload this pagehttps://github.com/coder/coder/pull/31765
View chathttps://dogfood.cdr.dev/agents/03024f8d-62c1-4001-85f5-a7fa91cd53a7
@dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
Reviewhttps://github.com/coder/coder/pull/31765#pullrequestreview-5779698681
42640dc..7e80fc4https://github.com/coder/coder/compare/42640dc831e20726471f0ece580fe5d81a3da495...7e80fc446476a364dc8fe5b3aacba9670a23d686
Reviewhttps://github.com/coder/coder/pull/31765#pullrequestreview-5779698681
#31765https://github.com/coder/coder/pull/31765
42640dchttps://github.com/coder/coder/commit/42640dc831e20726471f0ece580fe5d81a3da495
7e80fc4https://github.com/coder/coder/commit/7e80fc446476a364dc8fe5b3aacba9670a23d686
Coder Agentshttps://coder.com
Please reload this pagehttps://github.com/coder/coder/pull/31765
https://github.com/apps/coder-agents-review
coder-agents-reviewhttps://github.com/apps/coder-agents-review
Nov 5, 2026 https://github.com/coder/coder/pull/31765#pullrequestreview-5779698681
View reviewed changes https://github.com/coder/coder/pull/31765/files/7e80fc446476a364dc8fe5b3aacba9670a23d686
coder-agents-reviewhttps://github.com/apps/coder-agents-review
https://github.com/coder/coder/pull/31765#pullrequestreview-5779698681
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/31765
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 5, 2026 17:33https://github.com/coder/coder/pull/31765#event-35268713953
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
BobbyHohttps://github.com/BobbyHo
November 5, 2026 17:35https://github.com/coder/coder/pull/31765#event-35268848803
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Nov 5, 2026 https://github.com/coder/coder/pull/31765#pullrequestreview-5791667114
View reviewed changes https://github.com/coder/coder/pull/31765/files/7e80fc446476a364dc8fe5b3aacba9670a23d686
BobbyHohttps://github.com/BobbyHo
https://github.com/coder/coder/pull/31765#pullrequestreview-5791667114
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/31765
https://github.com/apps/coderagents
coderagentshttps://github.com/apps/coderagents
Nov 6, 2026 https://github.com/coder/coder/pull/31765#pullrequestreview-5800011900
View reviewed changes https://github.com/coder/coder/pull/31765/files/7e80fc446476a364dc8fe5b3aacba9670a23d686
docs/admin/integrations/prometheus.mdhttps://github.com/coder/coder/pull/31765/files/7e80fc446476a364dc8fe5b3aacba9670a23d686#diff-395f266c21ea864d05d6a3cee24c0f1f7e4fb940a7fd5bfa56c4a200e10cc876
Please reload this pagehttps://github.com/coder/coder/pull/31765
https://github.com/apps/coderagents
coderagentshttps://github.com/apps/coderagents
Nov 6, 2026https://github.com/coder/coder/pull/31765#issuecomment-6684761804
Please reload this pagehttps://github.com/coder/coder/pull/31765
openhttps://coder.com/docs/admin/integrations/prometheus
28d1bddhttps://github.com/coder/coder/commit/28d1bdd0925f23f3bcf9044c3f58fce833bda733
Coder Agentshttps://coder.com/docs/ai-coder/agents
Please reload this pagehttps://github.com/coder/coder/pull/31765
https://github.com/dylanhuff-at-coder
docs(docs/admin/integrations): note that insights metrics use per-rep…https://github.com/coder/coder/pull/31765/commits/28d1bdd0925f23f3bcf9044c3f58fce833bda733
28d1bddhttps://github.com/coder/coder/pull/31765/commits/28d1bdd0925f23f3bcf9044c3f58fce833bda733
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
Nov 10, 2026 https://github.com/coder/coder/pull/31765#ref-commit-78e1b28
https://github.com/dylanhuff-at-coder
perf(coderd/database): index workspace_app_stats by session_ended_at (https://github.com/coder/coder/commit/78e1b280d19931ac34d52e0e91e18d6e16987fc4
#…https://github.com/coder/coder/pull/31766
78e1b28https://github.com/coder/coder/commit/78e1b280d19931ac34d52e0e91e18d6e16987fc4
…31766https://github.com/coder/coder/pull/31766
#31765https://github.com/coder/coder/pull/31765
https://linear.app/codercom/issue/CORE-776https://linear.app/codercom/issue/CORE-776
42640dchttps://github.com/coder/coder/commit/42640dc831e20726471f0ece580fe5d81a3da495
https://linear.app/codercom/issue/CORE-439https://linear.app/codercom/issue/CORE-439
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
3728e7ahttps://github.com/coder/coder/commit/3728e7a4e15824b1241a85de73f2ea3447f7d858
Nov 10, 2026https://github.com/coder/coder/pull/31765#event-35709737272
Please reload this pagehttps://github.com/coder/coder/pull/31765
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 10, 2026 17:30https://github.com/coder/coder/pull/31765#event-35709741499
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 10, 2026 17:30https://github.com/coder/coder/pull/31765#event-35709747598
GitHub Actionshttps://github.com/apps/github-actions
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 10, 2026https://github.com/coder/coder/pull/31765#event-35709761562
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
backport https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Abackport
Nov 10, 2026https://github.com/coder/coder/pull/31765#event-35709862178
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 10, 2026 17:31https://github.com/coder/coder/pull/31765#event-35709871719
GitHub Actionshttps://github.com/apps/github-actions
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 10, 2026 17:32https://github.com/coder/coder/pull/31765#event-35709928143
GitHub Actionshttps://github.com/apps/github-actions
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 10, 2026 17:32https://github.com/coder/coder/pull/31765#event-35709928208
GitHub Actionshttps://github.com/apps/github-actions
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 10, 2026 17:32https://github.com/coder/coder/pull/31765#event-35709928211
GitHub Actionshttps://github.com/apps/github-actions
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
temporarily deployedhttps://github.com/coder/coder/actions/runs/42865873426/job/130004292391
November 10, 2026 17:32https://github.com/coder/coder/pull/31765#event-35709928223
GitHub Actionshttps://github.com/apps/github-actions
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 10, 2026 17:32https://github.com/coder/coder/pull/31765#event-35709928274
GitHub Actionshttps://github.com/apps/github-actions
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
Backport to release/2.38 #6883https://github.com/coder/coder/actions/runs/42865873426
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F31765
https://github.com/BobbyHo
BobbyHo https://github.com/BobbyHo
https://github.com/coder/coder/pull/31765/files/7e80fc446476a364dc8fe5b3aacba9670a23d686
https://github.com/apps/coderagents
coderagents[bot] https://github.com/apps/coderagents
https://github.com/coder/coder/pull/31765/files/28d1bdd0925f23f3bcf9044c3f58fce833bda733
https://github.com/apps/coder-agents-review
coder-agents-review[bot] https://github.com/apps/coder-agents-review
https://github.com/coder/coder/pull/31765/files/7e80fc446476a364dc8fe5b3aacba9670a23d686
Please reload this pagehttps://github.com/coder/coder/pull/31765
https://github.com/dylanhuff-at-coder
dylanhuff-at-coder https://github.com/dylanhuff-at-coder
backport https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Abackport
Please reload this pagehttps://github.com/coder/coder/pull/31765
https://github.com/dylanhuff-at-coder
https://github.com/BobbyHo
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.