-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Enables Hydra on cats build #2848
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2848 +/- ##
=========================================
- Coverage 94.21% 93.9% -0.32%
=========================================
Files 368 368
Lines 6944 6984 +40
Branches 301 312 +11
=========================================
+ Hits 6542 6558 +16
- Misses 402 426 +24
Continue to review full report at Codecov.
|
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 wasn't able to review each code change manually, but I trust mima to catch anything horrible. Exciting!
One thing I noticed while moving bits around is that there is no |
Yeah, that's an oversight. I will add it. |
A quick note to inform you that in case you are considering adopting sbt 1.3.0-rc1, we have found an incompatibility with our sbt-hydra plugin, preventing the two to work together. The good news is that we have a fix ready, and a new release will likely be announced on Monday. I'll comment again here when the release is out so that you can upgrade the sbt-hydra version. |
As promised, here is a quick update about sbt 1.3.0-RC1. There is a regression in sbt affecting the sbt-hydra plugin (the hydra-bridge sources JAR aren't downloaded because a resolver is missing). We opened a ticket to track this problem (sbt/sbt#4712). Unless you wanted to upgrade to sbt 1.3.0-RC1 right away, this PR should not be blocked the linked issue. |
turns out that finiteDuration as a name of a package is not scalastyle compliant. I am going to resolve that in a different PR. |
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.
Looks good, thanks Kai! :)
I wish this change had been put forward for more public discussion before being merged. I personally didn't hear anything about this before seeing all the tweets about it after it was done. I think there are many good reasons to avoid requiring a closed-source sbt plugin to run the Cats build, and that's even if it had been tested thoroughly and we had established that it wasn't likely to cause problems. As it is right now running I appreciate Triplequote's generosity, but the Cats build already has plenty of sharp edges, especially for new contributors, and I really don't think throwing a WIP closed-source sbt plugin into the mix was a good idea. |
Thanks to @dotta 's generous help and donation, we can enable hydra on Cats build to potentially speed up build as well as to obtain compilation metrics. The metrics can be viewed here https://dashboard.triplequote.com
The code change here is simply moving the traits defined in a package object file into their own file. This is due to a hydra issue that triplequote is working on.