It's still WIP while I'm writing this.
Jeremy is hyper-active in a bunch of projects; weird, and cool.
As to me, I'm still trying to trace wtf is going on. Probably the biggest issue is that the logger that throws the casting exception is different in the version for Scala 2.12 compared to the one for Scala 2.11.
As to why it runs here and does not run there: `sbt clean` does not exactly clean. You need to manually remove all `target` folders. I just pulled master, and it does not even compile. Why? Because of those generated files in `target` that are interfering.
Anyway, I'll fix it.
That's it for today. Nothing interesting. Just a mess.
Ok, an update.
What was happening actually. Our service code passes request logger to Play, as a "filter" (people obviously didn't know what "filter" is, and neither did Play framework people. This "filter" is called to "process" a request; in our specific case it's just logging the request. For logging, Play framework casts the request to the type it thinks it is.
In the version for Scala 2.11 Play framework, when we "add a filter", add that filter, but its "mock version" ignores all filters. So the tests pass, nothing crashes.
But in the version for Scala 2.12 the guys in Lightbend decided to improve that "mock web service processor". And they add the filter, and the filter does not accept a "mock request", and crashes, and Play framework ignores all the diagnostics and just returns HTTP 500. With an enigmatic message.
Ok, what I do now? I'll just fix that code, have our own version for all that, and that would be it.
Hopefully. it will work. Everything's pretty slow.
Ok, and the last news. After I fixed one stupid piece of code in Play Mock code, all my stuff started working. They had a bug in their mocks. Neat. But I'm kind of celebrating.