René's URL Explorer Experiment


Title: refactor: add chat_message_role enum and content_version column by mafredri · Pull Request #23042 · coder/coder · GitHub

Open Graph Title: refactor: add chat_message_role enum and content_version column by mafredri · Pull Request #23042 · coder/coder

X Title: refactor: add chat_message_role enum and content_version column by mafredri · Pull Request #23042 · coder/coder

Description: Secure environments for developers and their agents - refactor: add chat_message_role enum and content_version column by mafredri · Pull Request #23042 · coder/coder

Open Graph Description: Follow-up to #22958. Adds a Postgres enum for chat_messages.role and a content_version column that replaces the structural heuristic for distinguishing content formats. Migration 000434 creates cha...

X Description: Follow-up to #22958. Adds a Postgres enum for chat_messages.role and a content_version column that replaces the structural heuristic for distinguishing content formats. Migration 000434 creates cha...

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

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:92504361-6ec3-015b-fc52-3e3b7b3a015b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB5AC:1F2D:242B466:2DD5A5B:6B01BA92
html-safe-nonce397bc6055d048c8de80c45b7d4cd82a437990b1aab3893d0d24508dc2d9ec775
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUFDOjFGMkQ6MjQyQjQ2NjoyREQ1QTVCOjZCMDFCQTkyIiwidmlzaXRvcl9pZCI6IjE1NjgyMzEyNjIyMTYzNDE5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac51eb3d96066b34472d5731971867f62a161b3564d45db786fa94b0db8ca765b2
hovercard-subject-tagpull_request:3395816466
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/23042/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9c66385d797fcfd23d1a1089a4ff13a144649c81029308a39f17d5d4a5cb58d0/coder/coder/pull/23042
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9c66385d797fcfd23d1a1089a4ff13a144649c81029308a39f17d5d4a5cb58d0/coder/coder/pull/23042
og:image:altFollow-up to #22958. Adds a Postgres enum for chat_messages.role and a content_version column that replaces the structural heuristic for distinguishing content formats. Migration 000434 creates cha...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemafredri
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/23042#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F23042
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%2F23042
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/23042
Reloadhttps://github.com/coder/coder/pull/23042
Reloadhttps://github.com/coder/coder/pull/23042
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
mafredrihttps://github.com/mafredri
mainhttps://github.com/coder/coder/tree/main
mafredri/feat-unify-chat-storage-follow-uphttps://github.com/coder/coder/tree/mafredri/feat-unify-chat-storage-follow-up
Conversationhttps://github.com/coder/coder/pull/23042
Commits1 (1)https://github.com/coder/coder/pull/23042/commits
Checkshttps://github.com/coder/coder/pull/23042/checks
Files changedhttps://github.com/coder/coder/pull/23042/files
refactor: add chat_message_role enum and content_version columnhttps://github.com/coder/coder/pull/23042#top
mafredrihttps://github.com/mafredri
mainhttps://github.com/coder/coder/tree/main
mafredri/feat-unify-chat-storage-follow-uphttps://github.com/coder/coder/tree/mafredri/feat-unify-chat-storage-follow-up
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Mar 13, 2026https://github.com/coder/coder/pull/23042#issue-4071930143
Please reload this pagehttps://github.com/coder/coder/pull/23042
#22958https://github.com/coder/coder/pull/22958
#22958https://github.com/coder/coder/pull/22958
#22958https://github.com/coder/coder/pull/22958
Please reload this pagehttps://github.com/coder/coder/pull/23042
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
mafredrihttps://github.com/mafredri
Mar 13, 2026https://github.com/coder/coder/pull/23042#event-23551410690
March 13, 2026 15:53https://github.com/coder/coder/pull/23042#event-23551485776
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Mar 13, 2026https://github.com/coder/coder/pull/23042#event-23551511755
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
Mar 13, 2026 https://github.com/coder/coder/pull/23042#pullrequestreview-3945115537
View reviewed changes https://github.com/coder/coder/pull/23042/files
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/670f04b49f22867f624a767eaec210e7078c29c6..d1a94087412a6fb8abb719264e98d907858d2d39
670f04bhttps://github.com/coder/coder/commit/670f04b49f22867f624a767eaec210e7078c29c6
d1a9408https://github.com/coder/coder/commit/d1a94087412a6fb8abb719264e98d907858d2d39
Compare https://github.com/coder/coder/compare/670f04b49f22867f624a767eaec210e7078c29c6..d1a94087412a6fb8abb719264e98d907858d2d39
March 13, 2026 15:57https://github.com/coder/coder/pull/23042#event-23551635525
https://github.com/mafredri
mafredrihttps://github.com/mafredri
March 13, 2026 16:03https://github.com/coder/coder/pull/23042#event-23551816885
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Mar 13, 2026 https://github.com/coder/coder/pull/23042#pullrequestreview-3945256063
View reviewed changes https://github.com/coder/coder/pull/23042/files
johnstcnhttps://github.com/johnstcn
https://github.com/coder/coder/pull/23042#pullrequestreview-3945256063
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/23042
coderd/chatd/chatprompt/chatprompt.gohttps://github.com/coder/coder/pull/23042/files#diff-ff161252fd95cec8b1241d31389e911dd058427575f4980fd95176da8fbf5cec
johnstcnhttps://github.com/johnstcn
Mar 13, 2026https://github.com/coder/coder/pull/23042#discussion_r2932277180
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/23042
mafredrihttps://github.com/mafredri
Mar 13, 2026https://github.com/coder/coder/pull/23042#discussion_r2932328691
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/23042
coderd/chatd/chatprompt/chatprompt.gohttps://github.com/coder/coder/pull/23042/files#diff-ff161252fd95cec8b1241d31389e911dd058427575f4980fd95176da8fbf5cec
johnstcnhttps://github.com/johnstcn
Mar 13, 2026https://github.com/coder/coder/pull/23042#discussion_r2932281992
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/23042
mafredrihttps://github.com/mafredri
Mar 13, 2026https://github.com/coder/coder/pull/23042#discussion_r2932338130
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/23042
coderd/database/migrations/000434_chat_message_role_and_content_version.down.sqlhttps://github.com/coder/coder/pull/23042/files#diff-8e060459af4bfcf2c64e81481285e171633acec2b064fbed902e92355e5569ba
johnstcnhttps://github.com/johnstcn
Mar 13, 2026https://github.com/coder/coder/pull/23042#discussion_r2932289292
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/23042
mafredrihttps://github.com/mafredri
Mar 13, 2026https://github.com/coder/coder/pull/23042#discussion_r2932338755
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/23042
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/bd42887638d2b0a40861566e9aec59fedc3b9f95..3805d958cc9932ed385a0732be826953e195d74f
bd42887https://github.com/coder/coder/commit/bd42887638d2b0a40861566e9aec59fedc3b9f95
3805d95https://github.com/coder/coder/commit/3805d958cc9932ed385a0732be826953e195d74f
Compare https://github.com/coder/coder/compare/bd42887638d2b0a40861566e9aec59fedc3b9f95..3805d958cc9932ed385a0732be826953e195d74f
March 13, 2026 16:29https://github.com/coder/coder/pull/23042#event-23552636032
https://github.com/mafredri
refactor(coderd/database): add chat_message_role enum and content_ver…https://github.com/coder/coder/pull/23042/commits/b17402cde133748b927e7eabdf5fe6a38c96da10
b17402chttps://github.com/coder/coder/pull/23042/commits/b17402cde133748b927e7eabdf5fe6a38c96da10
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/3805d958cc9932ed385a0732be826953e195d74f..b17402cde133748b927e7eabdf5fe6a38c96da10
3805d95https://github.com/coder/coder/commit/3805d958cc9932ed385a0732be826953e195d74f
b17402chttps://github.com/coder/coder/commit/b17402cde133748b927e7eabdf5fe6a38c96da10
Compare https://github.com/coder/coder/compare/3805d958cc9932ed385a0732be826953e195d74f..b17402cde133748b927e7eabdf5fe6a38c96da10
March 13, 2026 16:33https://github.com/coder/coder/pull/23042#event-23552788946
https://github.com/mafredri
mafredrihttps://github.com/mafredri
March 13, 2026 16:43https://github.com/coder/coder/pull/23042#event-23553105850
https://github.com/mafredri
mafredrihttps://github.com/mafredri
4a79af1https://github.com/coder/coder/commit/4a79af1a0de17a726dd617df1a8bbe701a103c4b
Mar 13, 2026https://github.com/coder/coder/pull/23042#event-23553229888
Please reload this pagehttps://github.com/coder/coder/pull/23042
https://github.com/mafredri
mafredrihttps://github.com/mafredri
March 13, 2026 16:47https://github.com/coder/coder/pull/23042#event-23553230373
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 13, 2026https://github.com/coder/coder/pull/23042#event-23553238914
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%2F23042
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
https://github.com/coder/coder/pull/23042/files/d1a94087412a6fb8abb719264e98d907858d2d39
https://github.com/kylecarbs
kylecarbs https://github.com/kylecarbs
https://github.com/coder/coder/pull/23042/files/670f04b49f22867f624a767eaec210e7078c29c6
Please reload this pagehttps://github.com/coder/coder/pull/23042
https://github.com/mafredri
mafredri https://github.com/mafredri
Please reload this pagehttps://github.com/coder/coder/pull/23042
https://github.com/mafredri
https://github.com/johnstcn
https://github.com/kylecarbs
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.