Repository navigation
Conversation
There was a problem hiding this comment.
Risk: low.
Automated risk review (dry run): Low
This PR would be automatically approved.
Why: The change is two lines: js_config.dart now posts web diagnostic events to /events/diagnostic/ instead of /events/bulk/, and the browser contract service opts into the diagnostic-events harness. Cursor Bugbot passed with no findings.
If you disagree with this review, share this PR in #feedback-agent-approvals or submit a changes-requested review explaining why.
Sent by Cursor Approval Agent: Dry-Run PR Approver
kinyoklion
approved these changes
Nov 30, 2026
joker23
force-pushed
the
skz/web-diagnostic-events-path
branch
from
December 1, 2026 14:32
48a2586 to
7b7be2f
Compare
Generated-by: termag
joker23
force-pushed
the
skz/web-diagnostic-events-path
branch
from
December 1, 2026 14:48
7b7be2f to
d61e3c3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
On web, the default diagnostic events path was the analytics path, so diagnostic events were posted to
/events/bulk/<credential>. It is now/events/diagnostic/<credential>, matching the JS browser SDK. PR #380 fixed the event processor URI choice but left this path wrong.The browser contract service now declares the
diagnostic-eventscapability, so the v3 harness runs the newevents/diagnostic eventstest against it.Stacked on #360, which adds the browser contract service this PR extends.
Opened from termag
Note
Overview
Web clients were posting diagnostic events to the analytics bulk URL (
/events/bulk/<credential>) becauseDefaultEventPaths.getDiagnosticEventsPathinjs_config.dartmatched the analytics path. It now returns/events/diagnostic/<credential>, aligning with the JS browser SDK (and fixing the gap left after PR #380’s URI selection work).The Flutter web contract test service advertises the
diagnostic-eventscapability so the v3 harness can run the diagnostic events contract test against the browser adapter.Reviewed by Cursor Bugbot for commit d61e3c3. Bugbot is set up for automated code reviews on this repo. Configure here.