Skip to content

Fix C-iOS prebuild not propagating xcodebuild failures#408

Open
pasin wants to merge 1 commit into
mainfrom
fix/c-ios-prebuild
Open

Fix C-iOS prebuild not propagating xcodebuild failures#408
pasin wants to merge 1 commit into
mainfrom
fix/c-ios-prebuild

Conversation

@pasin

@pasin pasin commented May 5, 2026

Copy link
Copy Markdown
Contributor
  • Merge xcodebuild stderr into stdout so xcpretty shows errors.
  • Wait for both xcodebuild and xcpretty to finish.
  • Raise an error if either process exits with a non-zero status.

* Merge xcodebuild stderr into stdout so xcpretty shows errors.
* Wait for both xcodebuild and xcpretty to finish.
* Raise an error if either process exits with a non-zero status.
@pasin pasin force-pushed the fix/c-ios-prebuild branch from c8673a0 to 741762f Compare May 5, 2026 04:20
@pasin pasin requested a review from Copilot May 5, 2026 04:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the iOS test server prebuild pipelines to correctly surface xcodebuild failures when output is piped through xcpretty, aligning behavior with typical shell pipefail semantics so CI fails when either stage fails.

Changes:

  • Merge xcodebuild stderr into stdout so xcpretty formats and displays errors.
  • Ensure both xcpretty and xcodebuild are waited on before proceeding.
  • Fail the build when either process exits non-zero.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
environment/aws/topology_setup/test_server_platforms/swift_register.py Pipes combined xcodebuild output into xcpretty and checks both processes’ exit codes.
environment/aws/topology_setup/test_server_platforms/c_register.py Applies the same `xcodebuild

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread environment/aws/topology_setup/test_server_platforms/c_register.py
@pasin pasin requested a review from borrrden May 5, 2026 04:29
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.

3 participants