René's URL Explorer Experiment


Title: feat(coderd/database/dbpurge): add retention for connection logs by mafredri · Pull Request #21022 · coder/coder · GitHub

Open Graph Title: feat(coderd/database/dbpurge): add retention for connection logs by mafredri · Pull Request #21022 · coder/coder

X Title: feat(coderd/database/dbpurge): add retention for connection logs by mafredri · Pull Request #21022 · coder/coder

Description: Secure environments for developers and their agents - feat(coderd/database/dbpurge): add retention for connection logs by mafredri · Pull Request #21022 · coder/coder

Open Graph Description: 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 ...

X Description: 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 ...

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

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:50c8c0a2-32fc-095d-fd65-c5e6e9e33f75
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE86C:1F44:14B5B65:1B1ED68:6B014FC3
html-safe-nonce35778d27474a1642dc4b9a40aaa69293a311f59dc21855fdd1d0b91ac8b351f9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODZDOjFGNDQ6MTRCNUI2NToxQjFFRDY4OjZCMDE0RkMzIiwidmlzaXRvcl9pZCI6IjYyMzQ0MTkzMzQzMjA1NzQ0MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc4902b755f2b49058c8b677f81c918696852cfd06bacfec278c9291c41dd788f
hovercard-subject-tagpull_request:3059296700
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/21022/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6f25f936cc5bceee8e944a64c105cd844cd875cabf51c304b430445cfe0f3ca4/coder/coder/pull/21022
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6f25f936cc5bceee8e944a64c105cd844cd875cabf51c304b430445cfe0f3ca4/coder/coder/pull/21022
og:image:altAdd 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: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/21022#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F21022
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%2F21022
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/21022
Reloadhttps://github.com/coder/coder/pull/21022
Reloadhttps://github.com/coder/coder/pull/21022
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
mafredrihttps://github.com/mafredri
mainhttps://github.com/coder/coder/tree/main
mafredri/feat-coderd-db-retention-policy-2https://github.com/coder/coder/tree/mafredri/feat-coderd-db-retention-policy-2
Conversationhttps://github.com/coder/coder/pull/21022
Commits5 (5)https://github.com/coder/coder/pull/21022/commits
Checkshttps://github.com/coder/coder/pull/21022/checks
Files changedhttps://github.com/coder/coder/pull/21022/files
feat(coderd/database/dbpurge): add retention for connection logshttps://github.com/coder/coder/pull/21022#top
mafredrihttps://github.com/mafredri
mainhttps://github.com/coder/coder/tree/main
mafredri/feat-coderd-db-retention-policy-2https://github.com/coder/coder/tree/mafredri/feat-coderd-db-retention-policy-2
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Dec 1, 2025https://github.com/coder/coder/pull/21022#issue-3681031034
Please reload this pagehttps://github.com/coder/coder/pull/21022
#21021https://github.com/coder/coder/pull/21021
#20743https://github.com/coder/coder/issues/20743
#21021https://github.com/coder/coder/pull/21021
#21022https://github.com/coder/coder/pull/21022
#21025https://github.com/coder/coder/pull/21025
#21037https://github.com/coder/coder/pull/21037
#21038https://github.com/coder/coder/pull/21038
#21039https://github.com/coder/coder/pull/21039
Please reload this pagehttps://github.com/coder/coder/pull/21022
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
mafredrihttps://github.com/mafredri
Dec 1, 2025https://github.com/coder/coder/pull/21022#event-21276215138
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/c067a6397c7c68ac960796ac5b453c3251b76906..661866dfa007f8726dc6c13d2a26852021678efc
c067a63https://github.com/coder/coder/commit/c067a6397c7c68ac960796ac5b453c3251b76906
661866dhttps://github.com/coder/coder/commit/661866dfa007f8726dc6c13d2a26852021678efc
Compare https://github.com/coder/coder/compare/c067a6397c7c68ac960796ac5b453c3251b76906..661866dfa007f8726dc6c13d2a26852021678efc
December 1, 2025 13:31https://github.com/coder/coder/pull/21022#event-21276236903
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Dec 1, 2025https://github.com/coder/coder/pull/21022#event-21276322871
https://github.com/mafredri
mafredrihttps://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
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/b8a4bdba12c08202b03ab46d8c8aaae7a4d449a3..0fb3b51fea9e74beacaf923cbf724f7f34a49c43
b8a4bdbhttps://github.com/coder/coder/commit/b8a4bdba12c08202b03ab46d8c8aaae7a4d449a3
0fb3b51https://github.com/coder/coder/commit/0fb3b51fea9e74beacaf923cbf724f7f34a49c43
Compare https://github.com/coder/coder/compare/b8a4bdba12c08202b03ab46d8c8aaae7a4d449a3..0fb3b51fea9e74beacaf923cbf724f7f34a49c43
December 1, 2025 14:40https://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
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/724b5891b69921239acd215e393aa41867994640..782f1f7f12a2cf18ccc4f55fc2a070b74506e692
724b589https://github.com/coder/coder/commit/724b5891b69921239acd215e393aa41867994640
782f1f7https://github.com/coder/coder/commit/782f1f7f12a2cf18ccc4f55fc2a070b74506e692
Compare https://github.com/coder/coder/compare/724b5891b69921239acd215e393aa41867994640..782f1f7f12a2cf18ccc4f55fc2a070b74506e692
December 1, 2025 17:00https://github.com/coder/coder/pull/21022#event-21281864625
https://github.com/mafredri
mafredrihttps://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
mafredrihttps://github.com/mafredri
December 1, 2025 18:17https://github.com/coder/coder/pull/21022#event-21283881449
https://github.com/mafredri
mafredrihttps://github.com/mafredri
ethanndicksonhttps://github.com/ethanndickson
mtojekhttps://github.com/mtojek
December 1, 2025 18:18https://github.com/coder/coder/pull/21022#event-21283896209
https://github.com/ethanndickson
ethanndicksonhttps://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
ethanndicksonhttps://github.com/ethanndickson
Please reload this pagehttps://github.com/coder/coder/pull/21022
https://github.com/coder/coder/pull/21022#pullrequestreview-3527582665
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/21022
coderd/database/dbpurge/dbpurge.gohttps://github.com/coder/coder/pull/21022/files#diff-eaac7d7f5aebcb16f04bb36e5857d440cdefa8d9fe1c9f710528d96f2abbaa4d
Please reload this pagehttps://github.com/coder/coder/pull/21022
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/b34ee612ad50aabc86aa711494149669eb0e3d3a..d5062e2d124ef82851826d9c0bcd904e81d369ce
b34ee61https://github.com/coder/coder/commit/b34ee612ad50aabc86aa711494149669eb0e3d3a
d5062e2https://github.com/coder/coder/commit/d5062e2d124ef82851826d9c0bcd904e81d369ce
Compare https://github.com/coder/coder/compare/b34ee612ad50aabc86aa711494149669eb0e3d3a..d5062e2d124ef82851826d9c0bcd904e81d369ce
December 2, 2025 09:48https://github.com/coder/coder/pull/21022#event-21301137524
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/782f1f7f12a2cf18ccc4f55fc2a070b74506e692..039afdb4b0d81ce4b4ff3bd807cfbbc042b9bc48
782f1f7https://github.com/coder/coder/commit/782f1f7f12a2cf18ccc4f55fc2a070b74506e692
039afdbhttps://github.com/coder/coder/commit/039afdb4b0d81ce4b4ff3bd807cfbbc042b9bc48
Compare https://github.com/coder/coder/compare/782f1f7f12a2cf18ccc4f55fc2a070b74506e692..039afdb4b0d81ce4b4ff3bd807cfbbc042b9bc48
December 2, 2025 09:59https://github.com/coder/coder/pull/21022#event-21301386513
December 2, 2025 14:04https://github.com/coder/coder/pull/21022#event-21306957485
mafredrihttps://github.com/mafredri
December 2, 2025 14:05https://github.com/coder/coder/pull/21022#commits-pushed-6f8afca
https://github.com/mafredri
feat(coderd/database/dbpurge): add retention for connection logshttps://github.com/coder/coder/pull/21022/commits/6f8afca208e6e7eb70892ad40fddc8d0f3620e86
6f8afcahttps://github.com/coder/coder/pull/21022/commits/6f8afca208e6e7eb70892ad40fddc8d0f3620e86
#21021https://github.com/coder/coder/pull/21021
#20743https://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
dfcabb6https://github.com/coder/coder/pull/21022/commits/dfcabb65975d0a582cdb0bf1e5438c29407def29
https://github.com/mafredri
chore: remove global retention fallback for connection logshttps://github.com/coder/coder/pull/21022/commits/5a442c358061f15c0da416f2960e60d516b48968
5a442c3https://github.com/coder/coder/pull/21022/commits/5a442c358061f15c0da416f2960e60d516b48968
https://github.com/mafredri
refactor: optimize DeleteOldConnectionLogs to use :execrowshttps://github.com/coder/coder/pull/21022/commits/24a6d95271aefab8d1e25597646148032f5d5f5d
24a6d95https://github.com/coder/coder/pull/21022/commits/24a6d95271aefab8d1e25597646148032f5d5f5d
https://github.com/mafredri
chore: increase connection logs batch size to 10000https://github.com/coder/coder/pull/21022/commits/d456497a52bc7baa89c775db4638f2c35d5dee26
d456497https://github.com/coder/coder/pull/21022/commits/d456497a52bc7baa89c775db4638f2c35d5dee26
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/6433def9ebd7185887c4faba45149c66fa3780ed..d456497a52bc7baa89c775db4638f2c35d5dee26
6433defhttps://github.com/coder/coder/commit/6433def9ebd7185887c4faba45149c66fa3780ed
d456497https://github.com/coder/coder/commit/d456497a52bc7baa89c775db4638f2c35d5dee26
Compare https://github.com/coder/coder/compare/6433def9ebd7185887c4faba45149c66fa3780ed..d456497a52bc7baa89c775db4638f2c35d5dee26
December 2, 2025 14:05https://github.com/coder/coder/pull/21022#event-21306990217
https://github.com/mafredri
mafredrihttps://github.com/mafredri
December 2, 2025 14:08https://github.com/coder/coder/pull/21022#event-21307047297
https://github.com/mafredri
mafredrihttps://github.com/mafredri
9ebcca5https://github.com/coder/coder/commit/9ebcca5b0d8a8a4f4af63ebe3a2f41ddab70f448
Dec 2, 2025https://github.com/coder/coder/pull/21022#event-21307284221
https://github.com/mafredri
mafredrihttps://github.com/mafredri
December 2, 2025 14:17https://github.com/coder/coder/pull/21022#event-21307284925
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Dec 2, 2025https://github.com/coder/coder/pull/21022#event-21307292374
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%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 pagehttps://github.com/coder/coder/pull/21022
https://github.com/mafredri
mafredri https://github.com/mafredri
Please reload this pagehttps://github.com/coder/coder/pull/21022
https://github.com/mafredri
https://github.com/ethanndickson
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.