[No QA]Allow to build adhoc hybrid app from ND main and OD PR#56655
Conversation
|
@abdulrahuman5196 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Co-authored-by: Marcin Warchoł <61014013+war-in@users.noreply.github.com>
| if [[ -z "${{ github.event.inputs.PULL_REQUEST_NUMBER }}" && -z "${{ github.event.inputs.OLD_DOT_PULL_REQUEST_NUMBER }}" ]]; then | ||
| echo "Invalid input. You have to pass at least one PR number" |
There was a problem hiding this comment.
I guess this is the workaround because Github doesn't allow us to specify that one of the param fields must be passed.
There was a problem hiding this comment.
And we're still using PR number rather than URL for now?
There was a problem hiding this comment.
I think that is totally fine, just want to check
There was a problem hiding this comment.
Yeah, to it's to be sure at least one PR is added so we have place to put comments.
There was a problem hiding this comment.
And we're still using PR number rather than URL for now?
Now two options are valid. You as internal can add OD PR number while dispatching workflow and we as externals can add link to ND PR description. The one passed during dispatch has higher priority.
I think it's handy because OD PR can be used to trigger build when there are only changes in Mobile-Expensify. And if some developer works on changes that require both ND and OD then they can link PRs and internals don't have to remember to pass two PRs when dispatching workflow
… of github.com:software-mansion-labs/expensify-app-fork into jnowakow/build-hybrid-adhoc-from-mobile-expensify-only
Julesssss
left a comment
There was a problem hiding this comment.
Okay, it's looking good. Could you please write a small bit of documentation for external/internal engineers to understand how this works? I think a section in the main readme is fine for now.
|
@Julesssss can you take a look added documentation? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
@Julesssss can we proceed with this one? We can test it before merging but it would require you to copy those changes to your branch and trigger this workflow from it |
|
Lets test it properly once live -- I ca CP or revert if necessary as this doesn't touch those workflows. |
|
✋ 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/Julesssss in version: 9.1.1-0 🚀
|
|
@jnowakow the hybrid adhoc workflow is broken https://github.com/Expensify/App/actions/runs/13409919729 |
|
Seems to be working after the fix 🤞 |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.1.1-6 🚀
|
@Julesssss @staszekscp
Explanation of Change
It's follow-up to hybrid adhoc builds. Thanks to this PR Expensify internals will be able to run adhoc build from ND's main and arbitrary PR in Mobile-Expensify. I got rid of the
Ready to buildlabel as it was leftover from initial works on this feature.Fixed Issues
$ #56848
PROPOSAL: #51636 (comment)
Tests
Preparation steps:
Test scenario 1:
Build and deploy hybrid apps for testingpassing only ND PR.AppandmaininMobile-ExpensifyAppPRTest scenario 2:
Build and deploy hybrid apps for testingpassing only OD PR.Mobile-ExpensifyandmaininAppMobile-ExpensifyPRTest scenario 3:
Build and deploy hybrid apps for testingpassing both OD and ND PRs.Mobile-ExpensifyandApprepos.AppandMobile-ExpensifyPRsTest scenario 4:
MOBILE-EXPENSIFY: OD_PR_NUMBER1to PR's description inApprepo.Build and deploy hybrid apps for testingpassing only ND PR.Mobile-ExpensifyandApprepos.AppandMobile-ExpensifyPRsTest scenario 5:
MOBILE-EXPENSIFY: OD_PR_NUMBER1to PR's description inApprepo.Build and deploy hybrid apps for testingpassing both ND and OD (second) PR.Mobile-ExpensifyandApprepos.AppandMobile-ExpensifyPRsOffline tests
N/A
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop