René's URL Explorer Experiment


Title: feat: initiator_username joined to workspace_build queries by Emyrk · Pull Request #2137 · coder/coder · GitHub

Open Graph Title: feat: initiator_username joined to workspace_build queries by Emyrk · Pull Request #2137 · coder/coder

X Title: feat: initiator_username joined to workspace_build queries by Emyrk · Pull Request #2137 · coder/coder

Description: What this does All workspace_builds now also return initiator_name with initiator_id. This allows the UI to use the username of the initiator. Uses PG views to make models for sqlc. Future Work Currently autostart related entries use the workspace owner as the initator. We should change this to show some "autostart" or "system" user. coder/coderd/autobuild/executor/lifecycle_executor.go Line 238 in 8beccfa InitiatorID: workspace.OwnerID,

Open Graph Description: What this does All workspace_builds now also return initiator_name with initiator_id. This allows the UI to use the username of the initiator. Uses PG views to make models for sqlc. Future Work Cur...

X Description: What this does All workspace_builds now also return initiator_name with initiator_id. This allows the UI to use the username of the initiator. Uses PG views to make models for sqlc. Future Work Cur...

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

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:2e1210aa-0d28-e0e7-32e7-42d35e1365a6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9B26:14ECB:2374037:2D07490:6B0181CC
html-safe-nonce4c1c29a4c5262d697643e6efee9a8139707f53e4a8b4dfb3868a5f904b5712c7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjI2OjE0RUNCOjIzNzQwMzc6MkQwNzQ5MDo2QjAxODFDQyIsInZpc2l0b3JfaWQiOiI4OTMzNzc4OTU5NTY5NjE3MzU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac066cf1edf9e0b3be4823cc57cd9fe632bfca040489ec1d78f46e030703d516ae
hovercard-subject-tagpull_request:960869839
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/2137/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 All workspace_builds now also return initiator_name with initiator_id. This allows the UI to use the username of the initiator. Uses PG views to make models for sqlc. Future Work Cur...
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/2137/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F2137%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%2F2137%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/2137/files
Reloadhttps://github.com/coder/coder/pull/2137/files
Reloadhttps://github.com/coder/coder/pull/2137/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_usernamehttps://github.com/coder/coder/tree/stevenmasley/build_initiator_username
Conversation 7 https://github.com/coder/coder/pull/2137
Commits 4 https://github.com/coder/coder/pull/2137/commits
Checks 0 https://github.com/coder/coder/pull/2137/checks
Files changed https://github.com/coder/coder/pull/2137/files
Please reload this pagehttps://github.com/coder/coder/pull/2137/files
feat: initiator_username joined to workspace_build queries https://github.com/coder/coder/pull/2137/files#top
Show all changes 4 commits https://github.com/coder/coder/pull/2137/files
541f985 feat: initiator_username joined to workspace_build queries Emyrk Jun 7, 2022 https://github.com/coder/coder/pull/2137/commits/541f98544185ce82efc96e0c22a957c02fc45568
8beccfa Rename type Emyrk Jun 7, 2022 https://github.com/coder/coder/pull/2137/commits/8beccfa829be511fa7347583babf19f4f97804ee
6df96ef Assert username in single workspace build fetch Emyrk Jun 7, 2022 https://github.com/coder/coder/pull/2137/commits/6df96ef49514cdd2aa62404b3e1a452742360441
454aea7 Add field to ts mock Emyrk Jun 7, 2022 https://github.com/coder/coder/pull/2137/commits/454aea7f85dcefb736789cb7e47872e62a19401c
Clear filters https://github.com/coder/coder/pull/2137/files
Please reload this pagehttps://github.com/coder/coder/pull/2137/files
Please reload this pagehttps://github.com/coder/coder/pull/2137/files
lifecycle_executor.go https://github.com/coder/coder/pull/2137/files#diff-db87970804bf1469aea39e8d9b25a2e9ff56a7fee6ed72ccf5d2550d940e662e
databasefake.go https://github.com/coder/coder/pull/2137/files#diff-7d8285434c7381493f3ec8aa6c8671699af10be17b34acf10d576495f1de16f9
dump.sql https://github.com/coder/coder/pull/2137/files#diff-a29e74f67def8d2522ccc182c3f3202bb086399e8fb59309fa7d0abc6b39a8e9
000022_workspace_builds_with_initiaitor_view.down.sql https://github.com/coder/coder/pull/2137/files#diff-667a532dba4c535e2caa7b004eb548882f9960264fd40106c795b48e5c264658
000022_workspace_builds_with_initiaitor_view.up.sql https://github.com/coder/coder/pull/2137/files#diff-69f795265c344f4658da038854b39b0cd2ba98b05eb56b6386a4d36ebd73f0c9
models.go https://github.com/coder/coder/pull/2137/files#diff-b9c30e0e1f057da4bab9c301730ed1ebc8a82e9b0b0fa6ffa29bbe24117b5f21
querier.go https://github.com/coder/coder/pull/2137/files#diff-a96e7cef920f37ba1f1032eba4b241d1a9a06bc2089062b4ed3b1aa73c6bcd48
queries.sql.go https://github.com/coder/coder/pull/2137/files#diff-bc904829e61be3669efa87d9f79fe9137ea288eebef74d7ae9c87cfab9833c43
workspacebuilds.sql https://github.com/coder/coder/pull/2137/files#diff-fc0c7f1bd4617c5e1a14fee92b2ceabf9171cdc137a94048498bb56f3e43c0bd
workspacebuildparam.go https://github.com/coder/coder/pull/2137/files#diff-d7b47b87a3a6d8ac8d13d233a447bfeb2b82d87106c5449a4620eb6d40138c67
workspacebuilds.go https://github.com/coder/coder/pull/2137/files#diff-798ff0da9c879a2067b17793a37b78dc954c7055bea94df7a3c4e6356eb04fab
workspacebuilds_test.go https://github.com/coder/coder/pull/2137/files#diff-81081239b93aaa61eb8d180a5f9870fda8f0ab5cb4c6727d9d1636aa933e597b
workspaces.go https://github.com/coder/coder/pull/2137/files#diff-46f90baab52ea3ad914acbde30d656dbc8e46f5918d19bc056c445a1dc502482
workspacebuilds.go https://github.com/coder/coder/pull/2137/files#diff-8cfafc8249a558628d78547e1f6e66c495a40f5316cb75b930f99e191183672c
typesGenerated.ts https://github.com/coder/coder/pull/2137/files#diff-0db594bd57651eba54a837eab00864ea5f931dfdf058eb3dc3b9e2e211fa6e7a
entities.ts https://github.com/coder/coder/pull/2137/files#diff-d9a272ec414617ffec44928252e3168e6a93df7cb4dff5a8a94f335f3abc3f53
coderd/autobuild/executor/lifecycle_executor.gohttps://github.com/coder/coder/pull/2137/files#diff-db87970804bf1469aea39e8d9b25a2e9ff56a7fee6ed72ccf5d2550d940e662e
View file https://github.com/coder/coder/blob/454aea7f85dcefb736789cb7e47872e62a19401c/coderd/autobuild/executor/lifecycle_executor.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/2137/{{ revealButtonHref }}
https://github.com/coder/coder/pull/2137/files#diff-db87970804bf1469aea39e8d9b25a2e9ff56a7fee6ed72ccf5d2550d940e662e
https://github.com/coder/coder/pull/2137/files#diff-db87970804bf1469aea39e8d9b25a2e9ff56a7fee6ed72ccf5d2550d940e662e
coderd/database/databasefake/databasefake.gohttps://github.com/coder/coder/pull/2137/files#diff-7d8285434c7381493f3ec8aa6c8671699af10be17b34acf10d576495f1de16f9
View file https://github.com/coder/coder/blob/454aea7f85dcefb736789cb7e47872e62a19401c/coderd/database/databasefake/databasefake.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/2137/{{ revealButtonHref }}
https://github.com/coder/coder/pull/2137/files#diff-7d8285434c7381493f3ec8aa6c8671699af10be17b34acf10d576495f1de16f9
https://github.com/coder/coder/pull/2137/files#diff-7d8285434c7381493f3ec8aa6c8671699af10be17b34acf10d576495f1de16f9
https://github.com/coder/coder/pull/2137/files#diff-7d8285434c7381493f3ec8aa6c8671699af10be17b34acf10d576495f1de16f9
https://github.com/coder/coder/pull/2137/files#diff-7d8285434c7381493f3ec8aa6c8671699af10be17b34acf10d576495f1de16f9
https://github.com/coder/coder/pull/2137/files#diff-7d8285434c7381493f3ec8aa6c8671699af10be17b34acf10d576495f1de16f9
https://github.com/coder/coder/pull/2137/files#diff-7d8285434c7381493f3ec8aa6c8671699af10be17b34acf10d576495f1de16f9
coderd/database/dump.sqlhttps://github.com/coder/coder/pull/2137/files#diff-a29e74f67def8d2522ccc182c3f3202bb086399e8fb59309fa7d0abc6b39a8e9
View file https://github.com/coder/coder/blob/454aea7f85dcefb736789cb7e47872e62a19401c/coderd/database/dump.sql
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/coder/coder/pull/2137/files
coderd/database/migrations/000022_workspace_builds_with_initiaitor_view.down.sqlhttps://github.com/coder/coder/pull/2137/files#diff-667a532dba4c535e2caa7b004eb548882f9960264fd40106c795b48e5c264658
View file https://github.com/coder/coder/blob/454aea7f85dcefb736789cb7e47872e62a19401c/coderd/database/migrations/000022_workspace_builds_with_initiaitor_view.down.sql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/2137/{{ revealButtonHref }}
coderd/database/migrations/000022_workspace_builds_with_initiaitor_view.up.sqlhttps://github.com/coder/coder/pull/2137/files#diff-69f795265c344f4658da038854b39b0cd2ba98b05eb56b6386a4d36ebd73f0c9
View file https://github.com/coder/coder/blob/454aea7f85dcefb736789cb7e47872e62a19401c/coderd/database/migrations/000022_workspace_builds_with_initiaitor_view.up.sql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/2137/{{ revealButtonHref }}
kylecarbshttps://github.com/kylecarbs
Jun 7, 2022https://github.com/coder/coder/pull/2137/files#r891723486
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2137/files
Emyrkhttps://github.com/Emyrk
Jun 8, 2022https://github.com/coder/coder/pull/2137/files#r892341647
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@kylecarbshttps://github.com/kylecarbs
Please reload this pagehttps://github.com/coder/coder/pull/2137/files
Emyrkhttps://github.com/Emyrk
Jun 8, 2022https://github.com/coder/coder/pull/2137/files#r892345161
Please reload this pagehttps://github.com/coder/coder/pull/2137/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2137/files
coderd/database/models.gohttps://github.com/coder/coder/pull/2137/files#diff-b9c30e0e1f057da4bab9c301730ed1ebc8a82e9b0b0fa6ffa29bbe24117b5f21
View file https://github.com/coder/coder/blob/454aea7f85dcefb736789cb7e47872e62a19401c/coderd/database/models.go
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/coder/coder/pull/2137/files
coderd/database/querier.gohttps://github.com/coder/coder/pull/2137/files#diff-a96e7cef920f37ba1f1032eba4b241d1a9a06bc2089062b4ed3b1aa73c6bcd48
View file https://github.com/coder/coder/blob/454aea7f85dcefb736789cb7e47872e62a19401c/coderd/database/querier.go
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/coder/coder/pull/2137/files
Please reload this pagehttps://github.com/coder/coder/pull/2137/files
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.