Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: add data retention documentation#21038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
mafredri wants to merge7 commits intomafredri/feat-coderd-db-retention-policy-4
base:mafredri/feat-coderd-db-retention-policy-4
Choose a base branch
Loading
frommafredri/feat-coderd-db-retention-policy-5

Conversation

@mafredri
Copy link
Member

@mafredrimafredri commentedDec 1, 2025
edited
Loading

Document configurable retention policies for Audit Logs, Connection Logs,
and API keys. Add new data-retention.md page and update existing docs to
reference it.

Depends on#21021
Updates#20743


PR Stack

PRTitle
#21021feat(coderd): add retention policy configuration
#21022feat(coderd/database/dbpurge): add retention for connection logs
#21025feat(coderd/database/dbpurge): add retention for audit logs
#21037feat(coderd/database/dbpurge): make API keys retention configurable
👉#21038docs: add data retention documentation
#21039feat: add retention config forworkspace_agent_logs

Add configurable retention policy for audit logs. The DeleteOldAuditLogsquery excludes deprecated connection events (connect, disconnect, open,close) which are handled separately by DeleteOldAuditLogConnectionEvents.Falls back to global retention if audit logs retention is unset.Disabled (0) by default.Depends on#21021Updates#20743
Replace hardcoded 7-day retention for expired API keys with configurableretention from deployment settings. Falls back to global retention whennot set, and skips deletion entirely when effective retention is 0.Depends on#21021Updates#20743
@mafredrimafredriforce-pushed themafredri/feat-coderd-db-retention-policy-4 branch from0e782ee tobd8e537CompareDecember 1, 2025 16:00
@mafredrimafredriforce-pushed themafredri/feat-coderd-db-retention-policy-5 branch fromccd7601 to23641d0CompareDecember 1, 2025 16:00
Document configurable retention policies for Audit Logs, Connection Logs,and API keys. Add new data-retention.md page and update existing docs toreference it.Depends on#21021Updates#20743
@mafredrimafredriforce-pushed themafredri/feat-coderd-db-retention-policy-5 branch from23641d0 to123724dCompareDecember 1, 2025 16:19
@mafredrimafredri marked this pull request as ready for reviewDecember 1, 2025 16:28
mafredri added a commit that referenced this pull requestDec 1, 2025
Replace hardcoded 7-day retention for workspace agent logs with configurableretention from deployment settings. Defaults to 7d to preserve existing behavior.Depends on#21038Updates#20743
mafredri added a commit that referenced this pull requestDec 1, 2025
Replace hardcoded 7-day retention for workspace agent logs with configurableretention from deployment settings. Falls back to global retention when notset, and skips deletion entirely when effective retention is 0.Depends on#21038Updates#20743
mafredri added a commit that referenced this pull requestDec 1, 2025
Replace hardcoded 7-day retention for workspace agent logs with configurableretention from deployment settings. Falls back to global retention when notset, and skips deletion entirely when effective retention is 0.Depends on#21038Updates#20743
mafredri added a commit that referenced this pull requestDec 1, 2025
Replace hardcoded 7-day retention for workspace agent logs with configurableretention from deployment settings. Falls back to global retention when notset, and skips deletion entirely when effective retention is 0.Depends on#21038Updates#20743
@mafredrimafredriforce-pushed themafredri/feat-coderd-db-retention-policy-4 branch frome16d01f to008a48aCompareDecember 1, 2025 17:44
mafredri added a commit that referenced this pull requestDec 1, 2025
Replace hardcoded 7-day retention for workspace agent logs with configurableretention from deployment settings. Falls back to global retention when notset, and skips deletion entirely when effective retention is 0.Depends on#21038Updates#20743
mafredri added a commit that referenced this pull requestDec 1, 2025
Replace hardcoded 7-day retention for workspace agent logs with configurableretention from deployment settings. Falls back to global retention when notset, and skips deletion entirely when effective retention is 0.Depends on#21038Updates#20743
mafredri added a commit that referenced this pull requestDec 1, 2025
Replace hardcoded 7-day retention for workspace agent logs with configurableretention from deployment settings. Falls back to global retention when notset, and skips deletion entirely when effective retention is 0.Depends on#21038Updates#20743
@mafredrimafredriforce-pushed themafredri/feat-coderd-db-retention-policy-4 branch from008a48a to03f5ec5CompareDecember 1, 2025 18:07
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@david-fraleydavid-fraleyAwaiting requested review from david-fraley

Assignees

@mafredrimafredri

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@mafredri

[8]ページ先頭

©2009-2025 Movatter.jp