-
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
[NO QA] Update checklist for cherry-picked PRs #26295
Conversation
Going to forego C+ review here. |
.eslintrc.js
Outdated
rules: { | ||
'@lwc/lwc/no-async-await': 'off', | ||
'no-await-in-loop': 'off', | ||
'no-restricted-syntax': ['error', 'ForInStatement', 'LabeledStatement', 'WithStatement'], |
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.
All I'm doing with this statement is allowing this syntax:
for (const pr of PRList) {
...
}
Which is very simple. I'm pretty sure the performance concerns from the AirBnb are way out of date but they still haven't updated their ESLint standard because they don't like loops in general. In the case of all our GitHub Actions, I think for-each loops like this are nice simplification because they allow us to do await
inside the loop to wait for async stuff in one iteration to finish before moving on to the next.
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.
Sorry for the big diff ... I'd recommend checking out this branch in your IDE and then comparing it side-by-side with the contents of main in a browser window as needed. I think you'll find the new code much simpler
Sorry, marking this as WIP to simplify a couple things and break it up into a few smaller PRs |
# Conflicts: # .github/actions/javascript/createOrUpdateStagingDeploy/createOrUpdateStagingDeploy.js # .github/actions/javascript/createOrUpdateStagingDeploy/index.js # .github/actions/javascript/getReleaseBody/index.js # .github/actions/javascript/markPullRequestsAsDeployed/index.js # .github/actions/javascript/markPullRequestsAsDeployed/markPullRequestsAsDeployed.js # .github/workflows/cherryPick.yml # tests/unit/CIGitLogicTest.sh # tests/unit/createOrUpdateStagingDeployTest.js
Ready for review! Edit: ilied |
@@ -28,6 +28,25 @@ jobs: | |||
env: | |||
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }} | |||
|
|||
# Note: we're updating the checklist before running the deploys and assuming that it will succeed on at least one platform |
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.
I think this makes sense.
Let's say they all fail... the failure message appears on the PR only. But this already happens today and I assume the deployer will already have eyes on that PR -- given that they are waiting on the successful CP
Reviewer Checklist
Screenshots/VideosN/A GH actions only WebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Update checklist for cherry-picked PRs (cherry picked from commit 0cf2496)
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 1.3.67-1 🚀
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.67-3 🚀
|
Internal QA successful, the checklist was updated 🎉 |
Details
This PR fixes some broken deploy logic:
cherryPick.yml
flow that would cause the checklist to be updated. This means that CPs aren't added to the checklist and the version is not updated. That in turn means that the next checklist includes all the PRs which were CP'd with the previous one, which is a pain for Applause and deployers.Fixed Issues
$ #21763
Tests / Internal QA
Offline tests
n/a
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