Use cached remote plugin catalog for plugin list#26932
Merged
Merged
Conversation
xli-oai
approved these changes
Jun 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This changes the default remote plugin marketplace listing to use the cached global remote catalog when it is already present on disk. The foreground
plugin/listresponse can then return from the local catalog cache instead of waiting on/ps/plugins/list.When a cached global catalog was present at the start of the request,
plugin/liststill schedules a background refresh through the existing plugin-list background task path so the disk cache is updated for future requests. Cache misses keep the existing synchronous remote fetch path and write the cache, and they do not schedule an extra duplicate background/ps/plugins/listrefresh.Installed/enabled state continues to come from the existing remote installed overlay path. This change only affects the global remote catalog directory data used by
plugin/list.Testing
just fmtjust test -p codex-app-server plugin_list_uses_cached_global_remote_catalog_and_refreshes_itjust test -p codex-core-pluginsgit diff --check