Skip to content

chore: remove MCP logging notifications for DevTools comments - #3162

Merged
OrKoN merged 1 commit into
mainfrom
orkon/remove-comment-notifications
Oct 19, 2026
Merged

OrKoN merged 1 commit into
mainfrom
orkon/remove-comment-notifications

Conversation

@OrKoN

@OrKoN OrKoN commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

Stacked on #3158.

Summary

The comment bridge sent a notifications/message (logging) notification on each comment change. MCP clients do not forward these notifications to the model, so the notification had no effect on agent behavior. After #3158, get_devtools_comments waits for comment events directly.

This PR removes the onNotification plumbing from McpServer, McpContext, McpPage, and DevToolsCommentBridge. The logging capability itself stays; it predates the comments feature.

Tests

The two bridge tests that asserted on onNotification now assert through waitForCommentEvent: the debounce still coalesces rapid events, and dispose() still cancels a pending event.

@OrKoN
OrKoN force-pushed the orkon/blocking-devtools-comments-main branch from 51daea5 to 4350221 Compare October 15, 2026 13:52
@OrKoN
OrKoN force-pushed the orkon/remove-comment-notifications branch from 55981d4 to f4f2fa6 Compare October 15, 2026 13:52
@OrKoN
OrKoN force-pushed the orkon/blocking-devtools-comments-main branch from 4350221 to 81b3d5d Compare October 15, 2026 14:18
@OrKoN
OrKoN force-pushed the orkon/remove-comment-notifications branch from f4f2fa6 to 05097c7 Compare October 15, 2026 14:19
@OrKoN
OrKoN requested a review from yulunz October 15, 2026 14:23
@OrKoN
OrKoN force-pushed the orkon/blocking-devtools-comments-main branch from 81b3d5d to 9f40249 Compare October 19, 2026 07:09
@OrKoN
OrKoN force-pushed the orkon/remove-comment-notifications branch from 05097c7 to 8fb73d3 Compare October 19, 2026 07:09
Base automatically changed from orkon/blocking-devtools-comments-main to main October 19, 2026 07:16
The bridge sent a logging/message notification on each comment change.
Clients do not forward these notifications to the model, and
get_devtools_comments now waits for comment events directly. Remove the
onNotification plumbing from McpServer, McpContext, McpPage, and
DevToolsCommentBridge.
@OrKoN
OrKoN force-pushed the orkon/remove-comment-notifications branch from 8fb73d3 to 5ddcda1 Compare October 19, 2026 07:22
@OrKoN
OrKoN enabled auto-merge October 19, 2026 07:22
@OrKoN
OrKoN added this pull request to the merge queue Oct 19, 2026
Merged via the queue into main with commit b8b1f13 Oct 19, 2026
17 checks passed
@OrKoN
OrKoN deleted the orkon/remove-comment-notifications branch October 19, 2026 07:29
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