mirror of
https://github.com/openai/codex.git
synced 2026-10-14 16:38:43 +00:00
## Why Checking installed plugin roots performs filesystem work while holding the loaded plugins cache mutex, blocking lookups for other cache keys. ## What changed Store cache entries in `Arc`s and release the mutex before validating installation paths. After reacquiring the lock, check the cache generation and entry identity to reject entries invalidated or replaced during validation. Preserve stale-entry eviction and most-recently-used ordering. GitOrigin-RevId: cb5a5f7ec52cba852e6bb9da03a8e214cc19727d