when upgrading to scala 3 (3.7+, 3.8+) my project stops compiling #25386
Answered
by
lrytz
schmitch
asked this question in
General Question
|
I have a really really big project (sadly can't share) that will start hanging once I upgrade from scala 2 to scala 3 (3.7,3.8) it just stops doing anything at all and hangs in I already tried to raise the log level, bug it does not print out anything at all. |
Answered by
lrytz
Mar 3, 2026
Replies: 1 comment 9 replies
|
You could use |
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's what claude sonnet came up with after 30 minutes. Take it with a pile of salt :-) no effort done from my side here (sorry).
Theory
The hang is caused by the SpaceEngine's reachabilityCheckable analysis performing non-memoized decompose(List[T]) calls in O(N²) complexity for large Play SIRD routers.
What the stack trace reveals
Thread pool-46-thread-9 consumed 135s of CPU in 140s (96% utilization). The hot path is: