Skip to content

No SIGTERM/SIGINT cleanup for spawned Appium and wdio children #83

Description

@BenSheridanEdwards

src/cli.ts runTests: appium?.kill() only runs when the wdio promise settles. On SIGTERM (CI cancellation) the parent dies and both children (appium stdio:ignore, wdio) are orphaned; port 4723 stays occupied for the next run, which then hits the misleading 30s reachability timeout. Add signal handlers that kill both children (and forward the signal exit code). Found during adversarial review (2026-07-02).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions