mirror of
https://github.com/openai/codex.git
synced 2026-10-28 18:58:46 +00:00
## Why Tool suggestions loaded and cloned the cached connector directory even when no candidates remained after excluding accessible apps. ## What changed - Filter out accessible connectors before loading the directory, skipping the lookup when no candidates remain. - Share cached directory entries through `Arc<[AppInfo]>` and clone only matching entries for suggestions. - Preserve placeholder suggestions for candidate connectors missing from the directory. ## Testing Add coverage for skipping directory lookups with no remaining candidates, sharing cached storage, and preserving directory metadata and missing-connector fallbacks while excluding accessible apps, including disabled ones. GitOrigin-RevId: acaf3e1564fb4e2b4f805cffe1d7db8e40d5fe3d