Skip to content

fix(android): ignore ProcessHandle in R8, which the macOS mDNS registrar references - #598

Merged
linroid merged 1 commit into
mainfrom
fix/android-r8-processhandle
Oct 18, 2026
Merged

linroid merged 1 commit into
mainfrom
fix/android-r8-processhandle

Conversation

@linroid

@linroid linroid commented Oct 18, 2026

Copy link
Copy Markdown
Owner

The release workflow's Android job failed in minifyDirectReleaseWithR8 (run): #577 made NativeMdnsRegistrar.unregister call Process.descendants(), and Android has no java.lang.ProcessHandle. That registrar is macOS-only and never runs on Android (it uses AndroidMdnsRegistrar), so the shared ProGuard rules now -dontwarn the class, as they do for the JVM DNS-SD factory.

Verified with ./gradlew :app:android:minifyDirectReleaseWithR8.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T09:01:19.379483Z 9ca4745 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@linroid
linroid merged commit 059320c into main Oct 18, 2026
11 of 12 checks passed
@linroid
linroid deleted the fix/android-r8-processhandle branch October 18, 2026 09:03
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