Repository navigation
fix(mcp): silence per-request session termination logs - #9221
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
khvn26
left a comment
There was a problem hiding this comment.
LGTM with a nit — I think the test is redundant.
There was a problem hiding this comment.
All reported issues were addressed across 5 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
Docker builds report
|
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: The change raises the MCP SDK logger threshold to WARNING, suppressing all its INFO messages—not just session-termination noise. A human should confirm that observability tradeoff.
Turn on auto-fix | Re-trigger cubic
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #24070 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
🗂️ Previous results✅ oss · depot-ubuntu-latest-arm-16 — run #24070 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-16 — run #24070 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
|
Visual Regression31 screenshots compared. See report for details. |
Thanks for submitting a PR! Please check the boxes below:
docs/if required so people know about the feature.Changes
Contributes to ENG-615
Since #9199 serves HTTP statelessly, the MCP SDK logs
Terminating session: Noneat info level after every request. Raise themcp.server.streamable_httplogger to warning; its errors and exceptions still get through.How did you test this code?
Unit test, plus a local run at
LOG_LEVEL=INFO: no termination lines,session.openedandtool.calledstill logged.