[release/9.0] Backport mobile log unification#1453
Merged
matouskozak merged 3 commits intodotnet:release/9.0from Aug 26, 2025
Merged
[release/9.0] Backport mobile log unification#1453matouskozak merged 3 commits intodotnet:release/9.0from
matouskozak merged 3 commits intodotnet:release/9.0from
Conversation
…tion (dotnet#1348) * unify adb and main console log output on Android * unify main and appOutputLog for iOS devices * Unify logs for MacCatalyst
…ices and MacCatalyst (dotnet#1383) - Move the logic of unifying the app and main logs to the TestOrchestrator. - Copy system and application logs to the main log after the app has finished.
3 tasks
There was a problem hiding this comment.
Pull Request Overview
This PR backports mobile log unification improvements to ensure better tracking of mobile test failures on the release/9.0 branch. The changes consolidate system and application logs into the main log for improved failure investigation across Apple and Android platforms.
- Adds automatic copying of system and application logs to the main log for Apple platforms (excluding simulators where logs are already included)
- Duplicates Android ADB logs to the main console log for easier failure investigation
- Minor formatting improvement in AppTester.cs
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| TestOrchestrator.cs | Adds CopyLogsToMainLog method and calls it after test execution for device testing |
| AppTester.cs | Minor formatting change to improve readability of test reporter factory call |
| AdbRunner.cs | Duplicates ADB log output to main console log for better failure investigation |
Comments suppressed due to low confidence (1)
kotlarmilos
approved these changes
Aug 6, 2025
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.
Combined backport of #1348 and #1383 to ensure we're able to track mobile test failures on release/9.0 branch as well.