Skip to content

Fix internal API usage in ReportingService - #386

Merged
hatzlj merged 1 commit into
mainfrom
fix/reporting-service-internal-api
Sep 21, 2026
Merged

hatzlj merged 1 commit into
mainfrom
fix/reporting-service-internal-api

Conversation

@hatzlj

@hatzlj hatzlj commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • verifyPlugin was failing with INTERNAL_API_USAGES because newer IntelliJ Platform builds in the verified 262.* range now mark PluginManager.getInstance().findEnabledPlugin(...) as @ApiStatus.Internal.
  • Replaced it with the public PluginManagerCore.getPlugin(...) equivalent in ReportingService, which returns the same IdeaPluginDescriptor? used to set options.release for Sentry.

Test plan

  • ./gradlew verifyPlugin passes (previously failed with INTERNAL_API_USAGES)
  • ./gradlew test passes (159 tests)

PluginManager.findEnabledPlugin() is now flagged @ApiStatus.Internal
by newer IntelliJ Platform builds within the verified 262.* range,
failing the verifyPlugin task. Replace it with the public
PluginManagerCore.getPlugin() equivalent.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@hatzlj
hatzlj requested a review from a team as a code owner September 21, 2026 07:22
@hatzlj
hatzlj requested review from abuijze, corradom and hjohn and removed request for a team September 21, 2026 07:22
@hatzlj hatzlj self-assigned this Sep 21, 2026

@CodeDrivenMitch CodeDrivenMitch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@hatzlj
hatzlj merged commit c48592d into main Sep 21, 2026
2 checks passed
@hatzlj
hatzlj deleted the fix/reporting-service-internal-api branch September 21, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants