-
Notifications
You must be signed in to change notification settings - Fork 21
push scala-java8-compat stdlib integration through 2.13 community build #11452
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
Comments
now that I take a closer look, I see that it's just Akka, the other projects are getting scala-java8-compat through the akka dependency
|
I managed to get the community build to run, but was busy with scala/scala#7929 for the rest of the week :-) I will take a look at akka today. |
Akka builds, there are some test failures. Minimal community build for akka: https://github.com/scala/community-builds/compare/2.13.x...lrytz:akka-2.13?expand=1 My changes: https://github.com/lrytz/akka/commits/no-java8-compat |
|
They seem to be various kinds of failures, maybe best for someone from Akka to look into?
|
you can push your changes to 2.13.x, let’s book the progress |
Lukas did this, and Jenkins has finished chewing on it @patriknw https://scala-ci.typesafe.com/job/scala-2.13.x-integrate-community-build/1913/consoleFull has the detailed error log |
in case it's not clear: ultimately we want to address the failures of course, but for the RC1 release we're aiming to complete this week, the bar we're trying to clear is to be reasonably confident that the failures aren't caused by Scala regressions. /cc @viktorklang in case it turns out that |
Seems to be many test failures. Do you have a published build we can try? |
@patriknw the Scala nightly we're using currently is 2.13.0-pre-b4926ef, which is resolvable from https://scala-ci.typesafe.com/artifactory/scala-integration/ but just having the Scala nightly isn't enough, I think, since you have dependencies, such as ScalaTest. so you would have to publish the dependencies locally for that nightly, or use dbuild to do your troubleshooting, which is doable but a bit involved. see https://github.com/scala/community-builds/wiki/Troubleshooting-a-failure . Lukas and I are both available to help with this |
@patriknw I see Johan and Helena are discussing the Akka specifics on Lightbend's Slack, so maybe better to continue w/ specifics there and then summarize here once some conclusion is reached |
I've made a branch where the community build config has only the so your steps to reproduce the problem are:
which will then run for, I don't know, 20 minutes, something like that (or considerably longer, should you happen to be on shitty internet at an Airbnb in London) at the end you will see:
then to troubleshoot, follow with:
and from the sbt prompt:
or whatever other sbt commands you want to issue, at this point you're in normal sbt. you can also make source code changes in the akka-wip directory and test them like normal. |
One important finding is that a line is missing from the Akka sources that are used in the community build: https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/actor/Deployer.scala#L158
I think the community build must be updated to latest Akka master. After fixing that line, the following tests are failing in akka-actor-tests:
ByteStringSpec might be most important since ByteString is using collections. |
I tried with latest ByteString and then ByteStringSpec is also passing apart from one serialization test that probably just need to be updated in Akka: https://github.com/akka/akka/blob/abbbfb5b5465596b27811f93c48dd7fe11992d32/akka-actor-tests/src/test/scala/akka/util/ByteStringSpec.scala#L900 |
@patriknw so there's nothing here should that hold up RC1? |
Seems good. Remaining unknown is possible incompatibility in java serialization, but I guess that would be ok (at least for RC). The test is here: https://github.com/akka/akka/blob/1a2cf3d4c66d85f4435f42663c835305ed71e054/akka-actor-tests/src/test/scala/akka/serialization/SerializeSpec.scala#L445 It's a |
okay, I agree that sounds like something we can resolve after RC1 is out, feel free to open a new ticket on that and/or just talk to us about it |
looking at last night's 2.13 CB run, the obvious candidates to try are:
the first three have published for M5, the fourth hasn't so might need other changes for 2.13
The text was updated successfully, but these errors were encountered: