Repository navigation
Branch dance! - #20791
Branch dance!#20791
Conversation
roryabraham
left a comment
There was a problem hiding this comment.
@iwiznia Helped me realize there's a race condition in finishReleaseCycle.yml. We need to guarantee that production is re-created from staging before staging is re-created from main.
# Conflicts: # .github/actions/javascript/isPullRequestMergeable/index.js # .github/actions/javascript/isPullRequestMergeable/isPullRequestMergeable.js
|
This is ready for further reviews. I requested the necessary admin changes in the linked issue, so hopefully we can take this off HOLD and test tomorrow |
mountiny
left a comment
There was a problem hiding this comment.
Thanks for addressing my comments
|
Slack context for testing of this change: https://expensify.slack.com/archives/C07J32337/p1687537599544089 |
|
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 1.3.32-1 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.32-5 🚀
|
Details
This PR updates the fundamental git logic of our CI/CD.
Up until this PR,
mainis merged intostagingand thenstagingis merged intoproduction. This PR changes that such that,stagingis deleted and re-created frommain.productionis deleted and re-created fromstaging. This fixes some fundamental issues with our deploy process (see linked issues).As an added bonus, we no longer need to create pull requests in order for
OSBotifyto manage branches and cherry-picks. This will be faster and more reliable.Fixed Issues
$ #10214
$ https://github.com/Expensify/Expensify/issues/280286
Tests
Wrote some automated tests. We'll have to battle-test this over the course of a few deploy cycles
We also need to update the branch protections for
OSBotifyto make this possible.Offline tests
n/a
QA Steps
None.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android