Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 8, 2025

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Description of Change

The WaitForSimulatorReady method captures simctl bootstatus output but discards it. When simulator boot fails in CI, we have no visibility into why.

Changes:

  • Added TestContext.WriteLine to print boot status output when exitCode != 0
  • Output appears in test logs for troubleshooting boot failures
var output = ToolRunner.Run(XCRunTool, $"simctl bootstatus {udid}", out int exitCode, timeoutInSeconds: 10);
if (exitCode == 0)
    return true;

// Print diagnostic output to help troubleshoot boot issues
TestContext.WriteLine($"Simulator not ready yet: {output}");

Issues Fixed

Addresses feedback from #33047


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Update test stage to print useful output in RunOniOS Print simulator boot status output for diagnostic visibility Dec 8, 2025
Copilot AI requested a review from jfversluis December 8, 2025 13:49
@jfversluis jfversluis marked this pull request as ready for review December 8, 2025 13:50
@jfversluis jfversluis merged commit 00fc54d into try-fix-runonios Dec 8, 2025
1 check passed
@jfversluis jfversluis deleted the copilot/sub-pr-33047 branch December 8, 2025 13:50
github-actions bot pushed a commit that referenced this pull request Dec 10, 2025
* Initial plan

* Print simulator boot status output for diagnostics

Co-authored-by: jfversluis <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jfversluis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants