Skip to content

Issues not Reported after Import #4230

@tsmaeder

Description

@tsmaeder

I suspect that we're underreporting issues with project imports via telemetry. Here's a scenario:

  1. Clone the Apache Maven repo: https://github.com/apache/maven
  2. Open VS Code on the resulting folder
  3. Wait until project import has finished
  4. Observe: you get some problems reported in pom.xml files, but no "unresolved imports" in Java files
  5. Execute "Java: Rebuild Projects" and select all projects when asked
  6. Wait until the rebuild has finished
  7. Observe: you now get thousands of errors in Java files about imports that cannot be found. For example org.apache.maven.api.model.Plugin cannot be found in LifeCycle.java

Note that the import errors are correct: the problem I'm reporting is that when we report the telemetry event java.workspace.initialized, the problems are not yet present. This makes our numbers for successful import unreliable. In particular, they are probably worse than what we think.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions