-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Branch dance! #20791
Branch dance! #20791
Conversation
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.
@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 |
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.
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,
main
is merged intostaging
and thenstaging
is merged intoproduction
. This PR changes that such that,staging
is deleted and re-created frommain
.production
is 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
OSBotify
to 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
OSBotify
to make this possible.Offline tests
n/a
QA Steps
None.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android