Skip to content

Fix mounted extension runtime tracking - #5392

Merged
jlowin merged 1 commit into
mainfrom
codex/fix-mounted-extension-runtime
Oct 3, 2026
Merged

jlowin merged 1 commit into
mainfrom
codex/fix-mounted-extension-runtime

Conversation

@jlowin

@jlowin jlowin commented Oct 3, 2026

Copy link
Copy Markdown
Member

Mounted children reject provider additions after startup even when their root already supports the bundled extension. A shared child's ref-counted lifespan also skips a second root's extension checks, allowing new components to become visible through a root without the required capability or extension runtime. These are the two post-merge findings on #5360.

Track extension support for every serving root separately from resource lifespan ownership, forwarding those scopes through mounts, aggregates, transforms, and providers added later. A mounted child can accept a bundled provider when every active root already supports its extensions, while rejected additions leave its registrations unchanged. For a provider bundling CatalogExtension, this works after startup:

root.add_extension(CatalogExtension())
root.mount(child)

async with Client(root):
    child.add_provider(CatalogProvider())

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-03T00:46:17.669954Z a3527af 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.

@marvin-context-protocol marvin-context-protocol Bot added bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality. server Related to FastMCP server implementation or server-side functionality. labels Oct 3, 2026
@jlowin
jlowin merged commit a0dfe2a into main Oct 3, 2026
26 checks passed
@jlowin
jlowin deleted the codex/fix-mounted-extension-runtime branch October 3, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality. server Related to FastMCP server implementation or server-side functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant