Repository navigation
chore: Declare the diagnostic-events capability in the server contract tests - #284
Merged
Merged
Conversation
Co-Authored-By: Steven Zhang <szhang@launchdarkly.com>
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
There was a problem hiding this comment.
Risk: low.
Automated risk review (dry run): Low
This PR would be automatically approved.
Why: The only change is adding the diagnostic-events capability string in TestService.java so contract tests advertise existing diagnostic event behavior; Cursor Bugbot reported no issues and this is not infrastructure, auth, schema, or CI.
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
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
Declares
diagnostic-eventsin the server SDK contract test service so the new sdk-test-harness testevents/diagnostic eventsruns. The test was added in v3.2.0-alpha.20 and checks thatdiagnostic-initis sent to/diagnosticand that no diagnostic payload reaches the analytics route.diagnosticOptOut(!enableDiagnostics).DefaultEventProcessorsendsdiagnostic-initonce, andDefaultEventSenderposts it to/diagnostic.Testing
Not run locally, because Maven Central returned HTTP 429 during the Gradle build. CI on this PR is the first run of the test.
Link to Devin session: https://app.devin.ai/sessions/56b8ade9602745fbba00e59a531bbefa
Open in Devin Desktop: https://app.devin.ai/desktop/session/56b8ade9602745fbba00e59a531bbefa?variant=devin
Requested by: @joker23
Note
Overview
Adds
diagnostic-eventsto the server SDK contract test service’s advertisedCAPABILITIESlist inTestService.java.That lets the sdk-test-harness run the
events/diagnostic eventsconformance case (from v3.2.0-alpha.20), which assertsdiagnostic-initis posted to/diagnosticand does not leak onto the analytics route.Reviewed by Cursor Bugbot for commit 9b637b6. Bugbot is set up for automated code reviews on this repo. Configure here.