Skip to content

Centralize remote plugin mutations in PluginsManager - #42114

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/de39f19a4e61c6e9c76ddc2c65d2ac130a4b7f88
Sep 1, 2026
Merged

Centralize remote plugin mutations in PluginsManager#42114
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/de39f19a4e61c6e9c76ddc2c65d2ac130a4b7f88

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 1, 2026

Copy link
Copy Markdown

Centralize remote plugin mutations in PluginsManager

What changed

  • Move remote plugin install and uninstall orchestration from the app server into shared PluginsManager APIs.
  • Keep cache and backend mutations coordinated by the installed-plugin sync gate, and retain install outcomes long enough to protect newly materialized bundles during downstream setup.
  • Return structured operation errors and outcomes so callers can preserve JSON-RPC error mapping, telemetry, cache refreshes, and OAuth setup.

Testing

  • Add regression coverage that verifies uninstall holds the mutation gate, preserves the local cache when the backend operation fails, and refreshes installed state after a successful uninstall.

## What changed

- Move remote plugin install and uninstall orchestration from the app server into shared `PluginsManager` APIs.
- Keep cache and backend mutations coordinated by the installed-plugin sync gate, and retain install outcomes long enough to protect newly materialized bundles during downstream setup.
- Return structured operation errors and outcomes so callers can preserve JSON-RPC error mapping, telemetry, cache refreshes, and OAuth setup.

## Testing

- Add regression coverage that verifies uninstall holds the mutation gate, preserves the local cache when the backend operation fails, and refreshes installed state after a successful uninstall.

GitOrigin-RevId: de39f19a4e61c6e9c76ddc2c65d2ac130a4b7f88
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/de39f19a4e61c6e9c76ddc2c65d2ac130a4b7f88 branch from b2c5fcf to ef76e6a Compare September 1, 2026 18:36
@copyberry
copyberry Bot merged commit ef76e6a into main Sep 1, 2026
26 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/de39f19a4e61c6e9c76ddc2c65d2ac130a4b7f88 branch September 1, 2026 18:37
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 1, 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.

3 participants