Skip to content

test(mcpx): probe catalog.pinnedTools and retention.maxTools - #11854

Merged
dezren39 merged 1 commit into
mainfrom
test/mcpx-reactive-probes
Nov 18, 2026
Merged

dezren39 merged 1 commit into
mainfrom
test/mcpx-reactive-probes

Conversation

@dezren39

@dezren39 dezren39 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Before: catalog.pinnedTools and retention.maxTools were exempt from the settings effect check, on the grounds that the fake server's tool set was too small. Nothing proved reactive mode reads either.

After: two e2e probes drive mcpx serve --mode reactive over stdio. A fresh session lists mcpx_status only when MCPX_CATALOG_PINNED_TOOLS=mcpx_status is set. After request_tools activates five tools, the default working set keeps all five and MCPX_RETENTION_MAX_TOOLS=2 keeps two. Both exemptions are removed and EffectExemptionPin drops from 159 to 157.

How: a reactiveTools helper sends one frame at a time and waits for each answer, because the server handles requests concurrently and a pipelined tools/list can be answered before the request_tools ahead of it.

Refs #8473


Generated by Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

A reactive stdio session, driven one frame at a time, lists mcpx_status
only once it is pinned from the environment, and keeps all five tools
request_tools activates at the default but two at
MCPX_RETENTION_MAX_TOOLS=2. Pin 159 -> 157.

Refs #8473

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dezren39
dezren39 marked this pull request as ready for review November 18, 2026 18:06
@dezren39
dezren39 requested a review from a team as a code owner November 18, 2026 18:06
@dezren39
dezren39 merged commit 9886f97 into main Nov 18, 2026
@dezren39
dezren39 deleted the test/mcpx-reactive-probes branch November 18, 2026 18:06
@coderabbitai

coderabbitai Bot commented Nov 18, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T18:08:05.087859Z c4bd7df Draft marked ready
ℹ️ 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.

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.

2 participants