-
Notifications
You must be signed in to change notification settings - Fork 296
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
Upgrade to Yarn 4 and fix vulnerability check #3353
Conversation
b604113
to
3b47d5e
Compare
@ramondeklein how about we move to latest yarn - we shouldn't have to use yarn1 we don't have a specific dependency. |
3b47d5e
to
eef298b
Compare
af9e896
to
0cf25c6
Compare
I was just working on that 👍🏻 |
0cf25c6
to
980063f
Compare
980063f
to
7a5c5fd
Compare
8cc0b2c
to
91b52f6
Compare
99a992a
to
8cdf28d
Compare
The following changes have been made:
|
This coverage limit check is a BS check can this be removed
? |
@harshavardhana Minimum coverage of 65% percent also seems very low to me. If you want test coverage, then you should go for 100% coverage. It's the exceptions that always result in bugs. The standard codepath typically works fine, because everyone is using that every day. This check was already there (and already failing for a while), but I can remove it. |
I have changed the threshold to 1.0 to avail enough time to address the coverage whenever we can. |
Okay, I'm going to merge this since we need to proceed to make a Console tag soon. |
@@ -1103,7 +1162,7 @@ jobs: | |||
go tool cover -func=all.out | grep total > tmp2 | |||
result=`cat tmp2 | awk 'END {print $3}'` | |||
result=${result%\%} | |||
threshold=65.0 | |||
threshold=1.0 |
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.
We can have a discussion on this as sometimes this value fluctuates when we build the UI (No Golang code), I think we can keep this value at least in 25
See #3354. This upgrades Yarn to v4 to enable advisory suppression.