Skip to content

chore: Declare the diagnostic-events capability in the contract tests - #593

Open
joker23 wants to merge 1 commit into
mainfrom
devin/1795208960-diagnostic-events-capability
Open

joker23 wants to merge 1 commit into
mainfrom
devin/1795208960-diagnostic-events-capability

Conversation

@joker23

@joker23 joker23 commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Declares diagnostic-events in the sync (service.py) and async (async_service.py) contract test services so the new sdk-test-harness test events/diagnostic events runs. The test was added in v3.2.0-alpha.20 and checks that diagnostic-init is sent to /diagnostic and that no diagnostic payload reaches the analytics route.

  • Both entities already set diagnostic_opt_out = not enableDiagnostics, so the entities need no other change.
Testing

I ran the v3.2.0-alpha.20 harness locally with -run diagnostic against both services, and all 3 diagnostic tests passed on each.

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-events to the capabilities advertised by both contract test status endpoints (service.py and async_service.py), so the sdk-test-harness events/diagnostic events suite runs against sync and async services.

This is declaration-only: client entities already set diagnostic_opt_out from enableDiagnostics; no runtime SDK behavior changes in this PR.

Reviewed by Cursor Bugbot for commit 20a14fc. Bugbot is set up for automated code reviews on this repo. Configure here.

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@joker23
joker23 marked this pull request as ready for review November 23, 2026 15:27
@joker23
joker23 requested a review from a team as a code owner November 23, 2026 15:27

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low. Approved under SDK rules 2 and 3: the author is an SDK team member, and the diff only adds the diagnostic-events capability in contract tests (not a release PR, no workflow changes). Cursor Bugbot completed with no findings that need human review.

Open in Web View Automation 

Sent by Cursor Approval Agent: SDK - Pull Request Router and Approver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant