| 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:50c8c0a2-32fc-095d-fd65-c5e6e9e33f75 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E86C:1F44:14B5B65:1B1ED68:6B014FC3 |
| html-safe-nonce | 35778d27474a1642dc4b9a40aaa69293a311f59dc21855fdd1d0b91ac8b351f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODZDOjFGNDQ6MTRCNUI2NToxQjFFRDY4OjZCMDE0RkMzIiwidmlzaXRvcl9pZCI6IjYyMzQ0MTkzMzQzMjA1NzQ0MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c4902b755f2b49058c8b677f81c918696852cfd06bacfec278c9291c41dd788f |
| hovercard-subject-tag | pull_request:3059296700 |
| 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/21022/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/6f25f936cc5bceee8e944a64c105cd844cd875cabf51c304b430445cfe0f3ca4/coder/coder/pull/21022 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6f25f936cc5bceee8e944a64c105cd844cd875cabf51c304b430445cfe0f3ca4/coder/coder/pull/21022 |
| og:image:alt | Add DeleteOldConnectionLogs query and integrate it into the dbpurge
routine. Retention is controlled by --retention-connection-logs flag.
Disabled (0) by default.
Depends on #21021
Updates #20743
... |
| 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/21022#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F21022 |
| 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%2F21022 |
| 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/21022 |
| Reload | https://github.com/coder/coder/pull/21022 |
| Reload | https://github.com/coder/coder/pull/21022 |
| 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 |
| mafredri/feat-coderd-db-retention-policy-2 | https://github.com/coder/coder/tree/mafredri/feat-coderd-db-retention-policy-2 |
| Conversation | https://github.com/coder/coder/pull/21022 |
| Commits5 (5) | https://github.com/coder/coder/pull/21022/commits |
| Checks | https://github.com/coder/coder/pull/21022/checks |
| Files changed | https://github.com/coder/coder/pull/21022/files |
| feat(coderd/database/dbpurge): add retention for connection logs | https://github.com/coder/coder/pull/21022#top |
| mafredri | https://github.com/mafredri |
| main | https://github.com/coder/coder/tree/main |
| mafredri/feat-coderd-db-retention-policy-2 | https://github.com/coder/coder/tree/mafredri/feat-coderd-db-retention-policy-2 |
|
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| Dec 1, 2025 | https://github.com/coder/coder/pull/21022#issue-3681031034 |
| Please reload this page | https://github.com/coder/coder/pull/21022 |
| #21021 | https://github.com/coder/coder/pull/21021 |
| #20743 | https://github.com/coder/coder/issues/20743 |
| #21021 | https://github.com/coder/coder/pull/21021 |
| #21022 | https://github.com/coder/coder/pull/21022 |
| #21025 | https://github.com/coder/coder/pull/21025 |
| #21037 | https://github.com/coder/coder/pull/21037 |
| #21038 | https://github.com/coder/coder/pull/21038 |
| #21039 | https://github.com/coder/coder/pull/21039 |
| Please reload this page | https://github.com/coder/coder/pull/21022 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| mafredri | https://github.com/mafredri |
| Dec 1, 2025 | https://github.com/coder/coder/pull/21022#event-21276215138 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/c067a6397c7c68ac960796ac5b453c3251b76906..661866dfa007f8726dc6c13d2a26852021678efc |
| c067a63 | https://github.com/coder/coder/commit/c067a6397c7c68ac960796ac5b453c3251b76906 |
| 661866d | https://github.com/coder/coder/commit/661866dfa007f8726dc6c13d2a26852021678efc |
|
Compare
| https://github.com/coder/coder/compare/c067a6397c7c68ac960796ac5b453c3251b76906..661866dfa007f8726dc6c13d2a26852021678efc |
| December 1, 2025 13:31 | https://github.com/coder/coder/pull/21022#event-21276236903 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| Dec 1, 2025 | https://github.com/coder/coder/pull/21022#event-21276322871 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
|
Dec 1, 2025
| https://github.com/coder/coder/pull/21022#ref-pullrequest-3680901768 |
|
feat(coderd): add retention policy configuration
#21021
| https://github.com/coder/coder/pull/21021 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/b8a4bdba12c08202b03ab46d8c8aaae7a4d449a3..0fb3b51fea9e74beacaf923cbf724f7f34a49c43 |
| b8a4bdb | https://github.com/coder/coder/commit/b8a4bdba12c08202b03ab46d8c8aaae7a4d449a3 |
| 0fb3b51 | https://github.com/coder/coder/commit/0fb3b51fea9e74beacaf923cbf724f7f34a49c43 |
|
Compare
| https://github.com/coder/coder/compare/b8a4bdba12c08202b03ab46d8c8aaae7a4d449a3..0fb3b51fea9e74beacaf923cbf724f7f34a49c43 |
| December 1, 2025 14:40 | https://github.com/coder/coder/pull/21022#event-21278056657 |
|
feat(coderd/database/dbpurge): add retention for audit logs
#21025
| https://github.com/coder/coder/pull/21025 |
|
feat(coderd/database/dbpurge): make API keys retention configurable
#21037
| https://github.com/coder/coder/pull/21037 |
|
docs: add data retention documentation
#21038
| https://github.com/coder/coder/pull/21038 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/724b5891b69921239acd215e393aa41867994640..782f1f7f12a2cf18ccc4f55fc2a070b74506e692 |
| 724b589 | https://github.com/coder/coder/commit/724b5891b69921239acd215e393aa41867994640 |
| 782f1f7 | https://github.com/coder/coder/commit/782f1f7f12a2cf18ccc4f55fc2a070b74506e692 |
|
Compare
| https://github.com/coder/coder/compare/724b5891b69921239acd215e393aa41867994640..782f1f7f12a2cf18ccc4f55fc2a070b74506e692 |
| December 1, 2025 17:00 | https://github.com/coder/coder/pull/21022#event-21281864625 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
|
Dec 1, 2025
| https://github.com/coder/coder/pull/21022#ref-pullrequest-3682025711 |
|
feat: add retention config for workspace_agent_logs
#21039
| https://github.com/coder/coder/pull/21039 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| December 1, 2025 18:17 | https://github.com/coder/coder/pull/21022#event-21283881449 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| ethanndickson | https://github.com/ethanndickson |
| mtojek | https://github.com/mtojek |
| December 1, 2025 18:18 | https://github.com/coder/coder/pull/21022#event-21283896209 |
| https://github.com/ethanndickson |
| ethanndickson | https://github.com/ethanndickson |
|
Dec 2, 2025
| https://github.com/coder/coder/pull/21022#pullrequestreview-3527582665 |
|
View reviewed changes
| https://github.com/coder/coder/pull/21022/files |
| ethanndickson | https://github.com/ethanndickson |
| Please reload this page | https://github.com/coder/coder/pull/21022 |
| https://github.com/coder/coder/pull/21022#pullrequestreview-3527582665 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/21022 |
| coderd/database/dbpurge/dbpurge.go | https://github.com/coder/coder/pull/21022/files#diff-eaac7d7f5aebcb16f04bb36e5857d440cdefa8d9fe1c9f710528d96f2abbaa4d |
| Please reload this page | https://github.com/coder/coder/pull/21022 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/b34ee612ad50aabc86aa711494149669eb0e3d3a..d5062e2d124ef82851826d9c0bcd904e81d369ce |
| b34ee61 | https://github.com/coder/coder/commit/b34ee612ad50aabc86aa711494149669eb0e3d3a |
| d5062e2 | https://github.com/coder/coder/commit/d5062e2d124ef82851826d9c0bcd904e81d369ce |
|
Compare
| https://github.com/coder/coder/compare/b34ee612ad50aabc86aa711494149669eb0e3d3a..d5062e2d124ef82851826d9c0bcd904e81d369ce |
| December 2, 2025 09:48 | https://github.com/coder/coder/pull/21022#event-21301137524 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/782f1f7f12a2cf18ccc4f55fc2a070b74506e692..039afdb4b0d81ce4b4ff3bd807cfbbc042b9bc48 |
| 782f1f7 | https://github.com/coder/coder/commit/782f1f7f12a2cf18ccc4f55fc2a070b74506e692 |
| 039afdb | https://github.com/coder/coder/commit/039afdb4b0d81ce4b4ff3bd807cfbbc042b9bc48 |
|
Compare
| https://github.com/coder/coder/compare/782f1f7f12a2cf18ccc4f55fc2a070b74506e692..039afdb4b0d81ce4b4ff3bd807cfbbc042b9bc48 |
| December 2, 2025 09:59 | https://github.com/coder/coder/pull/21022#event-21301386513 |
| December 2, 2025 14:04 | https://github.com/coder/coder/pull/21022#event-21306957485 |
| mafredri | https://github.com/mafredri |
| December 2, 2025 14:05 | https://github.com/coder/coder/pull/21022#commits-pushed-6f8afca |
|
| https://github.com/mafredri |
| feat(coderd/database/dbpurge): add retention for connection logs | https://github.com/coder/coder/pull/21022/commits/6f8afca208e6e7eb70892ad40fddc8d0f3620e86 |
| 6f8afca | https://github.com/coder/coder/pull/21022/commits/6f8afca208e6e7eb70892ad40fddc8d0f3620e86 |
| #21021 | https://github.com/coder/coder/pull/21021 |
| #20743 | https://github.com/coder/coder/issues/20743 |
|
| https://github.com/mafredri |
| test(coderd/database/dbpurge): convert connection logs tests to table… | https://github.com/coder/coder/pull/21022/commits/dfcabb65975d0a582cdb0bf1e5438c29407def29 |
| dfcabb6 | https://github.com/coder/coder/pull/21022/commits/dfcabb65975d0a582cdb0bf1e5438c29407def29 |
|
| https://github.com/mafredri |
| chore: remove global retention fallback for connection logs | https://github.com/coder/coder/pull/21022/commits/5a442c358061f15c0da416f2960e60d516b48968 |
| 5a442c3 | https://github.com/coder/coder/pull/21022/commits/5a442c358061f15c0da416f2960e60d516b48968 |
|
| https://github.com/mafredri |
| refactor: optimize DeleteOldConnectionLogs to use :execrows | https://github.com/coder/coder/pull/21022/commits/24a6d95271aefab8d1e25597646148032f5d5f5d |
| 24a6d95 | https://github.com/coder/coder/pull/21022/commits/24a6d95271aefab8d1e25597646148032f5d5f5d |
|
| https://github.com/mafredri |
| chore: increase connection logs batch size to 10000 | https://github.com/coder/coder/pull/21022/commits/d456497a52bc7baa89c775db4638f2c35d5dee26 |
| d456497 | https://github.com/coder/coder/pull/21022/commits/d456497a52bc7baa89c775db4638f2c35d5dee26 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/6433def9ebd7185887c4faba45149c66fa3780ed..d456497a52bc7baa89c775db4638f2c35d5dee26 |
| 6433def | https://github.com/coder/coder/commit/6433def9ebd7185887c4faba45149c66fa3780ed |
| d456497 | https://github.com/coder/coder/commit/d456497a52bc7baa89c775db4638f2c35d5dee26 |
|
Compare
| https://github.com/coder/coder/compare/6433def9ebd7185887c4faba45149c66fa3780ed..d456497a52bc7baa89c775db4638f2c35d5dee26 |
| December 2, 2025 14:05 | https://github.com/coder/coder/pull/21022#event-21306990217 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| December 2, 2025 14:08 | https://github.com/coder/coder/pull/21022#event-21307047297 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| 9ebcca5 | https://github.com/coder/coder/commit/9ebcca5b0d8a8a4f4af63ebe3a2f41ddab70f448 |
| Dec 2, 2025 | https://github.com/coder/coder/pull/21022#event-21307284221 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| December 2, 2025 14:17 | https://github.com/coder/coder/pull/21022#event-21307284925 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Dec 2, 2025 | https://github.com/coder/coder/pull/21022#event-21307292374 |
| 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%2F21022 |
|
| https://github.com/ethanndickson |
|
ethanndickson
| https://github.com/ethanndickson |
|
| https://github.com/coder/coder/pull/21022/files/782f1f7f12a2cf18ccc4f55fc2a070b74506e692 |
|
| https://github.com/mtojek |
|
mtojek
| https://github.com/mtojek |
| Please reload this page | https://github.com/coder/coder/pull/21022 |
|
| https://github.com/mafredri |
|
mafredri
| https://github.com/mafredri |
| Please reload this page | https://github.com/coder/coder/pull/21022 |
|
| https://github.com/mafredri |
|
| https://github.com/ethanndickson |
|
| 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 |