Skip to content

Measure MCP UI URIs missing trusted connector IDs#31320

Open
martinauyeung-oai wants to merge 2 commits into
mainfrom
martinauyeung/measure-mcp-uri-without-connector
Open

Measure MCP UI URIs missing trusted connector IDs#31320
martinauyeung-oai wants to merge 2 commits into
mainfrom
martinauyeung/measure-mcp-uri-without-connector

Conversation

@martinauyeung-oai

@martinauyeung-oai martinauyeung-oai commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Emit codex.mcp.ui_resource_uri_without_trusted_connector_id when a tool has a non-empty UI resource URI but no non-empty trusted connector ID.
  • Tag the counter with bounded server_kind values to distinguish Codex Apps, selected plugins, and other MCP servers.
  • Reuse the Codex Apps server predicate across the existing policy branches.

Why

This measures whether the top-level mcpAppResourceUri can be removed safely in favor of appContext.resourceUri.

Validation

  • cargo fmt --check
  • git diff --check
  • Deep code simplifier and review ensembles completed with no remaining callouts.
  • Focused codex-core test was not completed because the local volume ran out of space while compiling dependencies.

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@martinauyeung-oai martinauyeung-oai force-pushed the martinauyeung/measure-mcp-uri-without-connector branch from f24f283 to 35d7a8b Compare July 6, 2026 23:57
@martinauyeung-oai martinauyeung-oai marked this pull request as ready for review July 6, 2026 23:58
@martinauyeung-oai martinauyeung-oai requested a review from a team as a code owner July 6, 2026 23:58

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 35d7a8bb99

ℹ️ 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".

Comment thread codex-rs/core/src/mcp_tool_call/telemetry.rs Outdated
@martinauyeung-oai martinauyeung-oai force-pushed the martinauyeung/measure-mcp-uri-without-connector branch from 35d7a8b to 5cbd5b4 Compare July 7, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant