Skip to content

[codex] Describe uninstalled cross-repo plugin reads#18449

Merged
xli-oai merged 3 commits intomainfrom
xli-codex/cross-repo-plugin-read-description
Apr 18, 2026
Merged

[codex] Describe uninstalled cross-repo plugin reads#18449
xli-oai merged 3 commits intomainfrom
xli-codex/cross-repo-plugin-read-description

Conversation

@xli-oai
Copy link
Copy Markdown
Contributor

@xli-oai xli-oai commented Apr 18, 2026

Summary

  • Populate PluginDetail.description in core for uninstalled cross-repo plugins when detailed fields are unavailable until install.
  • Include the source Git URL plus optional path/ref/sha details in that fallback description.
  • Keep details_unavailable_reason as the structured signal while app-server forwards the description normally.
  • Add plugin-read coverage proving the response does not clone the remote source just to show the message.

Why

Uninstalled cross-repo plugins intentionally return sparse detail data so listing/reading does not clone the plugin source. Without a description, Desktop and TUI detail pages look like an ordinary empty plugin. This gives users a concrete explanation and source pointer while keeping the existing structured reason available for callers.

Validation

  • just fmt
  • cargo test -p codex-core read_plugin_for_config_uninstalled_git_source_requires_install_without_cloning
  • cargo test -p codex-app-server plugin_read --test all
  • just fix -p codex-core
  • just fix -p codex-app-server

Note: cargo test -p codex-app-server was also attempted before the latest refactor and failed broadly in unrelated v2 thread/realtime/review/skills suites; the new plugin-read test passed in that run as well.

@xli-oai xli-oai added the oai PRs contributed by OpenAI employees label Apr 18, 2026 — with ChatGPT Codex Connector
@xli-oai xli-oai marked this pull request as ready for review April 18, 2026 02:43
@xli-oai xli-oai force-pushed the xli-codex/cross-repo-plugin-read-description branch from 67c4ec7 to c6b2b51 Compare April 18, 2026 03:11
@xli-oai xli-oai enabled auto-merge (squash) April 18, 2026 03:23
@xli-oai xli-oai disabled auto-merge April 18, 2026 03:23
@xli-oai
Copy link
Copy Markdown
Contributor Author

xli-oai commented Apr 18, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Keep it up!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@xli-oai xli-oai merged commit def6467 into main Apr 18, 2026
25 checks passed
@xli-oai xli-oai deleted the xli-codex/cross-repo-plugin-read-description branch April 18, 2026 03:31
@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 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