Skip to content

fix(coverage): open a covering test without calling the override-only navigate - #136

Merged
roxblnfk merged 1 commit into
mainfrom
fix/navigate-override-only
Oct 16, 2026
Merged

roxblnfk merged 1 commit into
mainfrom
fix/navigate-override-only

Conversation

@roxblnfk

Copy link
Copy Markdown
Collaborator

What was changed

  • Opening a covering test (the Coverage gutter, the Coverage by test lens, the mutation actions) goes through PsiNavigateUtil.navigate instead of calling Navigatable.navigate(true) directly. Behaviour is the same: the editor opens on the test method.

Why?

  • 2026.3 (IU-263) marks Navigatable.navigate(boolean) @ApiStatus.OverrideOnly, and verifyPlugin (262) on main has failed with OVERRIDE_ONLY_API_USAGES since 2026-10-13.
  • PsiNavigateUtil is public and carries no ApiStatus on 252, 262, OpenIDE 262.9437.185.3 and 2026.3 (checked in each distribution's bytecode and on intellij-community master). The replacement the javadoc names, NavigationService.requestNavigate, does not exist on 252/262.

Checklist

  • How was this tested:
    • buildPlugin verifyPlugin (262) locally: Compatible against IU-262.10968.63 and IU-263.7031.23, no override-only usages
    • Tested manually

… navigate

2026.3 marks Navigatable.navigate(boolean) @ApiStatus.OverrideOnly, so verifyPlugin against IU-263 fails on its one call. PsiNavigateUtil is public and unannotated on 252, 262, OpenIDE and 2026.3; NavigationService.requestNavigate does not exist before 2026.3.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
@roxblnfk
roxblnfk force-pushed the fix/navigate-override-only branch from 6c8cec3 to 1115823 Compare October 16, 2026 18:08
@roxblnfk
roxblnfk merged commit 15e8bc3 into main Oct 16, 2026
2 checks passed
@roxblnfk
roxblnfk deleted the fix/navigate-override-only branch October 16, 2026 18:09
roxblnfk added a commit that referenced this pull request Oct 16, 2026
… navigate (#136)

2026.3 marks Navigatable.navigate(boolean) @ApiStatus.OverrideOnly, so verifyPlugin against IU-263 fails on its one call. PsiNavigateUtil is public and unannotated on 252, 262, OpenIDE and 2026.3; NavigationService.requestNavigate does not exist before 2026.3.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 15e8bc3)
@github-actions

Copy link
Copy Markdown

Qodana for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2026.2.2
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant