Repository navigation
[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] |
| --- | ||
| 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.
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.
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.
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.
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 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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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