-
Notifications
You must be signed in to change notification settings - Fork 59
[Apple] Handle iOS 18+ test results via file copy instead of TCP tunnel #1416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
kotlarmilos
merged 30 commits into
dotnet:main
from
kotlarmilos:improvement/remove-tcp-tunnel
Jun 17, 2025
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
dfa5b57
Test file listener
kotlarmilos 834759f
Fix failing tests
kotlarmilos a9b3eb4
Revert TCP changes
kotlarmilos cb0a48c
Test TCP connection
kotlarmilos 212db1c
Test direct TCP connection
kotlarmilos 5608aab
Copy the results file from the device to the host machine
kotlarmilos 068b659
Add TODOs
kotlarmilos 73b49c9
Test bundles
kotlarmilos 9c6db0b
Test bundles
kotlarmilos 4e9b225
Fix apple run command
kotlarmilos 11cc40e
Run apple just-test with the new app bundle
kotlarmilos de122a3
Run apple just-test with the new app bundle
kotlarmilos 70ba8fa
Run apple just-test with the new app bundle
kotlarmilos 225d2f1
Test scouting queues
kotlarmilos 98921d9
Test scouting queues
kotlarmilos cabceb2
Test scouting queues
kotlarmilos 5091b92
Test scouting queues
kotlarmilos 56a565c
Fix tvOS path
kotlarmilos 901c831
Test default queues
kotlarmilos d13c046
Test simulators
kotlarmilos aa2bd42
Fix OS version parsing and update simulator copy command
kotlarmilos 2245c4c
Improve OS version validation
kotlarmilos ed6bd42
Fix null check for simulator
kotlarmilos 872c6d4
Add logging for device OS version
kotlarmilos ac18581
Use file copy on device and simulators only
kotlarmilos 2e6c738
Test scouting queues
kotlarmilos 9a2345a
Implement ResultFileHandler
kotlarmilos 2e09953
Test default queues
kotlarmilos d1ef55a
Update mlaunch version to 1.1.56
kotlarmilos 7ec6cd4
Revert "Update mlaunch version to 1.1.56"
kotlarmilos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
24 changes: 24 additions & 0 deletions
24
src/Microsoft.DotNet.XHarness.iOS.Shared/IResultFileHandler.cs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
| // See the LICENSE file in the project root for more information. | ||
|
|
||
| using System.Threading; | ||
| using System.Threading.Tasks; | ||
|
|
||
| #nullable enable | ||
| namespace Microsoft.DotNet.XHarness.iOS.Shared; | ||
|
|
||
| public interface IResultFileHandler | ||
| { | ||
| /// <summary> | ||
| /// Copy the XML results file from the app container (simulator or device) to the host path. | ||
| /// </summary> | ||
| Task<bool> CopyResultsAsync( | ||
| RunMode runMode, | ||
| bool isSimulator, | ||
| string osVersion, | ||
| string udid, | ||
| string bundleIdentifier, | ||
| string hostDestinationPath, | ||
| CancellationToken token); | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.