sourcegraph / jetbrains

Apache License 2.0
61 stars 19 forks source link

Plugin verifier failure (version 1.372) #1962

Closed odisseus closed 1 week ago

odisseus commented 1 month ago

IDE Information

Commit cea789eef7522940c5d9e7322a65cda6f2097c2d

Bug Description

To reproduce:

./gradlew runPluginVerifier -Pvalidation=lite

Additional context

Internal API usages (10): 
    #Internal class kotlin._Assertions reference
        Internal class kotlin._Assertions is referenced in com.sourcegraph.cody.context.EnterpriseEnhancedContextStateController.withModel(Function1) : T. This class is marked with Kotlin `internal` visibility modifier, indicating that it is not supposed to be referenced in client code outside the declaring module.
        Internal class kotlin._Assertions is referenced in com.sourcegraph.cody.context.EnterpriseEnhancedContextStateController.updateSpeculativeRepos(List) : void. This class is marked with Kotlin `internal` visibility modifier, indicating that it is not supposed to be referenced in client code outside the declaring module.
    #Internal method com.intellij.openapi.components.BaseState.doEnum(T, Class) invocation
        Internal method com.intellij.openapi.components.BaseState.doEnum(T defaultValue, java.lang.Class clazz) : com.intellij.openapi.components.StoredPropertyBase is invoked in com.sourcegraph.cody.history.state.MessageState.<init>(). This method is marked with Kotlin `internal` visibility modifier, indicating that it is not supposed to be invoked by the client code outside the declaring module.
    #Internal class kotlin.coroutines.jvm.internal.SuspendLambda reference
        Internal class kotlin.coroutines.jvm.internal.SuspendLambda is referenced in com.sourcegraph.cody.context.RemoteRepoAnnotator.annotate$1. This class is marked with Kotlin `internal` visibility modifier, indicating that it is not supposed to be referenced in client code outside the declaring module.
        Internal class kotlin.coroutines.jvm.internal.SuspendLambda is referenced in com.sourcegraph.cody.context.RemoteRepoAnnotator.annotate$1.<init>(RemoteRepoSearcher, String, AnnotationHolder, PsiElement, Continuation). This class is marked with Kotlin `internal` visibility modifier, indicating that it is not supposed to be referenced in client code outside the declaring module.
    #Internal field kotlin._Assertions.ENABLED access
        Internal field kotlin._Assertions.ENABLED : boolean is accessed in com.sourcegraph.cody.context.EnterpriseEnhancedContextStateController.updateSpeculativeRepos(List) : void. This field is marked with Kotlin `internal` visibility modifier, indicating that it is not supposed to be used in client code outside the declaring module.
        Internal field kotlin._Assertions.ENABLED : boolean is accessed in com.sourcegraph.cody.context.EnterpriseEnhancedContextStateController.withModel(Function1) : T. This field is marked with Kotlin `internal` visibility modifier, indicating that it is not supposed to be used in client code outside the declaring module.
    #Internal class kotlin.KotlinNothingValueException reference
        Internal class kotlin.KotlinNothingValueException is referenced in com.sourcegraph.cody.api.SourcegraphApiRequest.Post.GQLQuery.extractResult(SourcegraphApiResponse) : T. This class is marked with Kotlin `internal` visibility modifier, indicating that it is not supposed to be referenced in client code outside the declaring module.
    #Internal class kotlin.jvm.internal.StringCompanionObject reference
        Internal class kotlin.jvm.internal.StringCompanionObject is referenced in com.sourcegraph.cody.chat.AgentChatSession.receiveWebviewExtensionMessage(ExtensionMessage) : void. This class is marked with Kotlin `internal` visibility modifier, indicating that it is not supposed to be referenced in client code outside the declaring module.
        Internal class kotlin.jvm.internal.StringCompanionObject is referenced in com.sourcegraph.cody.initialization.PrettyTimer.toString() : String. This class is marked with Kotlin `internal` visibility modifier, indicating that it is not supposed to be referenced in client code outside the declaring module.
odisseus commented 1 month ago

Possible cause: https://github.com/JetBrains/intellij-plugin-verifier/pull/1101

mkondratek commented 1 month ago

The problem is "fixed" by fixing the verifier version for now. Let's track the progress in the jetbrains issue tracker and see what the outcome is. Eventually, we may want to update the verifier.