Skip to content

android-interop-testing: Workaround build mergeExtDexDebug race#12697

Merged
shivaspeaks merged 1 commit intogrpc:masterfrom
ejona86:android-workaround-dex-failure
Mar 16, 2026
Merged

android-interop-testing: Workaround build mergeExtDexDebug race#12697
shivaspeaks merged 1 commit intogrpc:masterfrom
ejona86:android-workaround-dex-failure

Conversation

@ejona86
Copy link
Member

@ejona86 ejona86 commented Mar 16, 2026

4de4718 upgraded android-interop-testing to SDK version 23, but this had previously been avoided because it triggered a Gradle or AGP bug. The race happened to not trigger locally or for the PR's CI and the change was merged. But the problem still was present, and the CI is failing to build very frequently.

This works around the problem by explicitly adding a dependency from mergeExtDexDebug. I didn't see any other mergeExtDex tasks created, in particular mergeExtDexRelease. Hopefully we can remove this after upgrading AGP or Gradle, but at least we can move forward with newer Android API levels again.

@ejona86 ejona86 requested a review from shivaspeaks March 16, 2026 06:01
4de4718 upgraded android-interop-testing to SDK version 23, but this
had previously been avoided because it triggered a Gradle or AGP bug.
The race happened to not trigger locally or for the PR's CI and the
change was merged. But the problem still was present, and the CI is
failing to build very frequently.

This works around the problem by explicitly adding a dependency from
mergeExtDexDebug. I didn't see any other mergeExtDex tasks created,
in particular mergeExtDexRelease. Hopefully we can remove this after
upgrading AGP or Gradle, but at least we can move forward with newer
Android API levels again.
@ejona86 ejona86 force-pushed the android-workaround-dex-failure branch from ec01ef4 to dc9a9b8 Compare March 16, 2026 06:09
@shivaspeaks shivaspeaks merged commit 679882b into grpc:master Mar 16, 2026
22 of 23 checks passed
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.

3 participants