-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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
testBuild
workflow, 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
json
file withhtml_path
key. 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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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