Alex Doubov

Results 21 comments of Alex Doubov

A bunch of our engineers ran into this locally when we initially migrated to the rc version and it would happen on PRs during CI runs as well. I'm not...

@hfhbd @AlecKazakova do you have any suggestions for trying to figure out why this is happening? It happens in about ~2-3% of builds and is preventing us from upgrading to...

Upgraded to 2.0.1, getting new errors: ``` ERROR: 'void com.alecstrong.sql.psi.core.SqlFileBase.(com.intellij.psi.FileViewProvider, com.intellij.lang.Language, java.util.Collection, int, kotlin.jvm.internal.DefaultConstructorMarker)' java.lang.NoSuchMethodError: 'void com.alecstrong.sql.psi.core.SqlFileBase.(com.intellij.psi.FileViewProvider, com.intellij.lang.Language, java.util.Collection, int, kotlin.jvm.internal.DefaultConstructorMarker)' at app.cash.sqldelight.core.lang.SqlDelightFile.(SqlDelightFile.kt:22) at app.cash.sqldelight.core.lang.SqlDelightQueriesFile.(SqlDelightQueriesFile.kt:44) 'void com.alecstrong.sql.psi.core.SqlFileBase.(com.intellij.psi.FileViewProvider, com.intellij.lang.Language, java.util.Collection, int,...

What version of sql-psi is required to work with 2.0.1? 0.50? I see that 2.0.1 is using 0.4.8 here: https://github.com/cashapp/sqldelight/blob/2.0.1/gradle/libs.versions.toml#L16 What is the right combination of those versions?

It turned out there was one more module that was defining the gradle-plugin dependency which was still set to 2.0.0! Sorry about that. I'll do some more testing to see...

Still getting the same intermittent error unfortunately

We've done a lot more testing and this issues goes away when `org.gradle.workers.max` is set to 1. I have a hunch that this might be somehow related to schema dependencies....

@AlecKazakova @hfhbd Looks like changing the isolation from classloader to process solves this issue. Do you have anything against changing the default to process isolation? Or would you rather we...

Yeah, I've tried that but the stacktrace didn't improve with more details unfortunately