Repository navigation
Preserve orchestrator skill caches across MCP runtime updates - #46033
Merged
copyberry[bot] merged 1 commit intoSep 16, 2026
Conversation
## Why Orchestrator skill caches were tied to the entire MCP connection set, so runtime updates could discard cached catalogs and contents even when the Apps connection was reused. Plugin changes still need to refresh those resources without requiring a reconnect. ## What changed Key orchestrator skill caches by the Apps server connection and an explicit invalidation generation. Preserve cached resources while that identity stays unchanged, and invalidate them on MCP runtime refresh requests or configuration refreshes. Replacing the connection also changes the cache identity. ## Testing Extend the production-turn integration test to verify cache reuse across ordinary turns and approval-policy changes, refreshed skill contents after plugin invalidation without reconnecting, and fresh resource requests after a forced reconnect. GitOrigin-RevId: 43ce059972369c4c735742e8224b60a692244b02
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/43ce059972369c4c735742e8224b60a692244b02
branch
from
September 16, 2026 21:41
c17a3c9 to
29e6bc8
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/43ce059972369c4c735742e8224b60a692244b02
branch
September 16, 2026 21:41
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. |
wattsos
temporarily deployed
to
issue-triage
September 16, 2026 21:48 — with
GitHub Actions
Inactive
wattsos
temporarily deployed
to
issue-triage
September 16, 2026 21:48 — with
GitHub Actions
Inactive
wattsos
temporarily deployed
to
issue-triage
September 16, 2026 21:48 — 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.
Preserve orchestrator skill caches across MCP runtime updates
Why
Orchestrator skill caches were tied to the entire MCP connection set, so runtime updates could discard cached catalogs and contents even when the Apps connection was reused. Plugin changes still need to refresh those resources without requiring a reconnect.
What changed
Key orchestrator skill caches by the Apps server connection and an explicit invalidation generation. Preserve cached resources while that identity stays unchanged, and invalidate them on MCP runtime refresh requests or configuration refreshes. Replacing the connection also changes the cache identity.
Testing
Extend the production-turn integration test to verify cache reuse across ordinary turns and approval-policy changes, refreshed skill contents after plugin invalidation without reconnecting, and fresh resource requests after a forced reconnect.