Files
codex/codex-rs
Charlie Marsh 444803ddcd Skip recent rollouts before reading headers during compression (#62092)
## Why

Recent rollouts are ineligible for compression, but reading their headers during scanning can still update their access times on relatime mounts.

## What changed

Check modification times before opening rollout headers and skip files younger than seven days. Record these skips through shared compression statistics and metrics helpers, while retaining the age check before encoding.

## Testing

Extend the worker test to verify that scanning leaves a recent rollout's access time unchanged. Age the malformed-header fixture so it continues to exercise metadata read failures.

GitOrigin-RevId: eca72e8c170af975a1f91fa95adcfc62ab038151
2026-11-17 18:42:08 +00:00
..
…
…
…
…