René's URL Explorer Experiment


Title: fix(coderd): allow deleting chat providers used in historical chats by ethanndickson · Pull Request #24568 · coder/coder · GitHub

Open Graph Title: fix(coderd): allow deleting chat providers used in historical chats by ethanndickson · Pull Request #24568 · coder/coder

X Title: fix(coderd): allow deleting chat providers used in historical chats by ethanndickson · Pull Request #24568 · coder/coder

Description: Secure environments for developers and their agents - fix(coderd): allow deleting chat providers used in historical chats by ethanndickson · Pull Request #24568 · coder/coder

Open Graph Description: Drop the chat_model_configs.provider -> chat_providers.provider foreign key and soft-delete model configs when their provider is removed. The provider row is now hard-deleted inside a transactio...

X Description: Drop the chat_model_configs.provider -> chat_providers.provider foreign key and soft-delete model configs when their provider is removed. The provider row is now hard-deleted inside a transa...

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

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:31d6bbab-f0f3-e9ea-f73b-15b9c50ec06c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8654:1AE20C:1BC11F5:2322608:6B014FC9
html-safe-nonceadfa28bdd42b587badd142ae370d49d2d1475b53add629012a502aeaa97fe13b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjU0OjFBRTIwQzoxQkMxMUY1OjIzMjI2MDg6NkIwMTRGQzkiLCJ2aXNpdG9yX2lkIjoiNTczNTQ4ODU1NzA5NTY2OTcwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbf7c584b8e81501742f906b99b519fcb2839df2cfcbafc4f60e5d6dbec107536
hovercard-subject-tagpull_request:3561950200
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/24568/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8b8dd650348702086d9cbb40fb6b302ed295824cec7762c2a0f043b7c01b499a/coder/coder/pull/24568
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8b8dd650348702086d9cbb40fb6b302ed295824cec7762c2a0f043b7c01b499a/coder/coder/pull/24568
og:image:altDrop the chat_model_configs.provider -> chat_providers.provider foreign key and soft-delete model configs when their provider is removed. The provider row is now hard-deleted inside a transactio...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameethanndickson
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/24568#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F24568
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%2F24568
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/24568
Reloadhttps://github.com/coder/coder/pull/24568
Reloadhttps://github.com/coder/coder/pull/24568
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
ethanndicksonhttps://github.com/ethanndickson
mainhttps://github.com/coder/coder/tree/main
ethan/delete-chat-provider-historical-usagehttps://github.com/coder/coder/tree/ethan/delete-chat-provider-historical-usage
Conversationhttps://github.com/coder/coder/pull/24568
Commits3 (3)https://github.com/coder/coder/pull/24568/commits
Checkshttps://github.com/coder/coder/pull/24568/checks
Files changedhttps://github.com/coder/coder/pull/24568/files
fix(coderd): allow deleting chat providers used in historical chatshttps://github.com/coder/coder/pull/24568#top
ethanndicksonhttps://github.com/ethanndickson
mainhttps://github.com/coder/coder/tree/main
ethan/delete-chat-provider-historical-usagehttps://github.com/coder/coder/tree/ethan/delete-chat-provider-historical-usage
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
Apr 21, 2026https://github.com/coder/coder/pull/24568#issue-4302815814
Please reload this pagehttps://github.com/coder/coder/pull/24568
Please reload this pagehttps://github.com/coder/coder/pull/24568
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
ethanndicksonhttps://github.com/ethanndickson
Apr 21, 2026https://github.com/coder/coder/pull/24568#event-24718738560
https://github.com/ethanndickson
fix(coderd): allow deleting chat providers used in historical chatshttps://github.com/coder/coder/pull/24568/commits/3c22da5be112d206ec0c779eda753874fe81f35f
3c22da5https://github.com/coder/coder/pull/24568/commits/3c22da5be112d206ec0c779eda753874fe81f35f
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
force-pushedhttps://github.com/coder/coder/compare/b424bedc2f747ebfa33a2e4800b22771cdeff76a..3c22da5be112d206ec0c779eda753874fe81f35f
b424bedhttps://github.com/coder/coder/commit/b424bedc2f747ebfa33a2e4800b22771cdeff76a
3c22da5https://github.com/coder/coder/commit/3c22da5be112d206ec0c779eda753874fe81f35f
Compare https://github.com/coder/coder/compare/b424bedc2f747ebfa33a2e4800b22771cdeff76a..3c22da5be112d206ec0c779eda753874fe81f35f
April 21, 2026 13:24https://github.com/coder/coder/pull/24568#event-24719146841
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
April 21, 2026 13:29https://github.com/coder/coder/pull/24568#event-24719309354
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
Apr 21, 2026 https://github.com/coder/coder/pull/24568#pullrequestreview-4148123443
View reviewed changes https://github.com/coder/coder/pull/24568/files/3c22da5be112d206ec0c779eda753874fe81f35f
ethanndicksonhttps://github.com/ethanndickson
https://github.com/coder/coder/pull/24568#pullrequestreview-4148123443
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/database/dbauthz/dbauthz.gohttps://github.com/coder/coder/pull/24568/files/3c22da5be112d206ec0c779eda753874fe81f35f#diff-5f3bb5c12d02726be93737d8bb2f1bbe034792f4254af2ae1d139b737dd67e77
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/database/queries/chatproviders.sqlhttps://github.com/coder/coder/pull/24568/files/3c22da5be112d206ec0c779eda753874fe81f35f#diff-7e0f58f59dc6ba308f700e240021ad1488ed737080947f2d57dbf0be1e40dbb5
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/exp_chats.gohttps://github.com/coder/coder/pull/24568/files/3c22da5be112d206ec0c779eda753874fe81f35f#diff-8e955e7c41dead7f4247d5779fea96cbf0a3c829549375a423cdc808a3cb8a2f
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/exp_chats_test.gohttps://github.com/coder/coder/pull/24568/files/3c22da5be112d206ec0c779eda753874fe81f35f#diff-7f0a3a4d3a58135df3e5c6658429ca020a5e473c7191760be6efcf490c7c5a63
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/database/queries/chatmodelconfigs.sqlhttps://github.com/coder/coder/pull/24568/files/3c22da5be112d206ec0c779eda753874fe81f35f#diff-924a06df67681051abbfbb97c348715d7fd691deefc8f1f12da36f4aad3d334e
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/exp_chats.gohttps://github.com/coder/coder/pull/24568/files/3c22da5be112d206ec0c779eda753874fe81f35f#diff-8e955e7c41dead7f4247d5779fea96cbf0a3c829549375a423cdc808a3cb8a2f
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/database/migrations/000474_drop_chat_model_config_provider_fk.down.sqlhttps://github.com/coder/coder/pull/24568/files/3c22da5be112d206ec0c779eda753874fe81f35f#diff-c950d827376bf10f3ede0138f8712f5b7d977870064e21b10cddfbccbc6084bf
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/exp_chats.gohttps://github.com/coder/coder/pull/24568/files/3c22da5be112d206ec0c779eda753874fe81f35f#diff-8e955e7c41dead7f4247d5779fea96cbf0a3c829549375a423cdc808a3cb8a2f
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/exp_chats_test.gohttps://github.com/coder/coder/pull/24568/files/3c22da5be112d206ec0c779eda753874fe81f35f#diff-7f0a3a4d3a58135df3e5c6658429ca020a5e473c7191760be6efcf490c7c5a63
Please reload this pagehttps://github.com/coder/coder/pull/24568
https://github.com/ethanndickson
fix(coderd): address validated chat provider review findingshttps://github.com/coder/coder/pull/24568/commits/cb4b9d76d9e19489ee8fb3be13061c7c53ddcf18
cb4b9d7https://github.com/coder/coder/pull/24568/commits/cb4b9d76d9e19489ee8fb3be13061c7c53ddcf18
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
Apr 21, 2026https://github.com/coder/coder/pull/24568#issuecomment-4289257483
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/24568
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
Apr 21, 2026 https://github.com/coder/coder/pull/24568#pullrequestreview-4148522099
View reviewed changes https://github.com/coder/coder/pull/24568/files/cb4b9d76d9e19489ee8fb3be13061c7c53ddcf18
ethanndicksonhttps://github.com/ethanndickson
https://github.com/coder/coder/pull/24568#pullrequestreview-4148522099
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/exp_chats.gohttps://github.com/coder/coder/pull/24568/files/cb4b9d76d9e19489ee8fb3be13061c7c53ddcf18#diff-8e955e7c41dead7f4247d5779fea96cbf0a3c829549375a423cdc808a3cb8a2f
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/exp_chats_test.gohttps://github.com/coder/coder/pull/24568/files/cb4b9d76d9e19489ee8fb3be13061c7c53ddcf18#diff-7f0a3a4d3a58135df3e5c6658429ca020a5e473c7191760be6efcf490c7c5a63
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/exp_chats_test.gohttps://github.com/coder/coder/pull/24568/files/cb4b9d76d9e19489ee8fb3be13061c7c53ddcf18#diff-7f0a3a4d3a58135df3e5c6658429ca020a5e473c7191760be6efcf490c7c5a63
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/exp_chats.gohttps://github.com/coder/coder/pull/24568/files/cb4b9d76d9e19489ee8fb3be13061c7c53ddcf18#diff-8e955e7c41dead7f4247d5779fea96cbf0a3c829549375a423cdc808a3cb8a2f
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/database/migrations/000474_drop_chat_model_config_provider_fk.down.sqlhttps://github.com/coder/coder/pull/24568/files/cb4b9d76d9e19489ee8fb3be13061c7c53ddcf18#diff-c950d827376bf10f3ede0138f8712f5b7d977870064e21b10cddfbccbc6084bf
Please reload this pagehttps://github.com/coder/coder/pull/24568
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Apr 21, 2026 https://github.com/coder/coder/pull/24568#pullrequestreview-4148525901
View reviewed changes https://github.com/coder/coder/pull/24568/files/cb4b9d76d9e19489ee8fb3be13061c7c53ddcf18
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
https://github.com/coder/coder/pull/24568#pullrequestreview-4148525901
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/database/migrations/000474_drop_chat_model_config_provider_fk.up.sqlhttps://github.com/coder/coder/pull/24568/files/cb4b9d76d9e19489ee8fb3be13061c7c53ddcf18#diff-ea069fac8d8212b4c99ac14ff273e0d35c437286a92eacf0e7ee443cdfe60727
Please reload this pagehttps://github.com/coder/coder/pull/24568
coderd/exp_chats.gohttps://github.com/coder/coder/pull/24568/files/cb4b9d76d9e19489ee8fb3be13061c7c53ddcf18#diff-8e955e7c41dead7f4247d5779fea96cbf0a3c829549375a423cdc808a3cb8a2f
Please reload this pagehttps://github.com/coder/coder/pull/24568
https://github.com/ethanndickson
fix(coderd): address round-2 chat provider review findingshttps://github.com/coder/coder/pull/24568/commits/2ce8855ecfb8c389ceff60d2f5ee7734b67769a7
2ce8855https://github.com/coder/coder/pull/24568/commits/2ce8855ecfb8c389ceff60d2f5ee7734b67769a7
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
Apr 21, 2026https://github.com/coder/coder/pull/24568#issuecomment-4289560018
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/24568
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Apr 21, 2026https://github.com/coder/coder/pull/24568#issuecomment-4289684082
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/24568
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
ibetitsmikehttps://github.com/ibetitsmike
johnstcnhttps://github.com/johnstcn
April 22, 2026 03:26https://github.com/coder/coder/pull/24568#event-24740667819
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Apr 22, 2026 https://github.com/coder/coder/pull/24568#pullrequestreview-4152993263
View reviewed changes https://github.com/coder/coder/pull/24568/files/2ce8855ecfb8c389ceff60d2f5ee7734b67769a7
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
ad19065https://github.com/coder/coder/commit/ad1906589d5a794de86b94ecf22af19448a471d1
Apr 22, 2026https://github.com/coder/coder/pull/24568#event-24749814211
Please reload this pagehttps://github.com/coder/coder/pull/24568
https://github.com/ethanndickson
ethanndicksonhttps://github.com/ethanndickson
April 22, 2026 09:34https://github.com/coder/coder/pull/24568#event-24749815618
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 22, 2026https://github.com/coder/coder/pull/24568#event-24749819991
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%2F24568
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connector[bot] https://github.com/apps/chatgpt-codex-connector
https://github.com/coder/coder/pull/24568/files/cb4b9d76d9e19489ee8fb3be13061c7c53ddcf18
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
https://github.com/coder/coder/pull/24568/files/2ce8855ecfb8c389ceff60d2f5ee7734b67769a7
https://github.com/ibetitsmike
ibetitsmike https://github.com/ibetitsmike
Please reload this pagehttps://github.com/coder/coder/pull/24568
https://github.com/ethanndickson
ethanndickson https://github.com/ethanndickson
Please reload this pagehttps://github.com/coder/coder/pull/24568
https://github.com/ethanndickson
https://github.com/johnstcn
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.