Skip to content

[NO QA]Add a try/catch for build in review error for iOS#5594

Merged
Jag96 merged 1 commit into
mainfrom
andrew-ios-build-in-review
Sep 29, 2021
Merged

[NO QA]Add a try/catch for build in review error for iOS#5594
Jag96 merged 1 commit into
mainfrom
andrew-ios-build-in-review

Conversation

@AndrewGable

Copy link
Copy Markdown
Contributor

Details

Adds a try/catch for the error message we were receiving for the iOS errors.

Fixed Issues

$ https://github.com/Expensify/Expensify/issues/178492

Tests

  1. Merge this PR
  2. Verify we do not see iOS build errors like https://github.com/Expensify/App/runs/3747787438

QA Steps

N/A

@AndrewGable AndrewGable requested a review from Jag96 September 29, 2021 21:30
@AndrewGable AndrewGable self-assigned this Sep 29, 2021
@AndrewGable AndrewGable requested a review from a team as a code owner September 29, 2021 21:30
@MelvinBot MelvinBot requested review from MonilBhavsar and removed request for a team September 29, 2021 21:30

@Jag96 Jag96 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.

LGTM, just 1 nab question

Comment thread fastlane/Fastfile
if e.message.include? "Another build is in review"
UI.important("Another build is already in external beta review. Skipping external beta review submission")
else
raise

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.

nab - Can we do something like this instead to remove the if/else?

  rescue Exception => e
    raise e unless e.message.include? "Another build is in review"
    UI.important("Another build is already in external beta review. Skipping external beta review submission")
  end

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, I think so- Is that valid ruby?

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.

I think that'll work, but I'm fine leaving it simple w/ the if/else since its more straightforward

@Jag96 Jag96 merged commit 0af02af into main Sep 29, 2021
@Jag96 Jag96 deleted the andrew-ios-build-in-review branch September 29, 2021 22:43
@OSBotify

Copy link
Copy Markdown
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by @Jag96 in version: 1.1.3-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify

OSBotify commented Oct 4, 2021

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by @chiragsalian in version: 1.1.4-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

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