feat(telemetry): Add telemetry on signals INTELLIJ-180 #784
Annotations
4 errors and 1 warning
JavaDriverFieldCheckLinterInspectionTest.shows an inspection when the field does not exist in the current namespace(Application, CodeInsightTestFixture):
packages/jetbrains-plugin/src/test/kotlin/com/mongodb/jbplugin/inspections/impl/JavaDriverFieldCheckLinterInspectionTest.kt#L103
org.mockito.exceptions.verification.TooManyActualInvocations:
telemetryService.sendEvent(
<any com.mongodb.jbplugin.observability.TelemetryEvent>
);
Wanted 1 time:
-> at com.mongodb.jbplugin.observability.TelemetryService.sendEvent(TelemetryService.kt:38)
But was 2 times:
-> at com.mongodb.jbplugin.observability.probe.InspectionStatusChangedProbe$inspectionChanged$1.invokeSuspend(InspectionStatusChangedProbe.kt:72)
-> at com.mongodb.jbplugin.observability.probe.InspectionStatusChangedProbe$finishedProcessingInspections$1.invokeSuspend(InspectionStatusChangedProbe.kt:153)
|
JavaDriverIndexCheckLinterInspectionTest.shows an inspection when the query is a collscan(Application, CodeInsightTestFixture):
packages/jetbrains-plugin/src/test/kotlin/com/mongodb/jbplugin/inspections/impl/JavaDriverIndexCheckLinterInspectionTest.kt#L64
org.mockito.exceptions.verification.TooManyActualInvocations:
telemetryService.sendEvent(
<any com.mongodb.jbplugin.observability.TelemetryEvent>
);
Wanted 1 time:
-> at com.mongodb.jbplugin.observability.TelemetryService.sendEvent(TelemetryService.kt:38)
But was 2 times:
-> at com.mongodb.jbplugin.observability.probe.InspectionStatusChangedProbe$inspectionChanged$1.invokeSuspend(InspectionStatusChangedProbe.kt:72)
-> at com.mongodb.jbplugin.observability.probe.InspectionStatusChangedProbe$finishedProcessingInspections$1.invokeSuspend(InspectionStatusChangedProbe.kt:153)
|
JavaDriverNamespaceCheckLinterInspectionTest.shows an inspection when the collection does not exist in the current data source(Application, CodeInsightTestFixture):
packages/jetbrains-plugin/src/test/kotlin/com/mongodb/jbplugin/inspections/impl/JavaDriverNamespaceCheckLinterInspectionTest.kt#L105
org.mockito.exceptions.verification.TooManyActualInvocations:
telemetryService.sendEvent(
<any com.mongodb.jbplugin.observability.TelemetryEvent>
);
Wanted 1 time:
-> at com.mongodb.jbplugin.observability.TelemetryService.sendEvent(TelemetryService.kt:38)
But was 2 times:
-> at com.mongodb.jbplugin.observability.probe.InspectionStatusChangedProbe$inspectionChanged$1.invokeSuspend(InspectionStatusChangedProbe.kt:72)
-> at com.mongodb.jbplugin.observability.probe.InspectionStatusChangedProbe$finishedProcessingInspections$1.invokeSuspend(InspectionStatusChangedProbe.kt:153)
|
AutocompleteSuggestionAcceptedProbeTest.should aggregate multiple events and send them once(Application):
packages/jetbrains-plugin/src/test/kotlin/com/mongodb/jbplugin/observability/probe/AutocompleteSuggestionAcceptedProbeTest.kt#L25
kotlinx.coroutines.test.UncaughtExceptionsBeforeTest: There were uncaught exceptions before the test started. Please avoid this, as such exceptions are also reported in a platform-dependent manner so that they are not lost.
|
Analyze (java-kotlin)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|