You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Android smoke: plain close fails with 'com.android.settings process remained running after close' since #4881 #4901
Since #4881 (merged 2026-11-21, 0525c45), a plain close closes the session app and fails when the app does not exit. The Android emulator smoke replay test/integration/replays/android/emulator/01-settings.ad now fails intermittently at that step, and the failure is not retried:
⨯ 01-settings.ad
failed at: Android app com.android.settings process remained running after close
Seen three times in about 10 minutes on unrelated PR branches: runs 44913451859 and 44913878501 (#4897, an iOS-only change) and 44913308426 (refactor/0.22-limrun-provider-plugin). Main passed once at 721adbc. Any PR can fail this lane.
Required behavior
Find why the Settings process is still present after the close fence (for example a system restart of com.android.settings, a fence that checks too early, or a pid read that catches a new process).
Fix it at the owner of the Android app-close fence, using typed evidence (process identity, not just "a process with that name exists"). Do not add retries or longer sleeps as the fix, and do not revert fix(close): close the session app when close omits the app #4881's behavior.
A device-free regression for the identified cause, and the smoke replay green across several CI runs.
Reports a concrete regression after #4881 where the Android smoke replay intermittently fails with 'com.android.settings process remained running after close', including failing runs and a clear owner area to investigate.
Activity
apex-sentinel-staging commentedon Nov 21, 2026
Apex Sentinel · Issue review
Suggested label:
bugReports a concrete regression after #4881 where the Android smoke replay intermittently fails with 'com.android.settings process remained running after close', including failing runs and a clear owner area to investigate.
Required sections
fix(android): end close once the pre-close processes are gone (#4902)
fix(android): end close once the pre-close processes are gone (callst…