From c2be76c6a985583619365fb305e4f688f7bb4127 Mon Sep 17 00:00:00 2001 From: xli-oai Date: Tue, 12 May 2026 17:24:02 -0700 Subject: [PATCH] codex: clarify remote marketplace cache helper --- codex-rs/core-plugins/src/manager.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/core-plugins/src/manager.rs b/codex-rs/core-plugins/src/manager.rs index 2317289ad8..e08a78302c 100644 --- a/codex-rs/core-plugins/src/manager.rs +++ b/codex-rs/core-plugins/src/manager.rs @@ -844,7 +844,7 @@ impl PluginsManager { }); } - fn cached_remote_marketplaces( + fn prune_and_get_cached_remote_marketplaces( &self, cache_key: &RemoteMarketplacesCacheKey, ) -> Option> { @@ -935,7 +935,7 @@ impl PluginsManager { ) -> Result, RemotePluginCatalogError> { let cache_key = remote_marketplaces_cache_key(config, auth, sources); loop { - if let Some(marketplaces) = self.cached_remote_marketplaces(&cache_key) { + if let Some(marketplaces) = self.prune_and_get_cached_remote_marketplaces(&cache_key) { return Ok(marketplaces); }