[NoQA] Fix GH Actions comment when mobile build fails - #17706
Conversation
|
@staszekscp Is this a draft PR? Without a link to the related GH, proposal comment, and a completed checklist, I can't review it. |
|
Its coming from this Slack thread for context https://expensify.slack.com/archives/C04878MDF34/p1681983324359129?thread_ts=1681955963.641589&cid=C04878MDF34 |
|
🧪🧪 Use the links below to test this build in android and iOS. Happy testing! 🧪🧪 |
|
@staszekscp This worked great! Can you add some info to the PR body please? #13767 (comment) |
mountiny
left a comment
There was a problem hiding this comment.
@staszekscp I have created and linked an issue so we have some better context for future and better traceability of your work.
Can you just fill in the PR body and the checklist and i will do the reviewer checklist and we can merge, thank you!
|
@mountiny Cool, thanks for checking! The PR body has been updated so it's ready to be merged :) |
Reviewer Checklist
Screenshots/VideosWebN/A Mobile Web - ChromeN/A Mobile Web - SafariN/A DesktopN/A iOSN/A AndroidN/A |
|
Thanks Scott and Mariusz! |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.5-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.5-6 🚀
|
Details
This PR fixes a bug in
testBuildworkflow, when sometimes links to ad-hoc apps were not showing. It turned out that it happens only in case of mobile apps - whenever web/desktop app's build failed the comment was displayed correctly.The cause was the fact, that when mobile apps are published we generate a
jsonfile withhtml_pathkey. Later we try to access this property, but when a build fails the file doesn't exist, and it was causing an error.Fixed Issues
$ #17818
Tests
N/A
Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Doesn't applyMobile Web - Chrome
Doesn't applyMobile Web - Safari
Doesn't applyDesktop
Doesn't applyiOS
Doesn't applyAndroid
Doesn't apply