René's URL Explorer Experiment


Title: perf(coderd/database): aggregate user activity and agent usage stats in one pass by kylecarbs · Pull Request #31628 · coder/coder · GitHub

Open Graph Title: perf(coderd/database): aggregate user activity and agent usage stats in one pass by kylecarbs · Pull Request #31628 · coder/coder

X Title: perf(coderd/database): aggregate user activity and agent usage stats in one pass by kylecarbs · Pull Request #31628 · coder/coder

Description: Secure environments for developers and their agents - perf(coderd/database): aggregate user activity and agent usage stats in one pass by kylecarbs · Pull Request #31628 · coder/coder

Open Graph Description: Two insights and telemetry queries now do less work: GetUserActivityInsights uses one grouped pass with GROUPING SETS instead of two aggregations and a sort over rows carrying template lists. GetW...

X Description: Two insights and telemetry queries now do less work: GetUserActivityInsights uses one grouped pass with GROUPING SETS instead of two aggregations and a sort over rows carrying template lists. GetW...

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

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:ecbee475-d65d-f835-be97-ada9a0f7dd26
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8998:10D9F8:1BFFC73:24C3FC6:6B014EA8
html-safe-nonce8c9e17cc7620610a7a7fd6e93af4bafb97b3542228896393f76310c5200f4adf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTk4OjEwRDlGODoxQkZGQzczOjI0QzNGQzY6NkIwMTRFQTgiLCJ2aXNpdG9yX2lkIjoiMjgyNjE0OTI5NTAwNTE5MTg0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf352995fc0886c1e69e6f66cf1e0ae15d34d18d5c89a9cb3483e64634bb8affc
hovercard-subject-tagpull_request:5121393692
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/31628/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/12e368d00b5fc0380e022000da961ee5f9c1fc744b9f64e6f1a88806aafedfe2/coder/coder/pull/31628
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/12e368d00b5fc0380e022000da961ee5f9c1fc744b9f64e6f1a88806aafedfe2/coder/coder/pull/31628
og:image:altTwo insights and telemetry queries now do less work: GetUserActivityInsights uses one grouped pass with GROUPING SETS instead of two aggregations and a sort over rows carrying template lists. GetW...
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/31628#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F31628
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%2F31628
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/31628
Reloadhttps://github.com/coder/coder/pull/31628
Reloadhttps://github.com/coder/coder/pull/31628
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
kylecarbshttps://github.com/kylecarbs
perf/db-workspaces-listhttps://github.com/coder/coder/tree/perf/db-workspaces-list
perf/db-agent-stats-user-activityhttps://github.com/coder/coder/tree/perf/db-agent-stats-user-activity
Conversationhttps://github.com/coder/coder/pull/31628
Commits2 (2)https://github.com/coder/coder/pull/31628/commits
Checkshttps://github.com/coder/coder/pull/31628/checks
Files changedhttps://github.com/coder/coder/pull/31628/files
perf(coderd/database): aggregate user activity and agent usage stats in one passhttps://github.com/coder/coder/pull/31628#top
kylecarbshttps://github.com/kylecarbs
perf/db-workspaces-listhttps://github.com/coder/coder/tree/perf/db-workspaces-list
perf/db-agent-stats-user-activityhttps://github.com/coder/coder/tree/perf/db-agent-stats-user-activity
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
Nov 2, 2026https://github.com/coder/coder/pull/31628#issue-6163852549
Please reload this pagehttps://github.com/coder/coder/pull/31628
@EhabYhttps://github.com/EhabY
#31627https://github.com/coder/coder/pull/31627
@kylecarbshttps://github.com/kylecarbs
Please reload this pagehttps://github.com/coder/coder/pull/31628
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/31628#event-34915835318
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/31628#event-34915851792
perf(coderd/database): index audit log filters and group members by group #31623 https://github.com/coder/coder/pull/31623
perf(coderd/database): look up template app insights from usage names #31629 https://github.com/coder/coder/pull/31629
https://github.com/apps/coder
coderhttps://github.com/apps/coder
EhabYhttps://github.com/EhabY
cstyanhttps://github.com/cstyan
November 3, 2026 15:22https://github.com/coder/coder/pull/31628#event-35034516239
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
November 3, 2026 22:11https://github.com/coder/coder/pull/31628#event-35070195088
https://github.com/EhabY
EhabYhttps://github.com/EhabY
Nov 9, 2026https://github.com/coder/coder/pull/31628#issuecomment-6746276908
Please reload this pagehttps://github.com/coder/coder/pull/31628
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Nov 9, 2026https://github.com/coder/coder/pull/31628#issuecomment-6748443658
CORE-835https://linear.app/codercom/issue/CORE-835
Please reload this pagehttps://github.com/coder/coder/pull/31628
kylecarbshttps://github.com/kylecarbs
November 9, 2026 21:08https://github.com/coder/coder/pull/31628#commits-pushed-4f9ec57
https://github.com/kylecarbs
perf(coderd/database): aggregate user activity and agent stats in one…https://github.com/coder/coder/pull/31628/commits/4f9ec57c931760c217e2b5ac7bce01c996b029fa
4f9ec57https://github.com/coder/coder/pull/31628/commits/4f9ec57c931760c217e2b5ac7bce01c996b029fa
https://github.com/kylecarbs
perf(coderd/database): keep GetWorkspaceAgentStats, join usage sessio…https://github.com/coder/coder/pull/31628/commits/19bcdd5fe2a1e6fbf5c5dd56d4b6519a20e5a5ba
19bcdd5https://github.com/coder/coder/pull/31628/commits/19bcdd5fe2a1e6fbf5c5dd56d4b6519a20e5a5ba
#31628https://github.com/coder/coder/pull/31628
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
force-pushedhttps://github.com/coder/coder/compare/0b091f254f64fb18fdc96d4fdf9394386a33f4a0..19bcdd5fe2a1e6fbf5c5dd56d4b6519a20e5a5ba
0b091f2https://github.com/coder/coder/commit/0b091f254f64fb18fdc96d4fdf9394386a33f4a0
19bcdd5https://github.com/coder/coder/commit/19bcdd5fe2a1e6fbf5c5dd56d4b6519a20e5a5ba
Compare https://github.com/coder/coder/compare/0b091f254f64fb18fdc96d4fdf9394386a33f4a0..19bcdd5fe2a1e6fbf5c5dd56d4b6519a20e5a5ba
November 9, 2026 21:28https://github.com/coder/coder/pull/31628#event-35616390240
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
Nov 9, 2026https://github.com/coder/coder/pull/31628#event-35616411156
https://github.com/EhabY
EhabYhttps://github.com/EhabY
Nov 10, 2026 https://github.com/coder/coder/pull/31628#pullrequestreview-5842302161
View reviewed changes https://github.com/coder/coder/pull/31628/files/19bcdd5fe2a1e6fbf5c5dd56d4b6519a20e5a5ba
https://github.com/cstyan
cstyanhttps://github.com/cstyan
Nov 10, 2026 https://github.com/coder/coder/pull/31628#pullrequestreview-5844849965
View reviewed changes https://github.com/coder/coder/pull/31628/files/19bcdd5fe2a1e6fbf5c5dd56d4b6519a20e5a5ba
cstyanhttps://github.com/cstyan
https://github.com/coder/coder/pull/31628#pullrequestreview-5844849965
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/31628
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%2F31628
https://github.com/cstyan
cstyan https://github.com/cstyan
https://github.com/coder/coder/pull/31628/files/19bcdd5fe2a1e6fbf5c5dd56d4b6519a20e5a5ba
https://github.com/EhabY
EhabY https://github.com/EhabY
https://github.com/coder/coder/pull/31628/files/19bcdd5fe2a1e6fbf5c5dd56d4b6519a20e5a5ba
Please reload this pagehttps://github.com/coder/coder/pull/31628
https://github.com/kylecarbs
kylecarbs https://github.com/kylecarbs
Please reload this pagehttps://github.com/coder/coder/pull/31628
https://github.com/kylecarbs
https://github.com/EhabY
https://github.com/cstyan
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.