Mobile-install Merging dexes step takes forever to run

Open
#366 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 6 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android

Research direction

Start by reproducing the hang with mobile-install v3 on an app target with 60k+ targets, comparing it with legacy mobile-install v1. Investigate the MI Merging dexes; step and determine whether the behavior is a regression or deadlock; done means identifying the cause or producing a focused diagnosis.

Written by the indexing model from the issue text.

Description

mobile-install

We have an enormous app target (60k+ targets in build graph) and running mobile-install v3 got stuck on MI Merging dexes; steps and never finishes. This issue doesn't exist in the legacy mobile-install v1 and can only be repro-ed on the large app target. I'm wondering whether this indicates any regression (e.g. deadlock issue) in mobile-install v3

Image

FYI: my build is based on latest main branch commit https://github.com/bazelbuild/rules_android/commit/e59c297d7fc81f2496aa47e0a33ef58c8efff6e4

Dominant language
Java
Stars
205
Forks
113
PR merge metrics
No merged PRs in 30d

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 bazelbuild/rules_android

All issues in bazelbuild/rules_android

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.