Skip to content

Use cached remote plugin catalog for plugin list#26932

Merged
xl-openai merged 1 commit into
mainfrom
xl/plugin-list
Jun 8, 2026
Merged

Use cached remote plugin catalog for plugin list#26932
xl-openai merged 1 commit into
mainfrom
xl/plugin-list

Conversation

@xl-openai

Copy link
Copy Markdown
Collaborator

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/list response 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/list still 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/list refresh.

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 fmt
  • just test -p codex-app-server plugin_list_uses_cached_global_remote_catalog_and_refreshes_it
  • just test -p codex-core-plugins
  • git diff --check

@xl-openai xl-openai merged commit 381f0de into main Jun 8, 2026
31 checks passed
@xl-openai xl-openai deleted the xl/plugin-list branch June 8, 2026 21:47
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants