Skip to content

Retry periodic log rotation after failures - #172

Open
OskarEichler wants to merge 1 commit into
ruby:masterfrom
OskarEichler:codex/retry-periodic-rotation
Open

Retry periodic log rotation after failures#172
OskarEichler wants to merge 1 commit into
ruby:masterfrom
OskarEichler:codex/retry-periodic-rotation

Conversation

@OskarEichler

Copy link
Copy Markdown

Periodic rotation advances @next_rotate_time before attempting the rotation. If the rotation fails, later writes suppress retries until the next daily or weekly boundary. Advance the schedule only after lock_shift_log reports success, so transient failures retry on subsequent writes. Existing warning and exception policies remain unchanged. Current suites pass 64 tests / 323 assertions on Ruby 4.0.6 and 3.2.11; focused failure/retry models pass. No repository tests were changed.

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.

1 participant