Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented Jun 25, 2025

Important

This PR adds filtering of git repository properties from telemetry data and includes git info in telemetry properties, with comprehensive tests.

  • Behavior:
    • PostHogTelemetryClient now filters out repositoryUrl, repositoryName, and defaultBranch from telemetry events.
    • ClineProvider includes git repository information in telemetry properties, filtered by clients.
  • Functions:
    • Added isPropertyCapturable() in BaseTelemetryClient to allow property filtering.
    • Implemented getGitRepositoryInfo() and getWorkspaceGitInfo() in git.ts to extract git info.
  • Tests:
    • Added tests for isPropertyCapturable() in PostHogTelemetryClient.test.ts.
    • Added tests for getGitRepositoryInfo() and getWorkspaceGitInfo() in git.spec.ts.

This description was created by Ellipsis for e91b426. You can customize this summary. It will automatically update as commits are pushed.

@cte cte requested review from jr and mrubens as code owners June 25, 2025 19:00
@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Jun 25, 2025
@delve-auditor
Copy link

delve-auditor bot commented Jun 25, 2025

We have finished reviewing your PR. We have found no vulnerabilities.

Reply to this PR with @delve-auditor followed by a description of what change you want and we'll auto-submit a change to this PR to implement it.

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Jun 25, 2025
@daniel-lxs daniel-lxs moved this from Triage to PR [Draft / In Progress] in Roo Code Roadmap Jun 25, 2025
@hannesrudolph hannesrudolph added PR - Draft / In Progress and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels Jun 25, 2025
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels Jun 25, 2025
@liwilliam2021 liwilliam2021 requested a review from mrubens June 25, 2025 21:29
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Jun 25, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jun 25, 2025
@liwilliam2021 liwilliam2021 merged commit aaed043 into main Jun 26, 2025
20 checks passed
@liwilliam2021 liwilliam2021 deleted the git-repo-cloud-telemetry branch June 26, 2025 00:01
@github-project-automation github-project-automation bot moved this from PR [Draft / In Progress] to Done in Roo Code Roadmap Jun 26, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jun 26, 2025
Alorse pushed a commit to Alorse/Roo-Code that referenced this pull request Jun 27, 2025
This PR adds filtering of git repository properties from telemetry data and includes git info in telemetry properties, with comprehensive tests.

Behavior:
PostHogTelemetryClient now filters out repositoryUrl, repositoryName, and defaultBranch from telemetry events.
ClineProvider includes git repository information in telemetry properties, filtered by clients.
Functions:
Added isPropertyCapturable() in BaseTelemetryClient to allow property filtering.
Implemented getGitRepositoryInfo() and getWorkspaceGitInfo() in git.ts to extract git info.
Tests:
Added tests for isPropertyCapturable() in PostHogTelemetryClient.test.ts.
Added tests for getGitRepositoryInfo() and getWorkspaceGitInfo() in git.spec.ts.
hannesrudolph pushed a commit that referenced this pull request Jul 3, 2025
This PR adds filtering of git repository properties from telemetry data and includes git info in telemetry properties, with comprehensive tests.

Behavior:
PostHogTelemetryClient now filters out repositoryUrl, repositoryName, and defaultBranch from telemetry events.
ClineProvider includes git repository information in telemetry properties, filtered by clients.
Functions:
Added isPropertyCapturable() in BaseTelemetryClient to allow property filtering.
Implemented getGitRepositoryInfo() and getWorkspaceGitInfo() in git.ts to extract git info.
Tests:
Added tests for isPropertyCapturable() in PostHogTelemetryClient.test.ts.
Added tests for getGitRepositoryInfo() and getWorkspaceGitInfo() in git.spec.ts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer PR - Draft / In Progress size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants