Skip to content
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

Bump Fastlane xcodebuild -showBuildSettings interval to try avoid timeouts #23403

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

mokagio
Copy link
Contributor

@mokagio mokagio commented Jul 1, 2024

I got a UI test failure timeout in #23402 during the xcodebuild- showBuildSettings step.

I thought using the newer Simulator in #23259 was the fix for this issue, but clearly that was a false positive.

In one of our apps that are not (yet?) open source and therefore can't be linked here, we had luck using ENV['FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT'] = '120' (as per fastlane/fastlane#20919).

I replicated the setting here, but I won't stress test it because: 1) running tens of UI tests would clog our queue for hours, 2) I already did so in the other app, running the same step 50 times, twice.

…imeouts

Set in `Fastfile` instead of as a CI env var so everyone can benefit
from it.
@mokagio mokagio added the Tooling Build, Release, and Validation Tools label Jul 1, 2024
@mokagio mokagio added this to the 25.3 milestone Jul 1, 2024
@mokagio mokagio requested review from kean and a team July 1, 2024 01:46
@wpmobilebot
Copy link
Contributor

WordPress Alpha📲 You can test the changes from this Pull Request in WordPress Alpha by scanning the QR code below to install the corresponding build.
App NameWordPress Alpha WordPress Alpha
ConfigurationRelease-Alpha
Build Numberpr23403-04eb24d
Version25.1
Bundle IDorg.wordpress.alpha
Commit04eb24d
App Center BuildWPiOS - One-Offs #10245
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@wpmobilebot
Copy link
Contributor

Jetpack Alpha📲 You can test the changes from this Pull Request in Jetpack Alpha by scanning the QR code below to install the corresponding build.
App NameJetpack Alpha Jetpack Alpha
ConfigurationRelease-Alpha
Build Numberpr23403-04eb24d
Version25.1
Bundle IDcom.jetpack.alpha
Commit04eb24d
App Center Buildjetpack-installable-builds #9293
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@mokagio mokagio enabled auto-merge (squash) July 1, 2024 04:21
Copy link
Contributor

@AliSoftware AliSoftware left a comment

Choose a reason for hiding this comment

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

As mentioned in the other PR, would be nice at some point to check if we couldn't reduce (or even eliminate) the delay on fastlane running that xcodebuild -showBuildSettings command in the first place, maybe by adding some flags to the command call to tell it not to try resolving SPM dependencies or doing network calls during that call?

But approving this in the meantime to unblock.

@mokagio mokagio merged commit 312df0f into trunk Jul 1, 2024
27 of 28 checks passed
@mokagio mokagio deleted the mokagio/bump-interval branch July 1, 2024 07:37
@mokagio
Copy link
Contributor Author

mokagio commented Jul 3, 2024

Added an item to our roadmap for the further investigation: https://github.com/orgs/Automattic/projects/841/views/5?pane=issue&itemId=69594039

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tooling Build, Release, and Validation Tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants