Skip to content

Emit analytics for remote plugin installs#20267

Merged
xli-oai merged 2 commits into
mainfrom
xli-codex/remote-plugin-install-analytics
May 1, 2026
Merged

Emit analytics for remote plugin installs#20267
xli-oai merged 2 commits into
mainfrom
xli-codex/remote-plugin-install-analytics

Conversation

@xli-oai
Copy link
Copy Markdown
Contributor

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

Summary

  • emit codex_plugin_installed after a remote plugin install succeeds
  • keep local installs unchanged, but let remote installs override the analytics plugin_id with the backend remote plugin id (plugins~Plugin_...)
  • preserve the local/display identity in plugin_name and marketplace_name, plus capability metadata from the installed bundle
  • add regression coverage for local install analytics, remote install analytics, and analytics id override serialization

Testing

  • just fmt
  • cargo test -p codex-analytics
  • cargo test -p codex-app-server
@xli-oai xli-oai added the oai PRs contributed by OpenAI employees label Apr 29, 2026 — with ChatGPT Codex Connector
Comment thread codex-rs/app-server/src/codex_message_processor/plugins.rs Outdated
@xli-oai xli-oai force-pushed the xli-codex/remote-plugin-install-analytics branch from 2328024 to 605d024 Compare April 30, 2026 01:09
@xli-oai xli-oai force-pushed the xli-codex/remote-plugin-install-analytics branch 2 times, most recently from 1a83d8b to 8d25bde Compare April 30, 2026 03:43
@xli-oai xli-oai force-pushed the xli-codex/remote-plugin-install-analytics branch from 8d25bde to 2ba58da Compare April 30, 2026 22:58
Comment thread codex-rs/plugin/src/lib.rs Outdated
@xli-oai
Copy link
Copy Markdown
Contributor Author

xli-oai commented Apr 30, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

ℹ️ 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 acdf908 into main May 1, 2026
25 checks passed
@xli-oai xli-oai deleted the xli-codex/remote-plugin-install-analytics branch May 1, 2026 00:27
@github-actions github-actions Bot locked and limited conversation to collaborators May 1, 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

2 participants