Skip to content

Bound worker log retention - #476

Open
yzhuang-oai wants to merge 1 commit into
mainfrom
dev/yzhuang/orchard-log-retention
Open

Bound worker log retention#476
yzhuang-oai wants to merge 1 commit into
mainfrom
dev/yzhuang/orchard-log-retention

Conversation

@yzhuang-oai

Copy link
Copy Markdown
Contributor

Worker log rotation limits the size of each file but leaves rotated backups unbounded. Keep at most five backups for up to fourteen days and compress them, while retaining the existing 100 MB rotation threshold.

Validation: go test -count=1 -timeout=120s ./internal/command/worker and the combined Orchard build.

@yzhuang-oai
yzhuang-oai requested a review from edi-oai September 1, 2026 16:17
@yzhuang-oai
yzhuang-oai marked this pull request as ready for review September 1, 2026 16:17
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-01T16:28:48.214809Z 321bfd9 New commits
🔒 Security Review Completed 2026-09-01T16:30:15.016674Z 321bfd9 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Keep at most five rotated worker log files for up to fourteen days and
compress them. Retain the existing 100 MB rotation threshold so long-running
workers do not accumulate an unlimited number of log backups.
@yzhuang-oai
yzhuang-oai force-pushed the dev/yzhuang/orchard-log-retention branch from 3118d4e to 321bfd9 Compare September 1, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants