-
Notifications
You must be signed in to change notification settings - Fork 30k
Use async execution for xcodebuild commands #29048
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
Use async execution for xcodebuild commands #29048
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
|
I'm ready to LGTM once the CLA is signed and the test is fixed |
Co-Authored-By: priitlatt <lattpriit@gmail.com>
Co-Authored-By: priitlatt <lattpriit@gmail.com>
|
@priitlatt are you able to continue working on it or should we continue ourselves? |
|
@jonahwilliams We were observing how this fix behaves in the production over the weekend and yesterday. At first it was very promising, but now it seems that it still occasionally gets stuck on Also, making But async version of |
|
That sounds reasonable to me |
…xcodebuild-commands-async
|
cc @priitlatt what are your plans with this CL? If this improves the situation I would prefer to land it and continue addressing other forms of flakiness separately |
|
@jonahwilliams Last I checked the Flutter build was failing and hence the delays, sorry about that. I'm good to go on with this and continue with |
jonahwilliams
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM,
Thank you for the contribution!
|
I signed it! |
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
Is this in the stable branch yet? |
Description
Sometimes Flutter never receives the output of
xcodebuild -listandxcodebuild -showBuildSettingscommands while they have actually been completed underneath (no alive processes forxcodebuildare present). For unknown reasons, the issue does not reproduce when the commands are invoked withrunCheckedAsyncinstead ofrunCheckedSync.Related Issues
#28415
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?