Repository navigation
Allow Apps catalog discovery before the initial tool inventory completes - #58352
Merged
copyberry[bot] merged 1 commit intoOct 30, 2026
Conversation
…tes (#58352) ## Why Plugin and skill catalog reads currently wait for the Apps server's initial `tools/list` to finish, even after its MCP transport is initialized. ## What changed Add the disabled-by-default `features.apps_early_resource_discovery` flag. When enabled, host-owned Apps requests for `mcp/plugin` and `mcp/skill` resources can use the initialized transport while the initial tool inventory is pending. Server readiness still waits for the inventory to complete, and retries use normal readiness. Bound early client acquisition by the configured startup timeout, propagate startup failures and cancellation, and reject pages if the connection, authentication scope, or resource cache generation changes during discovery. ## Testing Add coverage for gated discovery, concurrent plugin and skill reads, startup timeouts and failures, cancellation, cache invalidation, and account switches. Verify that early discovery reuses a single handshake and tool inventory, including with the newer MCP protocol and connection sharing enabled. GitOrigin-RevId: 955b1f6d43b733bdf9763c1caf2ce6913c686c81
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/955b1f6d43b733bdf9763c1caf2ce6913c686c81
branch
from
October 30, 2026 14:48
d309568 to
9630b2e
Compare
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/955b1f6d43b733bdf9763c1caf2ce6913c686c81
branch
October 30, 2026 14:48
BoranStudio
temporarily deployed
to
issue-triage
October 30, 2026 14:50 — with
GitHub Actions
Inactive
BoranStudio
temporarily deployed
to
issue-triage
October 30, 2026 14:50 — with
GitHub Actions
Inactive
BoranStudio
temporarily deployed
to
issue-triage
October 30, 2026 14:50 — with
GitHub Actions
Inactive
BoranStudio
temporarily deployed
to
issue-triage
October 30, 2026 14:51 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allow Apps catalog discovery before the initial tool inventory completes
Why
Plugin and skill catalog reads currently wait for the Apps server's initial
tools/listto finish, even after its MCP transport is initialized.What changed
Add the disabled-by-default
features.apps_early_resource_discoveryflag. When enabled, host-owned Apps requests formcp/pluginandmcp/skillresources can use the initialized transport while the initial tool inventory is pending. Server readiness still waits for the inventory to complete, and retries use normal readiness.Bound early client acquisition by the configured startup timeout, propagate startup failures and cancellation, and reject pages if the connection, authentication scope, or resource cache generation changes during discovery.
Testing
Add coverage for gated discovery, concurrent plugin and skill reads, startup timeouts and failures, cancellation, cache invalidation, and account switches. Verify that early discovery reuses a single handshake and tool inventory, including with the newer MCP protocol and connection sharing enabled.