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

Do not reject builds waiting for TestFlight review to avoid CI failure #23118

Merged
merged 1 commit into from
May 1, 2024

Conversation

mokagio
Copy link
Contributor

@mokagio mokagio commented Apr 30, 2024

There is a known limitation in the ASC API that does not allow removing builds from TestFlight review, despite Fastlane offering a parameter to do so.

To avoid failures in CI in the (rare) occurrence of submitting a beta while another one is still waiting or in review, this PR disables rejecting builds.

Testing

Unfortunately, the only way to test this would be to create two beta one after the other and verify the TestFlight upload from CI does not fail for the second one. This is possible but "expensive" to do.

Regression Notes

  1. Potential unintended areas of impact – N.A.
  2. What I did to test those areas of impact (or what existing automated tests I relied on) – N.A.
  3. What automated tests I added (or what prevented me from doing so) – N.A.

PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding unit tests for my changes. N.A.
  • I have considered adding accessibility improvements for my changes. N.A.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary. N.A.

UI changes testing checklist: Not a UI PR.

@dangermattic
Copy link
Collaborator

dangermattic commented Apr 30, 2024

1 Warning
⚠️ PR is not assigned to a milestone.

Generated by 🚫 Danger

@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 Numberpr23118-c1dc1c6
Version24.8
Bundle IDorg.wordpress.alpha
Commitc1dc1c6
App Center BuildWPiOS - One-Offs #9729
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 Numberpr23118-c1dc1c6
Version24.8
Bundle IDcom.jetpack.alpha
Commitc1dc1c6
App Center Buildjetpack-installable-builds #8774
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@AliSoftware
Copy link
Contributor

That's quite unfortunate.

Maybe we could contribute back to fastlane to apply this change to this code to fix the issue at its root at some point? (especially updating the filter + replacing waiting_for_review_build.beta_app_review_submission.delete! with waiting_for_review_build.expire! instead)?

@AliSoftware AliSoftware added the Tooling Build, Release, and Validation Tools label Apr 30, 2024
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.

Approving to unblock, but I think it would be better to contribute to fastlane to apply the fix proposed by one of the commenters so that we can use that parameter it again?

@AliSoftware
Copy link
Contributor

@mokagio Opened a PR to fix it in fastlane here: fastlane/fastlane#21995

Tested the fix with Tumblr-iOS alpha and beta builds today, as:

@mokagio
Copy link
Contributor Author

mokagio commented May 1, 2024

Approving to unblock, but I think it would be better to contribute to fastlane to apply the fix proposed by one of the commenters so that we can use that parameter it again?

Agreed. I would have looked into it, eventually 😅 Glad you got to it 👍

@mokagio mokagio merged commit 13b701d into release/24.8 May 1, 2024
24 of 26 checks passed
@mokagio mokagio deleted the mokagio/reject_build_waiting_for_review branch May 1, 2024 01:13
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

4 participants