-
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] Clarify threshold to add new lib #37097
Conversation
@ 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] |
@@ -5,6 +5,8 @@ labels: Weekly, AutoAssignerAppLibraryReview | |||
--- | |||
In order to properly evaluate if a new library can be added to `package.json`, please fill out this request form. It will be automatically assigned someone from our review team that will go through and vet the library. | |||
|
|||
*In order to add any new production dependency, it must receive a :+1: from at least 51% of the app deployers.* |
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.
My thought was kind of different than this...
I kinda feel like the vote is more like a WN vote. The main benefit is for getting feedback, and the vote itself is less important.
I don't feel that strongly either way, but I will say that it can be difficult to get a 51% majority vote sometimes.
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.
And I mean that in the sense that it's hard to get that many people's attention to vote.
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 hear ya, and FWIW I don't feel that strongly either. an advantage of a strict threshold for the vote is that it makes it a very clear pass/fail.
For context, this was spurred by this 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.
OK, cool. So that we can give contributors some clarity, how about saying it like this:
In order to add any new production dependency, it must be approved by the App Deployer team. They will evaluate the library and decide if it's something we want to move forward with or if other alternatives should be explored.
Any idea why the Validate Github Actions is failing? It says it found diffs in some files, but I'm guessing it's maybe only a whitespace diff? I'm not sure why it would be looking at those files for this PR anyway since they weren't touched. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
@tgolen looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
This is not an emergency, but the failing test has nothing to do with the changes in this PR since the GH workflows weren't touched. |
🚀 Deployed to staging by https://github.com/tgolen in version: 1.4.44-0 🚀
|
Unfortunately it's still a mystery why this started happening intermittently: https://expensify.slack.com/archives/C01GTK53T8Q/p1708647726797519 |
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.44-13 🚀
|
Details
Outside of the original #whatnext proposal, I didn't find anywhere where the 51% threshold to add new libs was written down. So I'm clarifying that in the GitHub issue template.
Fixed Issues
$ n/a
Tests
none, just updated an issue template.
Offline tests
None.
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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop