Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Apr 15, 2025

Important

Add telemetry capture for code and terminal actions in ClineProvider using TelemetryService.

  • Telemetry:
    • Add CODE_ACTION_USED event to PostHogClient.EVENTS.TASK in TelemetryService.ts.
    • Implement captureCodeActionUsed() in TelemetryService to log code action usage.
  • ClineProvider:
    • Capture telemetry for code actions in handleCodeAction().
    • Capture telemetry for terminal actions in handleTerminalAction().

This description was created by Ellipsis for 431e10d. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Apr 15, 2025

⚠️ No Changeset found

Latest commit: 431e10d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. enhancement New feature or request labels Apr 15, 2025
params: Record<string, string | any[]>,
): Promise<void> {
// Capture telemetry for code action usage
telemetryService.captureCodeActionUsed(promptType)
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider wrapping the telemetry capture for code actions in a try/catch to prevent telemetry failures from affecting the main flow.

@mrubens mrubens merged commit 31fd6e1 into main Apr 15, 2025
19 checks passed
@mrubens mrubens deleted the add_code_action_telemetry branch April 15, 2025 14:37
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Apr 15, 2025
SmartManoj pushed a commit to SmartManoj/Raa-Code that referenced this pull request May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants