Skip to content

Remove remote plugin uninstall prefix gate#20722

Merged
xli-oai merged 5 commits into
mainfrom
xli-codex/remove-remote-plugin-uninstall-prefix-check
May 4, 2026
Merged

Remove remote plugin uninstall prefix gate#20722
xli-oai merged 5 commits into
mainfrom
xli-codex/remove-remote-plugin-uninstall-prefix-check

Conversation

@xli-oai

@xli-oai xli-oai commented May 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Remove the hardcoded remote plugin ID prefix allow-list from app-server uninstall routing. IDs that do not parse as local plugin@marketplace IDs now flow through the remote uninstall path, where the existing remote ID safety validation still rejects empty IDs, spaces, slashes, and other unsafe characters before URL/cache use.

Why

Plugin-service owns the backend remote plugin ID contract. Codex should not require remote IDs to start with the local hardcoded prefixes plugins~, plugins_, app_, asdk_app_, or connector_, because newer backend ID families could otherwise be rejected before plugin-service sees the request.

Validation

  • just fmt
  • cargo test -p codex-app-server plugin_uninstall
  • just fix -p codex-app-server
  • git diff --check

@xli-oai xli-oai added the oai PRs contributed by OpenAI employees label May 2, 2026 — with ChatGPT Codex Connector
@xli-oai

xli-oai commented May 2, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@xli-oai xli-oai marked this pull request as ready for review May 2, 2026 02:50
@xli-oai xli-oai force-pushed the xli-codex/remove-remote-plugin-uninstall-prefix-check branch from 17c9fde to 13ca1cf Compare May 4, 2026 22:53
@xli-oai xli-oai merged commit a8db4af into main May 4, 2026
26 checks passed
@xli-oai xli-oai deleted the xli-codex/remove-remote-plugin-uninstall-prefix-check branch May 4, 2026 23:28
@github-actions github-actions Bot locked and limited conversation to collaborators May 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

oai PRs contributed by OpenAI employees

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants