René's URL Explorer Experiment


Title: perf: support fastpath in dbauthz GetLatestWorkspaceBuildByWorkspaceID by cstyan · Pull Request #21047 · coder/coder · GitHub

Open Graph Title: perf: support fastpath in dbauthz GetLatestWorkspaceBuildByWorkspaceID by cstyan · Pull Request #21047 · coder/coder

X Title: perf: support fastpath in dbauthz GetLatestWorkspaceBuildByWorkspaceID by cstyan · Pull Request #21047 · coder/coder

Description: Secure environments for developers and their agents - perf: support fastpath in dbauthz GetLatestWorkspaceBuildByWorkspaceID by cstyan · Pull Request #21047 · coder/coder

Open Graph Description: This PR piggy backs on the agent API cached workspace added in #20662 to provide a fast path for avoiding GetWorkspaceByID calls in GetLatestWorkspaceBuildByWorkspaceID via injection of the workspa...

X Description: This PR piggy backs on the agent API cached workspace added in #20662 to provide a fast path for avoiding GetWorkspaceByID calls in GetLatestWorkspaceBuildByWorkspaceID via injection of the workspa...

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

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:67571b51-b4ee-ce49-c0ab-33bf9477d066
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD08C:1D86C4:27296D7:31BE313:6B0196CB
html-safe-nonce5bf11e06298b04d4dcefa36a5ff67d22416b3285ce7456f600f0ea2052d064d6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDhDOjFEODZDNDoyNzI5NkQ3OjMxQkUzMTM6NkIwMTk2Q0IiLCJ2aXNpdG9yX2lkIjoiMjg3ODM5NTg0OTg3OTE2NDYxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4598f8dc4501cb27e3fad37cb9685651fee7f923ae13dce21386d1b45e8fb919
hovercard-subject-tagpull_request:3061368702
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/21047/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c3bf10a951c8fbddd6535110d73f6ee6d7db43990185c84b74a27af478b48516/coder/coder/pull/21047
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c3bf10a951c8fbddd6535110d73f6ee6d7db43990185c84b74a27af478b48516/coder/coder/pull/21047
og:image:altThis PR piggy backs on the agent API cached workspace added in #20662 to provide a fast path for avoiding GetWorkspaceByID calls in GetLatestWorkspaceBuildByWorkspaceID via injection of the workspa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecstyan
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/21047#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F21047
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%2F21047
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/21047
Reloadhttps://github.com/coder/coder/pull/21047
Reloadhttps://github.com/coder/coder/pull/21047
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)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
cstyanhttps://github.com/cstyan
mainhttps://github.com/coder/coder/tree/main
callum/workspace-build-fastpathhttps://github.com/coder/coder/tree/callum/workspace-build-fastpath
Conversationhttps://github.com/coder/coder/pull/21047
Commits5 (5)https://github.com/coder/coder/pull/21047/commits
Checkshttps://github.com/coder/coder/pull/21047/checks
Files changedhttps://github.com/coder/coder/pull/21047/files
perf: support fastpath in dbauthz GetLatestWorkspaceBuildByWorkspaceIDhttps://github.com/coder/coder/pull/21047#top
cstyanhttps://github.com/cstyan
mainhttps://github.com/coder/coder/tree/main
callum/workspace-build-fastpathhttps://github.com/coder/coder/tree/callum/workspace-build-fastpath
https://github.com/cstyan
cstyanhttps://github.com/cstyan
Dec 1, 2025https://github.com/coder/coder/pull/21047#issue-3683358324
#20662https://github.com/coder/coder/pull/20662
Please reload this pagehttps://github.com/coder/coder/pull/21047
https://github.com/cstyan
support fastpath in dbauthz GetLatestWorkspaceBuildByWorkspaceID viahttps://github.com/coder/coder/pull/21047/commits/66615ca07ba5f06b8d19cec33586d1b908ef1be6
66615cahttps://github.com/coder/coder/pull/21047/commits/66615ca07ba5f06b8d19cec33586d1b908ef1be6
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
cstyanhttps://github.com/cstyan
Dec 1, 2025https://github.com/coder/coder/pull/21047#event-21290981257
cstyanhttps://github.com/cstyan
December 2, 2025 00:18https://github.com/coder/coder/pull/21047#commits-pushed-d96eb20
https://github.com/cstyan
fix tests that were missing cached ws objecthttps://github.com/coder/coder/pull/21047/commits/d96eb2024cc759ac6da69255e957f5e5a0a0e0ae
d96eb20https://github.com/coder/coder/pull/21047/commits/d96eb2024cc759ac6da69255e957f5e5a0a0e0ae
https://github.com/cstyan
simplify, we don't need the cached workspace type from agentapihttps://github.com/coder/coder/pull/21047/commits/7a1c9e0a9b1b3641bf83f82b7736704acaf29e30
7a1c9e0https://github.com/coder/coder/pull/21047/commits/7a1c9e0a9b1b3641bf83f82b7736704acaf29e30
https://github.com/cstyan
fix fmt and linthttps://github.com/coder/coder/pull/21047/commits/31d36ee302bac7c6d9475314716ec9472352be98
31d36eehttps://github.com/coder/coder/pull/21047/commits/31d36ee302bac7c6d9475314716ec9472352be98
https://github.com/cstyan
cstyanhttps://github.com/cstyan
Dec 4, 2025 https://github.com/coder/coder/pull/21047#ref-issue-3159063826
[Epic] Most Expensive Queries coder/internal#729 https://github.com/coder/internal/issues/729
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
Dec 9, 2025 https://github.com/coder/coder/pull/21047#pullrequestreview-3559924912
View reviewed changes https://github.com/coder/coder/pull/21047/files/31d36ee302bac7c6d9475314716ec9472352be98
coderd/agentapi/cached_workspace.gohttps://github.com/coder/coder/pull/21047/files/31d36ee302bac7c6d9475314716ec9472352be98#diff-55c32a66644738ac219e93a997e5571d8d112ccdae602454ff1f8d82c73280a3
Please reload this pagehttps://github.com/coder/coder/pull/21047
https://github.com/cstyan
use xerrorshttps://github.com/coder/coder/pull/21047/commits/87b1b40cf84a672a7f88c95a57885ac252ab1da9
87b1b40https://github.com/coder/coder/pull/21047/commits/87b1b40cf84a672a7f88c95a57885ac252ab1da9
https://github.com/cstyan
cstyanhttps://github.com/cstyan
27c3ec0https://github.com/coder/coder/commit/27c3ec072e5c22ef1123da0b028933d617d73353
Dec 9, 2025https://github.com/coder/coder/pull/21047#event-21466325212
https://github.com/cstyan
cstyanhttps://github.com/cstyan
December 9, 2025 23:53https://github.com/coder/coder/pull/21047#event-21466325561
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Dec 9, 2025https://github.com/coder/coder/pull/21047#event-21466326695
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%2F21047
https://github.com/Emyrk
Emyrk https://github.com/Emyrk
https://github.com/coder/coder/pull/21047/files/31d36ee302bac7c6d9475314716ec9472352be98
Please reload this pagehttps://github.com/coder/coder/pull/21047
https://github.com/cstyan
cstyan https://github.com/cstyan
Please reload this pagehttps://github.com/coder/coder/pull/21047
https://github.com/cstyan
https://github.com/Emyrk
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.