Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Investigate using bytecode instrumentation instead of compiler plugin

Open
#963 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
kotlin
Domain
build-system

Research direction

Start by reviewing the linked compiler-plugin incompatibility issues and the current Composable-tagging approach in this repository. Investigate whether the bytecode produced by the Compose compiler can be instrumented reliably, including the stated limitation around KMP. Done means documenting feasibility, trade-offs, and whether this approach should replace the compiler plugin.

Written by the indexing model from the issue text.

Description

Android Errors Improvement
Description

The Kotlin compiler plugin proved to be very unstable and painful to maintain. Across the past few months we've had several incompatibility issues (mostly due to the compiler plugin API changing unexpectedly in a breaking way without any notice):

We should investigate feasibility of tagging Composables through bytecode manipulation. On paper this should work just fine, but it's worth trying it out first. Potential downsides:

  • This ain't going to work for KMP (but we don't support it now either)
  • More complicated logic since we'd have to operate on what bytecode the compose compiler plugin produces
Dominant language
Kotlin
Stars
184
Forks
41
Avg merge
1d 21h
Merged PRs (30d)
20

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-android-gradle-plugin

All issues in getsentry/sentry-android-gradle-plugin

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.