-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Open
Description
Problem
Request/response correlation IDs in server responses/logging can collide under concurrent traffic, weakening traceability and operational debugging.
Why now
Reference MCP servers are used as examples for production-like integrations and should model robust correlation-ID behavior.
Evidence Packet
- Version/commit under test:
origin/mainat04cce79b4c2b - Runtime environment: macOS 26.3 (arm64), Node 22.19.0, Python 3.14.0
- Minimal repro:
- Send high-concurrency request bursts across server tools.
- Inspect response/request correlation IDs and logs.
- Detect ambiguous or reused identifiers.
- Expected behavior: collision-resistant IDs per request/operation.
- Actual behavior: correlation identifiers are not consistently collision-resistant across server surfaces.
Why code change (not docs)
Correlation ID generation and propagation are runtime/logging contracts.
Scope / Codepaths
src/*/srcsrc/*/server
Acceptance Criteria
- Request IDs include collision-resistant component.
- IDs propagate consistently into responses and logs.
- Concurrency tests confirm uniqueness.
Validation Plan
- Add high-concurrency ID uniqueness tests.
- Validate response/log correlation contract stability.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels