Files
codex/codex-rs/core-plugins
Dmitriy Kovalenko 75c78768d2 Reclaim aged legacy marketplace staging directories (#55690)
## Why

Legacy marketplace checkouts have no owner lock and were skipped by staging cleanup. Age thresholds allow cleanup to reclaim them while leaving recent clones from older binaries alone.

## What changed

Remove legacy `marketplace-add-` directories after 24 hours and `marketplace-upgrade-` directories after 10 minutes, based on directory modification time. Keep owner locks authoritative for current staging directories.

## Testing

Extend cleanup tests to cover both legacy age thresholds, preservation of recent legacy clones and live locked checkouts, and skipping legacy symlinks.

GitOrigin-RevId: 77b55bfe50ab29f5ceae46a80276b2c9e361107f
2026-10-20 22:27:04 +00:00
..