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

Production deploys can fail if a lower version is pending review #20196

Closed
roryabraham opened this issue Jun 5, 2023 · 16 comments
Closed

Production deploys can fail if a lower version is pending review #20196

roryabraham opened this issue Jun 5, 2023 · 16 comments
Assignees
Labels
Internal Requires API changes or must be handled by Expensify staff Monthly KSv2 NewFeature Something to build that is a new item.

Comments

@roryabraham
Copy link
Contributor

roryabraham commented Jun 5, 2023

Problem

It's possible for automated production iOS deploys to fail if there's a lower version that's still pending review. For example, if 1.3.22 is still pending review, the deliver fastlane workflow will fail for 1.3.23.

Solution

Imperatively take lower versions out of review before attempting to submit a higher version for review.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a9db1bf1860d650f
  • Upwork Job ID: 1667284426557599744
  • Last Price Increase: 2023-06-09
@roryabraham roryabraham added Weekly KSv2 NewFeature Something to build that is a new item. labels Jun 5, 2023
@roryabraham roryabraham self-assigned this Jun 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 5, 2023

@roryabraham roryabraham added the Internal Requires API changes or must be handled by Expensify staff label Jun 9, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 9, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01a9db1bf1860d650f

@melvin-bot
Copy link

melvin-bot bot commented Jun 9, 2023

Triggered auto assignment to Contributor Plus for review of internal employee PR - @parasharrajat (Internal)

@roryabraham
Copy link
Contributor Author

No update

@melvin-bot melvin-bot bot removed the Overdue label Jun 13, 2023
@melvin-bot melvin-bot bot added the Overdue label Jun 22, 2023
@roryabraham
Copy link
Contributor Author

@melvin-bot melvin-bot bot removed the Overdue label Jun 23, 2023
@roryabraham
Copy link
Contributor Author

[Deliver] - Not able to reject the app version which is in Pending Developer Release

@roryabraham
Copy link
Contributor Author

Found this fastlane plugin that supposedly does what we want: https://github.com/andrew54068/fastlane-plugin-taiwan_number_one/tree/master

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Jun 23, 2023
@roryabraham roryabraham changed the title [HOLD] Production deploys can fail if a lower version is pending review Production deploys can fail if a lower version is pending review Jun 23, 2023
@roryabraham
Copy link
Contributor Author

Put up a PR to hopefully fix this: #21366

@parasharrajat parasharrajat removed their assignment Jun 23, 2023
@parasharrajat
Copy link
Member

I think C+ review is not needed here so unassigned.

@roryabraham
Copy link
Contributor Author

PR was merged. It's hard to test, so I'm going to optimistically close this for now

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jul 3, 2023
@melvin-bot melvin-bot bot changed the title Production deploys can fail if a lower version is pending review [HOLD for payment 2023-07-10] Production deploys can fail if a lower version is pending review Jul 3, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 3, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 3, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot
Copy link

melvin-bot bot commented Jul 3, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.35-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-07-10. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@roryabraham
Copy link
Contributor Author

Solution was reverted

@roryabraham roryabraham reopened this Jul 10, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 19, 2023
@roryabraham
Copy link
Contributor Author

No update

@melvin-bot melvin-bot bot removed the Overdue label Jul 20, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 28, 2023
@roryabraham roryabraham changed the title [HOLD for payment 2023-07-10] Production deploys can fail if a lower version is pending review Production deploys can fail if a lower version is pending review Jul 31, 2023
@roryabraham roryabraham removed the Awaiting Payment Auto-added when associated PR is deployed to production label Jul 31, 2023
@roryabraham
Copy link
Contributor Author

Not on HOLD but no update at this time.

@melvin-bot melvin-bot bot removed the Overdue label Jul 31, 2023
@roryabraham roryabraham added Monthly KSv2 and removed Weekly KSv2 labels Jul 31, 2023
@melvin-bot melvin-bot bot added the Overdue label Sep 1, 2023
@roryabraham
Copy link
Contributor Author

No update, low priority. Going to just close this for now since there is a slack update to manually submit on the app stores and that only takes like a minute, so the ROI here isn't worth it.

@melvin-bot melvin-bot bot removed the Overdue label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internal Requires API changes or must be handled by Expensify staff Monthly KSv2 NewFeature Something to build that is a new item.
Projects
None yet
Development

No branches or pull requests

3 participants