Skip to content

fix(mcp): bound initialize discovery on one parent deadline - #1546

Merged
ScriptedAlchemy merged 1 commit into
masterfrom
fix/mcp-discovery-deadline
Sep 17, 2026
Merged

ScriptedAlchemy merged 1 commit into
masterfrom
fix/mcp-discovery-deadline

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

  • MCP initialize and private project routing share one repository-discovery budget instead of an unbounded git walk.
  • A cancelled or expired probe is unavailable, not "project not found".

Test plan

  • cargo test -p tracedecay --lib mcp::server::routing::tests::cancelled_repository_discovery_is_unavailable_not_absent -- --exact passed, 1 test (cc-23354)

A cancelled or expired repository probe is unavailable, not an unregistered project. Multiple roots share that one budget.
@changeset-bot

changeset-bot Bot commented Sep 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 20cc517

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ScriptedAlchemy
ScriptedAlchemy merged commit 49d7f64 into master Sep 17, 2026
@ScriptedAlchemy
ScriptedAlchemy deleted the fix/mcp-discovery-deadline branch September 17, 2026 16:14
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-17T16:16:24.083918Z 20cc517 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.

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.

1 participant