Skip to content

Android discovery feature probe on other emulators can time out an unrelated open #4765

Closed

Description

@thymikee

Found during the live Android runs for #4539 (#4539 (comment)).

Problem

Android device discovery runs pm list features on every listed emulator, including busy emulators that the request did not select. On a loaded host that call can time out, and the timeout fails an unrelated open for a different device.

Expected

A slow or failing probe on a device the request does not target does not fail the request. Discovery either skips the feature probe for unselected devices, bounds it so it cannot consume the open's budget, or reports that device as degraded and continues.

Notes

  • Seen with several emulators running on one host under heavy load.
  • A deterministic test can stub one emulator's pm list features to hang and assert that an explicit open of another serial succeeds within its normal budget.

Activity

  1. added
    bug
    on Nov 19, 2026
  2. apex-sentinel-staging commented on Nov 19, 2026

    @apex-sentinel-staging

    Apex Sentinel · Issue review

    Suggested label: bug

    The issue describes existing behavior where Android discovery runs a feature probe on unselected emulators and a timeout on that probe can fail an unrelated open, which is wrong behavior. It includes enough context to reproduce or fix by skipping, bounding, or degrading non-targeted probes.

    Required sections

    • Steps to reproduce (missing)
    • Expected and actual behavior (missing)
    • Version or environment (missing)
  3. added this to the 0.22 - lean core milestone on Nov 20, 2026
  4. added
    in-progress
    on Nov 21, 2026
  5. added a commit that references this issue on Nov 21, 2026
    4e1dd89
  6. removed
    in-progress
    on Nov 21, 2026
  7. added a commit that references this issue on Nov 21, 2026
    e52b306
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions