| 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:ed0b66e6-afc5-c2e6-ba98-6f84c0bff4bc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A97E:785A9:1B1E961:22605FA:6B014FD9 |
| html-safe-nonce | 6d2081eca11d2f22258dee0739bb34c367beea5e87ff0bb007b82677ee9c9adf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTdFOjc4NUE5OjFCMUU5NjE6MjI2MDVGQTo2QjAxNEZEOSIsInZpc2l0b3JfaWQiOiIxOTQ5OTEwMDA0NTEzNDYwMTg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fc611c85b01e50b4cf9bf1cb0a9e335c47e86d2792b375e8603c95b22dc75193 |
| hovercard-subject-tag | pull_request:3059633367 |
| 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/21025/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/55ad360b747fad8c31114c416d50b3ed09c013cec2f2b47fd581d5631d8bdc31/coder/coder/pull/21025 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/55ad360b747fad8c31114c416d50b3ed09c013cec2f2b47fd581d5631d8bdc31/coder/coder/pull/21025 |
| og:image:alt | Add configurable retention policy for audit logs. The DeleteOldAuditLogs
query excludes deprecated connection events (connect, disconnect, open,
close) which are handled separately by DeleteOldAudi... |
| 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/21025#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F21025 |
| 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%2F21025 |
| 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/21025 |
| Reload | https://github.com/coder/coder/pull/21025 |
| Reload | https://github.com/coder/coder/pull/21025 |
| 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-3 | https://github.com/coder/coder/tree/mafredri/feat-coderd-db-retention-policy-3 |
| Conversation | https://github.com/coder/coder/pull/21025 |
| Commits5 (5) | https://github.com/coder/coder/pull/21025/commits |
| Checks | https://github.com/coder/coder/pull/21025/checks |
| Files changed | https://github.com/coder/coder/pull/21025/files |
| feat(coderd/database/dbpurge): add retention for audit logs | https://github.com/coder/coder/pull/21025#top |
| mafredri | https://github.com/mafredri |
| main | https://github.com/coder/coder/tree/main |
| mafredri/feat-coderd-db-retention-policy-3 | https://github.com/coder/coder/tree/mafredri/feat-coderd-db-retention-policy-3 |
|
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| Dec 1, 2025 | https://github.com/coder/coder/pull/21025#issue-3681407599 |
| Please reload this page | https://github.com/coder/coder/pull/21025 |
| #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/21025 |
| 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/21025#event-21278587664 |
|
feat(coderd): add retention policy configuration
#21021
| https://github.com/coder/coder/pull/21021 |
|
feat(coderd/database/dbpurge): add retention for connection logs
#21022
| https://github.com/coder/coder/pull/21022 |
|
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/07ae5941a2fdc99de2a783eaa70c77339a4a844b..9ca58c3dfbca417b15f96a00d548319e4a9f1b6f |
| 07ae594 | https://github.com/coder/coder/commit/07ae5941a2fdc99de2a783eaa70c77339a4a844b |
| 9ca58c3 | https://github.com/coder/coder/commit/9ca58c3dfbca417b15f96a00d548319e4a9f1b6f |
|
Compare
| https://github.com/coder/coder/compare/07ae5941a2fdc99de2a783eaa70c77339a4a844b..9ca58c3dfbca417b15f96a00d548319e4a9f1b6f |
| December 1, 2025 18:07 | https://github.com/coder/coder/pull/21025#event-21283621774 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
|
Dec 1, 2025
| https://github.com/coder/coder/pull/21025#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:18 | https://github.com/coder/coder/pull/21025#event-21283900030 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| Emyrk | https://github.com/Emyrk |
| dannykopping | https://github.com/dannykopping |
| December 1, 2025 18:18 | https://github.com/coder/coder/pull/21025#event-21283908261 |
| 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/21025#event-21301386531 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/9ca58c3dfbca417b15f96a00d548319e4a9f1b6f..a21395ab9cd0f5787f8bb78a4f2d3793247f505f |
| 9ca58c3 | https://github.com/coder/coder/commit/9ca58c3dfbca417b15f96a00d548319e4a9f1b6f |
| a21395a | https://github.com/coder/coder/commit/a21395ab9cd0f5787f8bb78a4f2d3793247f505f |
|
Compare
| https://github.com/coder/coder/compare/9ca58c3dfbca417b15f96a00d548319e4a9f1b6f..a21395ab9cd0f5787f8bb78a4f2d3793247f505f |
| December 2, 2025 10:02 | https://github.com/coder/coder/pull/21025#event-21301475905 |
| https://github.com/dannykopping |
| dannykopping | https://github.com/dannykopping |
|
Dec 2, 2025
| https://github.com/coder/coder/pull/21025#pullrequestreview-3529417527 |
|
View reviewed changes
| https://github.com/coder/coder/pull/21025/files |
| dannykopping | https://github.com/dannykopping |
| https://github.com/coder/coder/pull/21025#pullrequestreview-3529417527 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/21025 |
| coderd/database/dbpurge/dbpurge.go | https://github.com/coder/coder/pull/21025/files#diff-eaac7d7f5aebcb16f04bb36e5857d440cdefa8d9fe1c9f710528d96f2abbaa4d |
| Please reload this page | https://github.com/coder/coder/pull/21025 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/a21395ab9cd0f5787f8bb78a4f2d3793247f505f..82f1c2b8ebe6185467c042595940409b0ca8ccbf |
| a21395a | https://github.com/coder/coder/commit/a21395ab9cd0f5787f8bb78a4f2d3793247f505f |
| 82f1c2b | https://github.com/coder/coder/commit/82f1c2b8ebe6185467c042595940409b0ca8ccbf |
|
Compare
| https://github.com/coder/coder/compare/a21395ab9cd0f5787f8bb78a4f2d3793247f505f..82f1c2b8ebe6185467c042595940409b0ca8ccbf |
| December 2, 2025 11:37 | https://github.com/coder/coder/pull/21025#event-21303588897 |
| https://github.com/Emyrk |
| Emyrk | https://github.com/Emyrk |
|
Dec 2, 2025
| https://github.com/coder/coder/pull/21025#pullrequestreview-3529875812 |
|
View reviewed changes
| https://github.com/coder/coder/pull/21025/files |
| Emyrk | https://github.com/Emyrk |
| https://github.com/coder/coder/pull/21025#pullrequestreview-3529875812 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/21025 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/82f1c2b8ebe6185467c042595940409b0ca8ccbf..2ce8f62a062eaa3c95380c0781b4d857fa62a078 |
| 82f1c2b | https://github.com/coder/coder/commit/82f1c2b8ebe6185467c042595940409b0ca8ccbf |
| 2ce8f62 | https://github.com/coder/coder/commit/2ce8f62a062eaa3c95380c0781b4d857fa62a078 |
|
Compare
| https://github.com/coder/coder/compare/82f1c2b8ebe6185467c042595940409b0ca8ccbf..2ce8f62a062eaa3c95380c0781b4d857fa62a078 |
| December 2, 2025 12:56 | https://github.com/coder/coder/pull/21025#event-21305290453 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| Dec 2, 2025 | https://github.com/coder/coder/pull/21025#issuecomment-3601906404 |
| @dannykopping | https://github.com/dannykopping |
| @Emyrk | https://github.com/Emyrk |
| Please reload this page | https://github.com/coder/coder/pull/21025 |
| 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/21025#event-21306990256 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/2ce8f62a062eaa3c95380c0781b4d857fa62a078..8cb020d0736a280d8deed8c108badaa1553b197d |
| 2ce8f62 | https://github.com/coder/coder/commit/2ce8f62a062eaa3c95380c0781b4d857fa62a078 |
| 8cb020d | https://github.com/coder/coder/commit/8cb020d0736a280d8deed8c108badaa1553b197d |
|
Compare
| https://github.com/coder/coder/compare/2ce8f62a062eaa3c95380c0781b4d857fa62a078..8cb020d0736a280d8deed8c108badaa1553b197d |
| December 2, 2025 14:13 | https://github.com/coder/coder/pull/21025#event-21307182370 |
| December 2, 2025 14:17 | https://github.com/coder/coder/pull/21025#event-21307284806 |
| mafredri | https://github.com/mafredri |
| December 2, 2025 14:18 | https://github.com/coder/coder/pull/21025#commits-pushed-b7b586f |
|
| https://github.com/mafredri |
| feat(coderd/database/dbpurge): add retention for audit logs | https://github.com/coder/coder/pull/21025/commits/b7b586ff5d9cc5a669e83397bd98fcbd7bd86d77 |
| b7b586f | https://github.com/coder/coder/pull/21025/commits/b7b586ff5d9cc5a669e83397bd98fcbd7bd86d77 |
| #21021 | https://github.com/coder/coder/pull/21021 |
| #20743 | https://github.com/coder/coder/issues/20743 |
|
| https://github.com/mafredri |
| fix: add DeleteOldAuditLogs to dbauthz test suite | https://github.com/coder/coder/pull/21025/commits/a0ed0427312dfb431384fc9c6aeb618c2d3671cd |
| a0ed042 | https://github.com/coder/coder/pull/21025/commits/a0ed0427312dfb431384fc9c6aeb618c2d3671cd |
|
| https://github.com/mafredri |
| test(coderd/database/dbpurge): convert audit logs tests to table-driven | https://github.com/coder/coder/pull/21025/commits/6cc2ea9605730ae42e3c97d9907c2ea998537178 |
| 6cc2ea9 | https://github.com/coder/coder/pull/21025/commits/6cc2ea9605730ae42e3c97d9907c2ea998537178 |
|
| https://github.com/mafredri |
| chore: remove global retention fallback for audit logs | https://github.com/coder/coder/pull/21025/commits/a30940e429484cdda3aaf77e09ab1b62a2359e80 |
| a30940e | https://github.com/coder/coder/pull/21025/commits/a30940e429484cdda3aaf77e09ab1b62a2359e80 |
|
| https://github.com/mafredri |
| refactor: optimize DeleteOldAuditLogs to use :execrows | https://github.com/coder/coder/pull/21025/commits/2a45adb091f9f559288cfca007291f48e570e996 |
| 2a45adb | https://github.com/coder/coder/pull/21025/commits/2a45adb091f9f559288cfca007291f48e570e996 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| force-pushed | https://github.com/coder/coder/compare/8cb020d0736a280d8deed8c108badaa1553b197d..2a45adb091f9f559288cfca007291f48e570e996 |
| 8cb020d | https://github.com/coder/coder/commit/8cb020d0736a280d8deed8c108badaa1553b197d |
| 2a45adb | https://github.com/coder/coder/commit/2a45adb091f9f559288cfca007291f48e570e996 |
|
Compare
| https://github.com/coder/coder/compare/8cb020d0736a280d8deed8c108badaa1553b197d..2a45adb091f9f559288cfca007291f48e570e996 |
| December 2, 2025 14:18 | https://github.com/coder/coder/pull/21025#event-21307305197 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| c85d79b | https://github.com/coder/coder/commit/c85d79bcdb3acbb98b714592de32b9152cb54b98 |
| Dec 2, 2025 | https://github.com/coder/coder/pull/21025#event-21308128083 |
| https://github.com/mafredri |
| mafredri | https://github.com/mafredri |
| December 2, 2025 14:50 | https://github.com/coder/coder/pull/21025#event-21308130345 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Dec 2, 2025 | https://github.com/coder/coder/pull/21025#event-21308136008 |
| 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%2F21025 |
|
| https://github.com/dannykopping |
|
dannykopping
| https://github.com/dannykopping |
|
| https://github.com/coder/coder/pull/21025/files/a21395ab9cd0f5787f8bb78a4f2d3793247f505f |
|
| https://github.com/Emyrk |
|
Emyrk
| https://github.com/Emyrk |
|
| https://github.com/coder/coder/pull/21025/files/82f1c2b8ebe6185467c042595940409b0ca8ccbf |
| Please reload this page | https://github.com/coder/coder/pull/21025 |
|
| https://github.com/mafredri |
|
mafredri
| https://github.com/mafredri |
| Please reload this page | https://github.com/coder/coder/pull/21025 |
|
| https://github.com/mafredri |
|
| https://github.com/dannykopping |
|
| https://github.com/Emyrk |
|
| 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 |