Skip to content

Deduplicate overlapping Apps startup tool listings - #61220

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/cb626f6cb9c38e27b3d75a8da55bda584aaef6f4
Nov 13, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/cb626f6cb9c38e27b3d75a8da55bda584aaef6f4

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Deduplicate overlapping Apps startup tool listings

Why

Concurrent Apps startups with equivalent discovery inputs each issue a tools/list request even though they share a live tool catalog.

What changed

Share successful tool listings across overlapping startups in the same discovery scope while keeping each client's MCP connection independent. Later startups and explicit refreshes still fetch from the server.

Include time spent waiting for a shared listing in the configured startup timeout. If a listing fails or is cancelled, let a waiting startup retry using its own connection. Preserve separate catalogs for different scopes and honor servers that opt out of catalog sharing.

Testing

Add tests for shared startup listings with independent connections, waiting timeouts, cancellation recovery, and catalog isolation across discovery scopes.

## Why

Concurrent Apps startups with equivalent discovery inputs each issue a `tools/list` request even though they share a live tool catalog.

## What changed

Share successful tool listings across overlapping startups in the same discovery scope while keeping each client's MCP connection independent. Later startups and explicit refreshes still fetch from the server.

Include time spent waiting for a shared listing in the configured startup timeout. If a listing fails or is cancelled, let a waiting startup retry using its own connection. Preserve separate catalogs for different scopes and honor servers that opt out of catalog sharing.

## Testing

Add tests for shared startup listings with independent connections, waiting timeouts, cancellation recovery, and catalog isolation across discovery scopes.

GitOrigin-RevId: cb626f6cb9c38e27b3d75a8da55bda584aaef6f4
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/cb626f6cb9c38e27b3d75a8da55bda584aaef6f4 branch from 0a899c5 to e1340f2 Compare November 13, 2026 01:09
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-13T01:09:19.719964Z 0a899c5 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit e1340f2 into main Nov 13, 2026
11 of 23 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/cb626f6cb9c38e27b3d75a8da55bda584aaef6f4 branch November 13, 2026 01:09
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant