mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Prefer remote Sites over the bundled plugin (#42100)
## Why When the remote Sites plugin is installed and its local bundle is available, exposing the bundled copy as well creates duplicate catalog entries and can load the wrong skills. ## What changed - Persist an account- and backend-scoped exclusion for `sites@openai-bundled` once the remote replacement is installed and loadable. - Apply the exclusion to plugin catalogs, search, direct reads and installs, runtime loading, hooks, and skill caches while preserving the remote plugin's server-owned enabled state. - Restore the bundled fallback when the remote plugin is absent or its local files are unavailable, and throttle repeated availability checks for 60 seconds. ## Testing - Added manager tests for persistence across restarts, account/backend isolation, fallback restoration, concurrent checks, and refresh throttling. - Added app-server and agent-turn tests confirming that catalog, search, and skill loading prefer remote Sites. GitOrigin-RevId: bc1154f79d3107910fee9fa27389a0ddb48ce6cf
This commit is contained in:
1 parent
a17ee5705c
commit
b6ab99ed87
16 files changed
+864
-27
No files matched your search
@@ -52,7 +52,7 @@ async fn verified_plugin_install_completed_requires_installed_plugin() {
|
||||
|
||||
plugins_manager
|
||||
.install_plugin(
|
||||
&config.config_layer_stack,
|
||||
&config.plugins_config_input(),
|
||||
PluginInstallRequest {
|
||||
plugin_name: "sample".to_string(),
|
||||
marketplace_path: AbsolutePathBuf::try_from(
|
||||
|
||||
Reference in new issue
Block a user