Skip to content

fix(core): treat relatedRequestId 0 as present in debounce guard#2487

Closed
utkarshsharma19 wants to merge 2 commits into
modelcontextprotocol:mainfrom
utkarshsharma19:fix/related-request-id-zero-debounce
Closed

fix(core): treat relatedRequestId 0 as present in debounce guard#2487
utkarshsharma19 wants to merge 2 commits into
modelcontextprotocol:mainfrom
utkarshsharma19:fix/related-request-id-zero-debounce

Conversation

@utkarshsharma19

Copy link
Copy Markdown

Breaking Changes

None.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)

  • Breaking change (fix or feature that would cause existing functionality
    to change)

  • Documentation update

Checklist

  • I have read the MCP Documentation (https://modelcontextprotocol.io)
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

This is intentionally narrow: global simple notifications without a
relatedRequestId still debounce as before.

@utkarshsharma19 utkarshsharma19 requested a review from a team as a code owner July 13, 2026 20:24
@changeset-bot

changeset-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 11511bc

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.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

@pkg-pr-new

pkg-pr-new Bot commented Jul 13, 2026

Copy link
Copy Markdown

Open in StackBlitz

@modelcontextprotocol/client

npm i https://pkg.pr.new/@modelcontextprotocol/client@2487

@modelcontextprotocol/codemod

npm i https://pkg.pr.new/@modelcontextprotocol/codemod@2487

@modelcontextprotocol/core

npm i https://pkg.pr.new/@modelcontextprotocol/core@2487

@modelcontextprotocol/server

npm i https://pkg.pr.new/@modelcontextprotocol/server@2487

@modelcontextprotocol/server-legacy

npm i https://pkg.pr.new/@modelcontextprotocol/server-legacy@2487

@modelcontextprotocol/express

npm i https://pkg.pr.new/@modelcontextprotocol/express@2487

@modelcontextprotocol/fastify

npm i https://pkg.pr.new/@modelcontextprotocol/fastify@2487

@modelcontextprotocol/hono

npm i https://pkg.pr.new/@modelcontextprotocol/hono@2487

@modelcontextprotocol/node

npm i https://pkg.pr.new/@modelcontextprotocol/node@2487

commit: cfa5528

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