Skip to content

fix: scope xcodebuild process kill to this package's own processes - #1244

Merged
mykola-mokhnach merged 2 commits into
masterfrom
fix/scope-xcodebuild-process-kill
Sep 1, 2026
Merged

fix: scope xcodebuild process kill to this package's own processes#1244
mykola-mokhnach merged 2 commits into
masterfrom
fix/scope-xcodebuild-process-kill

Conversation

@mykola-mokhnach

Copy link
Copy Markdown

resetTestProcesses() previously matched any xcodebuild process whose command line referenced the target device udid, which could kill unrelated XCTest runners (e.g. a separately managed WebDriverAgent instance) targeting the same device. Every xcodebuild invocation this package starts now carries a marker build setting, and the kill logic only terminates xcodebuild processes carrying it.

Fixes appium/appium#13426

resetTestProcesses() previously matched any xcodebuild process whose
command line referenced the target device udid, which could kill
unrelated XCTest runners (e.g. a separately managed WebDriverAgent
instance) targeting the same device. Every xcodebuild invocation this
package starts now carries a marker build setting, and the kill logic
only terminates xcodebuild processes carrying it.

Fixes appium/appium#13426
Renames APPIUM_XCUITEST_DRIVER_WDA_MARKER to APPIUM_XCODEBUILD_WDA_MARKER
and fixes an import ordering issue flagged by oxfmt.
@mykola-mokhnach
mykola-mokhnach merged commit 988f309 into master Sep 1, 2026
56 of 60 checks passed
@mykola-mokhnach
mykola-mokhnach deleted the fix/scope-xcodebuild-process-kill branch September 1, 2026 06:47
github-actions Bot pushed a commit that referenced this pull request Sep 1, 2026
## [16.12.0](v16.11.4...v16.12.0) (2026-09-01)

### Features

* add get screens endpoint ([#1242](#1242)) ([55808de](55808de))

### Bug Fixes

* scope xcodebuild process kill to this package's own processes ([#1244](#1244)) ([988f309](988f309))
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 16.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

appium-xcuitest-driver should kill only related xcodebuild process.

2 participants