| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e1b1ef01-7fbe-6b9e-c894-95b69e1276fd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 893C:3C21B:1C6B7E3:2459201:6B0148C3 |
| html-safe-nonce | 1b99e490e97bda5a40f711185b80d43a1b4342b87413f1d4ffc149b568387f0f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTNDOjNDMjFCOjFDNkI3RTM6MjQ1OTIwMTo2QjAxNDhDMyIsInZpc2l0b3JfaWQiOiI2OTMwODAyNjk0NTg0MDkyODY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 834628dde85db4a69282c74ede63c970d4fee55b06b4eee32c9d274bbed1a30d |
| hovercard-subject-tag | pull_request:3436378724 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/23466/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ce5f0bf6c5c6d1cad89e65978a4deabd2016cc317e68dabb7e92546b51186cc5/coder/coder/pull/23466 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ce5f0bf6c5c6d1cad89e65978a4deabd2016cc317e68dabb7e92546b51186cc5/coder/coder/pull/23466 |
| og:image:alt | 🤖 Agent on behalf of mafredri
Problem
When switching branches, the database may have migrations from the other branch. coder server calls EnsureClean() which fails because the DB version is ahead o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mafredri |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/coder/coder/pull/23466#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F23466 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F23466 |
| Sign up | https://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 |
| Reload | https://github.com/coder/coder/pull/23466 |
| Reload | https://github.com/coder/coder/pull/23466 |
| Reload | https://github.com/coder/coder/pull/23466 |
| coder | https://github.com/coder |
| coder | https://github.com/coder/coder |
| Code | https://github.com/coder/coder |
| Issues320 (320) | https://github.com/coder/coder/issues |
| Pull requests469 (469) | https://github.com/coder/coder/pulls |
| Discussions | https://github.com/coder/coder/discussions |
| Actions | https://github.com/coder/coder/actions |
| Projects | https://github.com/coder/coder/projects |
| Security and quality49 (49) | https://github.com/coder/coder/security |
| Insights | https://github.com/coder/coder/insights |
| https://github.com/coder/coder |
| mafredri | https://github.com/mafredri |
| main | https://github.com/coder/coder/tree/main |
| develop-db-recovery | https://github.com/coder/coder/tree/develop-db-recovery |
| Conversation | https://github.com/coder/coder/pull/23466 |
| Commits1 (1) | https://github.com/coder/coder/pull/23466/commits |
| Checks | https://github.com/coder/coder/pull/23466/checks |
| Files changed | https://github.com/coder/coder/pull/23466/files |
| feat: add automatic database migration recovery to scripts/develop | https://github.com/coder/coder/pull/23466#top |
| mafredri | https://github.com/mafredri |
| main | https://github.com/coder/coder/tree/main |
| develop-db-recovery | https://github.com/coder/coder/tree/develop-db-recovery |
|
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| Mar 23, 2026 | https://github.com/coder/coder/pull/23466#issue-4124001287 |
| Please reload this page | https://github.com/coder/coder/pull/23466 |
| Please reload this page | https://github.com/coder/coder/pull/23466 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| mafredri | https://github.com/mafredri |
| Mar 23, 2026 | https://github.com/coder/coder/pull/23466#event-23830894034 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/8c19c943945c1d959b00d5f149a13d4b7f5e56a3..145ead6c49fff89461a2d84f6478914cd0572f5e |
| 8c19c94 | https://github.com/coder/coder/commit/8c19c943945c1d959b00d5f149a13d4b7f5e56a3 |
| 145ead6 | https://github.com/coder/coder/commit/145ead6c49fff89461a2d84f6478914cd0572f5e |
|
Compare
| https://github.com/coder/coder/compare/8c19c943945c1d959b00d5f149a13d4b7f5e56a3..145ead6c49fff89461a2d84f6478914cd0572f5e |
| March 24, 2026 09:28 | https://github.com/coder/coder/pull/23466#event-23844560854 |
| https://github.com/johnstcn |
|
| https://github.com/apps/coder |
| johnstcn | https://github.com/johnstcn |
| Mar 24, 2026 | https://github.com/coder/coder/pull/23466#issuecomment-4116923231 |
| Please reload this page | https://github.com/coder/coder/pull/23466 |
| #1 | https://github.com/coder/coder/pull/1 |
| #2 | https://github.com/coder/coder/pull/2 |
| #3 | https://github.com/coder/coder/pull/3 |
| #4 | https://github.com/coder/coder/pull/4 |
| #5 | https://github.com/coder/coder/pull/5 |
| #6 | https://github.com/coder/coder/pull/6 |
| #13 | https://github.com/coder/coder/pull/13 |
| Please reload this page | https://github.com/coder/coder/pull/23466 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/febf4cec21c183137e1e165c97f742c7a1e67393..196e2b04f5e47359e85e529f43ba6f2b863f5bf5 |
| febf4ce | https://github.com/coder/coder/commit/febf4cec21c183137e1e165c97f742c7a1e67393 |
| 196e2b0 | https://github.com/coder/coder/commit/196e2b04f5e47359e85e529f43ba6f2b863f5bf5 |
|
Compare
| https://github.com/coder/coder/compare/febf4cec21c183137e1e165c97f742c7a1e67393..196e2b04f5e47359e85e529f43ba6f2b863f5bf5 |
| March 24, 2026 11:11 | https://github.com/coder/coder/pull/23466#event-23847942971 |
| https://github.com/mafredri |
|
| https://github.com/apps/coder |
| mafredri | https://github.com/mafredri |
| Mar 24, 2026 | https://github.com/coder/coder/pull/23466#issuecomment-4117346570 |
| Please reload this page | https://github.com/coder/coder/pull/23466 |
| Please reload this page | https://github.com/coder/coder/pull/23466 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/196e2b04f5e47359e85e529f43ba6f2b863f5bf5..664ef62cb865115e354fa7eae3bb04aa177532c7 |
| 196e2b0 | https://github.com/coder/coder/commit/196e2b04f5e47359e85e529f43ba6f2b863f5bf5 |
| 664ef62 | https://github.com/coder/coder/commit/664ef62cb865115e354fa7eae3bb04aa177532c7 |
|
Compare
| https://github.com/coder/coder/compare/196e2b04f5e47359e85e529f43ba6f2b863f5bf5..664ef62cb865115e354fa7eae3bb04aa177532c7 |
| March 24, 2026 11:35 | https://github.com/coder/coder/pull/23466#event-23848654221 |
| https://github.com/johnstcn |
| johnstcn | https://github.com/johnstcn |
|
Mar 24, 2026
| https://github.com/coder/coder/pull/23466#pullrequestreview-3998978355 |
|
View reviewed changes
| https://github.com/coder/coder/pull/23466/files |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| March 24, 2026 13:02 | https://github.com/coder/coder/pull/23466#event-23851594868 |
| https://github.com/apps/coderagents |
| coderagents | https://github.com/apps/coderagents |
| Mar 24, 2026 | https://github.com/coder/coder/pull/23466#issuecomment-4118107754 |
| Please reload this page | https://github.com/coder/coder/pull/23466 |
| Coder Tasks | https://coder.com/docs/ai-coder/tasks |
| Please reload this page | https://github.com/coder/coder/pull/23466 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/10091625494c72777dedbe083b7525f45c733d98..540243fc287dac078cbb8f69802c406c733c7430 |
| 1009162 | https://github.com/coder/coder/commit/10091625494c72777dedbe083b7525f45c733d98 |
| 540243f | https://github.com/coder/coder/commit/540243fc287dac078cbb8f69802c406c733c7430 |
|
Compare
| https://github.com/coder/coder/compare/10091625494c72777dedbe083b7525f45c733d98..540243fc287dac078cbb8f69802c406c733c7430 |
| March 24, 2026 17:28 | https://github.com/coder/coder/pull/23466#event-23861187475 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| Mar 24, 2026 | https://github.com/coder/coder/pull/23466#event-23861242923 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/2dd6a2498205d3ac6d3c4543b10d0a349b54322f..105a427cc4075f6482f035ada06ebb5e1b50548b |
| 2dd6a24 | https://github.com/coder/coder/commit/2dd6a2498205d3ac6d3c4543b10d0a349b54322f |
| 105a427 | https://github.com/coder/coder/commit/105a427cc4075f6482f035ada06ebb5e1b50548b |
|
Compare
| https://github.com/coder/coder/compare/2dd6a2498205d3ac6d3c4543b10d0a349b54322f..105a427cc4075f6482f035ada06ebb5e1b50548b |
| March 24, 2026 18:55 | https://github.com/coder/coder/pull/23466#event-23863891943 |
|
| https://github.com/mafredri |
| feat(scripts/develop): add automatic database migration recovery | https://github.com/coder/coder/pull/23466/commits/4d964620c99ac42f412768e6f7d1aacab14114e6 |
| 4d96462 | https://github.com/coder/coder/pull/23466/commits/4d964620c99ac42f412768e6f7d1aacab14114e6 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/105a427cc4075f6482f035ada06ebb5e1b50548b..4d964620c99ac42f412768e6f7d1aacab14114e6 |
| 105a427 | https://github.com/coder/coder/commit/105a427cc4075f6482f035ada06ebb5e1b50548b |
| 4d96462 | https://github.com/coder/coder/commit/4d964620c99ac42f412768e6f7d1aacab14114e6 |
|
Compare
| https://github.com/coder/coder/compare/105a427cc4075f6482f035ada06ebb5e1b50548b..4d964620c99ac42f412768e6f7d1aacab14114e6 |
| March 24, 2026 19:31 | https://github.com/coder/coder/pull/23466#event-23864906523 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| 78b18e7 | https://github.com/coder/coder/commit/78b18e72bfb150a7964c2b37cef84c54ee1d7824 |
| Mar 24, 2026 | https://github.com/coder/coder/pull/23466#event-23865795506 |
| Please reload this page | https://github.com/coder/coder/pull/23466 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| March 24, 2026 20:05 | https://github.com/coder/coder/pull/23466#event-23865796513 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Mar 24, 2026 | https://github.com/coder/coder/pull/23466#event-23865800946 |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F23466 |
|
| https://github.com/johnstcn |
|
johnstcn
| https://github.com/johnstcn |
|
| https://github.com/coder/coder/pull/23466/files/664ef62cb865115e354fa7eae3bb04aa177532c7 |
| Please reload this page | https://github.com/coder/coder/pull/23466 |
|
| https://github.com/mafredri |
|
mafredri
| https://github.com/mafredri |
| Please reload this page | https://github.com/coder/coder/pull/23466 |
|
| https://github.com/mafredri |
|
| https://github.com/johnstcn |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |