[Apple] Handle iOS 18+ test results via file copy instead of TCP tunnel#1416
Merged
kotlarmilos merged 30 commits intodotnet:mainfrom Jun 17, 2025
Merged
Conversation
This was referenced May 19, 2025
Open
3 tasks
rolfbjarne
approved these changes
Jun 5, 2025
dalexsoto
approved these changes
Jun 5, 2025
matouskozak
reviewed
Jun 7, 2025
Member
Author
|
This PR is ready for review. It was tested on both default and scouting queues. |
premun
approved these changes
Jun 16, 2025
1 task
kotlarmilos
added a commit
to kotlarmilos/xharness
that referenced
this pull request
Mar 16, 2026
…el (dotnet#1416) * Test file listener * Fix failing tests * Revert TCP changes * Test TCP connection * Test direct TCP connection * Copy the results file from the device to the host machine * Add TODOs * Test bundles * Test bundles * Fix apple run command * Run apple just-test with the new app bundle * Run apple just-test with the new app bundle * Run apple just-test with the new app bundle * Test scouting queues * Test scouting queues * Test scouting queues * Test scouting queues * Fix tvOS path * Test default queues * Test simulators * Fix OS version parsing and update simulator copy command * Improve OS version validation * Fix null check for simulator * Add logging for device OS version * Use file copy on device and simulators only * Test scouting queues * Implement ResultFileHandler * Test default queues * Update mlaunch version to 1.1.56 * Revert "Update mlaunch version to 1.1.56"
kotlarmilos
added a commit
to kotlarmilos/xharness
that referenced
this pull request
Mar 16, 2026
…el (dotnet#1416) * Test file listener * Fix failing tests * Revert TCP changes * Test TCP connection * Test direct TCP connection * Copy the results file from the device to the host machine * Add TODOs * Test bundles * Test bundles * Fix apple run command * Run apple just-test with the new app bundle * Run apple just-test with the new app bundle * Run apple just-test with the new app bundle * Test scouting queues * Test scouting queues * Test scouting queues * Test scouting queues * Fix tvOS path * Test default queues * Test simulators * Fix OS version parsing and update simulator copy command * Improve OS version validation * Fix null check for simulator * Add logging for device OS version * Use file copy on device and simulators only * Test scouting queues * Implement ResultFileHandler * Test default queues * Update mlaunch version to 1.1.56 * Revert "Update mlaunch version to 1.1.56"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
XHarness currently retrieves test results over a TCP tunnel between the device and host. On iOS/tvOS 18 and newer, tunnels no longer work. This PR updates the device test runner to write results to file and implements a new
ResultFileHandlerto copy them to the host.Changes
ResultFileHandlerafter test executionBackwards and forward compatibility
Host can work with old app bundles (without the new test runner) on OS versions < 18. For versions >= 18, apps must be recompiled with the updated test runner to support file‑based result retrieval.
Validation
Next steps
Fixes #1367 dotnet/macios#22632