René's URL Explorer Experiment


Title: feat: Add initiator_username to workspace builds in apis by Emyrk · Pull Request #2174 · coder/coder · GitHub

Open Graph Title: feat: Add initiator_username to workspace builds in apis by Emyrk · Pull Request #2174 · coder/coder

X Title: feat: Add initiator_username to workspace builds in apis by Emyrk · Pull Request #2174 · coder/coder

Description: What this does Returns the username of the initiator in workspace builds. Implementation notes The GetUsersByIDs call I use to fetch the usernames might not return the full set requested. For this reason convertWorkspaceBuild now takes a *database.User to handle the nil case. I handle the nil case in the convert for a consistent message of "unknown". In practice, this should never actually happen as our users should always exist.

Open Graph Description: What this does Returns the username of the initiator in workspace builds. Implementation notes The GetUsersByIDs call I use to fetch the usernames might not return the full set requested. For this ...

X Description: What this does Returns the username of the initiator in workspace builds. Implementation notes The GetUsersByIDs call I use to fetch the usernames might not return the full set requested. For this ...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:181a669d-5eb0-a0fc-2821-fe0e1eed64d2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCA4C:16AB79:23D5000:2D8E548:6B018557
html-safe-nonce5aa70a2b6242221d5c870af19a8685f9b6df67e085c86ea908c29ce4af904757
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTRDOjE2QUI3OToyM0Q1MDAwOjJEOEU1NDg6NkIwMTg1NTciLCJ2aXNpdG9yX2lkIjoiODI5MTI4MjU3Mzk4OTA4NjU1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac71ed7c08df509b87af2c1945d0260b89b958af2e2ff0f1b326716c72a5347b71
hovercard-subject-tagpull_request:961849318
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/coder/coder/pull/2174/files
twitter:imagehttps://avatars.githubusercontent.com/u/5446298?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5446298?s=400&v=4
og:image:altWhat this does Returns the username of the initiator in workspace builds. Implementation notes The GetUsersByIDs call I use to fetch the usernames might not return the full set requested. For this ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/coder/coder/pull/2174/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F2174%2Ffiles
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%2F2174%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/2174/files
Reloadhttps://github.com/coder/coder/pull/2174/files
Reloadhttps://github.com/coder/coder/pull/2174/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
Emyrkhttps://github.com/Emyrk
mainhttps://github.com/coder/coder/tree/main
stevenmasley/build_initiator_username_statushttps://github.com/coder/coder/tree/stevenmasley/build_initiator_username_status
Conversation 2 https://github.com/coder/coder/pull/2174
Commits 5 https://github.com/coder/coder/pull/2174/commits
Checks 0 https://github.com/coder/coder/pull/2174/checks
Files changed https://github.com/coder/coder/pull/2174/files
Please reload this pagehttps://github.com/coder/coder/pull/2174/files
feat: Add initiator_username to workspace builds in apis https://github.com/coder/coder/pull/2174/files#top
Show all changes 5 commits https://github.com/coder/coder/pull/2174/files
b5c5aa7 feat: Add initiator_username to workspace builds in apis Emyrk Jun 8, 2022 https://github.com/coder/coder/pull/2174/commits/b5c5aa7565705c5eff688814582ced38eb6087af
187c01f feat: Convertworkspace fixed Emyrk Jun 8, 2022 https://github.com/coder/coder/pull/2174/commits/187c01f2fcd86689ef60fca5aa708e4f28921253
6bd8b29 Make gen Emyrk Jun 8, 2022 https://github.com/coder/coder/pull/2174/commits/6bd8b29637078f8b63dc6eb1ec36b6d1f1fd43ae
9f5515f Update mock type Emyrk Jun 8, 2022 https://github.com/coder/coder/pull/2174/commits/9f5515fc6d0cac340e2d6ddf740317e36271ffb4
32f53e0 Merge remote-tracking branch 'origin/main' into stevenmasley/build_in… Emyrk Jun 8, 2022 https://github.com/coder/coder/pull/2174/commits/32f53e0868daa8b234450919c4eea370bc366565
Clear filters https://github.com/coder/coder/pull/2174/files
Please reload this pagehttps://github.com/coder/coder/pull/2174/files
Please reload this pagehttps://github.com/coder/coder/pull/2174/files
users.go https://github.com/coder/coder/pull/2174/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
workspacebuilds.go https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
workspacebuilds_test.go https://github.com/coder/coder/pull/2174/files#diff-81081239b93aaa61eb8d180a5f9870fda8f0ab5cb4c6727d9d1636aa933e597b
workspaces.go https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
workspacebuilds.go https://github.com/coder/coder/pull/2174/files#diff-8cfafc8249a558628d78547e1f6e66c495a40f5316cb75b930f99e191183672c
typesGenerated.ts https://github.com/coder/coder/pull/2174/files#diff-0db594bd57651eba54a837eab00864ea5f931dfdf058eb3dc3b9e2e211fa6e7a
entities.ts https://github.com/coder/coder/pull/2174/files#diff-d9a272ec414617ffec44928252e3168e6a93df7cb4dff5a8a94f335f3abc3f53
coderd/users.gohttps://github.com/coder/coder/pull/2174/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
View file https://github.com/coder/coder/blob/32f53e0868daa8b234450919c4eea370bc366565/coderd/users.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/2174/{{ revealButtonHref }}
https://github.com/coder/coder/pull/2174/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722
coderd/workspacebuilds.gohttps://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
View file https://github.com/coder/coder/blob/32f53e0868daa8b234450919c4eea370bc366565/coderd/workspacebuilds.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/2174/{{ revealButtonHref }}
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
https://github.com/coder/coder/pull/2174/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
coderd/workspacebuilds_test.gohttps://github.com/coder/coder/pull/2174/files#diff-81081239b93aaa61eb8d180a5f9870fda8f0ab5cb4c6727d9d1636aa933e597b
View file https://github.com/coder/coder/blob/32f53e0868daa8b234450919c4eea370bc366565/coderd/workspacebuilds_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/2174/{{ revealButtonHref }}
https://github.com/coder/coder/pull/2174/files#diff-81081239b93aaa61eb8d180a5f9870fda8f0ab5cb4c6727d9d1636aa933e597b
https://github.com/coder/coder/pull/2174/files#diff-81081239b93aaa61eb8d180a5f9870fda8f0ab5cb4c6727d9d1636aa933e597b
coderd/workspaces.gohttps://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
View file https://github.com/coder/coder/blob/32f53e0868daa8b234450919c4eea370bc366565/coderd/workspaces.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/2174/{{ revealButtonHref }}
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
https://github.com/coder/coder/pull/2174/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
codersdk/workspacebuilds.gohttps://github.com/coder/coder/pull/2174/files#diff-8cfafc8249a558628d78547e1f6e66c495a40f5316cb75b930f99e191183672c
View file https://github.com/coder/coder/blob/32f53e0868daa8b234450919c4eea370bc366565/codersdk/workspacebuilds.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/2174/{{ revealButtonHref }}
https://github.com/coder/coder/pull/2174/files#diff-8cfafc8249a558628d78547e1f6e66c495a40f5316cb75b930f99e191183672c
https://github.com/coder/coder/pull/2174/files#diff-8cfafc8249a558628d78547e1f6e66c495a40f5316cb75b930f99e191183672c
site/src/api/typesGenerated.tshttps://github.com/coder/coder/pull/2174/files#diff-0db594bd57651eba54a837eab00864ea5f931dfdf058eb3dc3b9e2e211fa6e7a
View file https://github.com/coder/coder/blob/32f53e0868daa8b234450919c4eea370bc366565/site/src/api/typesGenerated.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/2174/{{ revealButtonHref }}
https://github.com/coder/coder/pull/2174/files#diff-0db594bd57651eba54a837eab00864ea5f931dfdf058eb3dc3b9e2e211fa6e7a
https://github.com/coder/coder/pull/2174/files#diff-0db594bd57651eba54a837eab00864ea5f931dfdf058eb3dc3b9e2e211fa6e7a
site/src/testHelpers/entities.tshttps://github.com/coder/coder/pull/2174/files#diff-d9a272ec414617ffec44928252e3168e6a93df7cb4dff5a8a94f335f3abc3f53
View file https://github.com/coder/coder/blob/32f53e0868daa8b234450919c4eea370bc366565/site/src/testHelpers/entities.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/2174/{{ revealButtonHref }}
https://github.com/coder/coder/pull/2174/files#diff-d9a272ec414617ffec44928252e3168e6a93df7cb4dff5a8a94f335f3abc3f53
https://github.com/coder/coder/pull/2174/files#diff-d9a272ec414617ffec44928252e3168e6a93df7cb4dff5a8a94f335f3abc3f53
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.