-
-
Notifications
You must be signed in to change notification settings - Fork 287
scala 2.12.10 is default version, closes #703 #1054
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
Conversation
Not sure if it's overloading too much, but could make the jump to
|
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.
Otherwise LGTM
@smparkes test coverage on fails when I apply your change. I'm reverting but I'd welcome a passing PR to upgrade to 2.12.11 |
@ittaiz ack We manually configure 2.12.11 but we haven't run all the tests. Our code is probably less sensitive. I'll see if I can carve out some time. |
arghh. Even after the revert it fails. I hope it's a travis problem. Though not really sure why only on that test. It's late enough for me to not think straight. I'll try to rerun in the morning and we'll see |
ok, it seems the coverage failure is legit. |
I've updated the golden coverage file and so the test passes of course. |
I think there is some strange change with coverage on this branch. Steps:
The report on master and on 2_12_default is significantly different. I checked this, because I got suspicious when I saw the differences in the expected lcov file (removing mentions of |
:( always be cautious when changing tests... @gergelyfabian thanks for taking the time! |
Results of
On 2_12_default:
|
@ittaiz I'm not an expert on lcov data generation, but maybe there is a difference how Scala 2.12 classes are generated / instrumented. I believe this would need some debugging, because evidently lines which are executed are not detected by coverage. |
Coming to think about it I’m not sure we should block the merge because of this. |
@gergelyfabian @smparkes wdyt? |
@ittaiz If Scala 2.12 was already available, and this is only about
changing the default, then I am not against, although I am not sure whether
and when I would have time to check this bug (and whether I have the
knowledge ;)).
Ittai Zeidman <[email protected]> ezt írta (időpont: 2020. jún. 10.,
Sze 20:06):
… @gergelyfabian <https://github.com/gergelyfabian> @smparkes
<https://github.com/smparkes> wdyt?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1054 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJGRRMYMUBWKLCYXKT7QADRV7DRRANCNFSM4NTP5BSQ>
.
|
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 wouldn't block on coverage.
I would say coverage accuracy is a minor issue in terms of which version of a compiler to use. In a case like this, there are far more significant issues that impact the decision to use 2.11 or 2.12.
It's good that we have a test but I don't think we're trying to fix the coverage tools themselves, just to make sure they're being run correctly. So run once, record the results, etc. This is always going to be a bit brittle since coverage could change by compiler patch version. But we're not trying to test every version and the focus is on running the tool correctly so ...
…trib#1054) * scala 2.12.10 is default version, closes bazel-contrib#703 * specs2 matcher to try catch * default 2.12.11 (latest) * update golden coverage file
Description
scala 2.12.10 is default version
Motivation
#703