Skip to content

Fixes to TelemetryServerManager to ensure multi-module projects under a workspace root are recognized #364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

sid-srini
Copy link
Member

  1. Amended LspServerTelemetryManager.sendWorkspaceInfo to use a NavigableMap to find sub-paths of the workspaceFolder that correspond to Projects, when it is not itself a Project.
  2. Also, caught exceptions from ProjectProblems.isBroken() since it maybe a sign of a broken project.

workspace root are recognized

1. Amended LspServerTelemetryManager.sendWorkspaceInfo to use a NavigableMap
   to find sub-paths of the workspaceFolder that correspond to Projects,
   when it is not itself a Project.
2. Also, caught exceptions from ProjectProblems.isBroken() since it
   maybe a sign of a broken project.

Signed-off-by: Siddharth Srinivasan <[email protected]>
@sid-srini sid-srini requested a review from Achal1607 January 13, 2025 22:11
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 13, 2025
@sid-srini sid-srini requested a review from lahodaj January 20, 2025 16:28
Copy link
Member

@Achal1607 Achal1607 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for fixing it!

@sid-srini sid-srini merged commit db95afb into oracle:telemetry Jan 21, 2025
3 checks passed
@sid-srini sid-srini deleted the telemetry-fix-gradle-subprojects-workspace-info branch January 21, 2025 02:57
@Achal1607 Achal1607 added this to the JVSC 24.1.0 milestone Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants