fix(modelql)!: disable implicit queries to avoid accidental performan… #4374
GitHub Actions / Test Results
failed
Dec 8, 2024 in 0s
1 fail, 5 skipped, 826 pass in 26m 21s
Annotations
Check warning on line 0 in org.modelix.modelql.client.ModelQLClientTest
github-actions / Test Results
test IMonoStep nodeRefAndConcept()[jvm] (org.modelix.modelql.client.ModelQLClientTest) failed
modelql-client/build/test-results/jvmTest/TEST-org.modelix.modelql.client.ModelQLClientTest.xml [took 0s]
Raw output
java.lang.UnsupportedOperationException: Implicit queries are disabled. Use .query instead.
at org.modelix.modelql.client.ModelQLNode.implicitQuery(ModelQLNode.kt:102)
at org.modelix.modelql.client.ModelQLNode.getReferenceTarget(ModelQLNode.kt:170)
at org.modelix.modelql.client.ModelQLClientTest$test IMonoStep nodeRefAndConcept$1.invokeSuspend(ModelQLClientTest.kt:261)
at org.modelix.modelql.client.ModelQLClientTest$test IMonoStep nodeRefAndConcept$1.invoke(ModelQLClientTest.kt)
at org.modelix.modelql.client.ModelQLClientTest$test IMonoStep nodeRefAndConcept$1.invoke(ModelQLClientTest.kt)
at org.modelix.modelql.client.ModelQLClientTest$runTest$1$1.invokeSuspend(ModelQLClientTest.kt:88)
at org.modelix.modelql.client.ModelQLClientTest$runTest$1$1.invoke(ModelQLClientTest.kt)
at org.modelix.modelql.client.ModelQLClientTest$runTest$1$1.invoke(ModelQLClientTest.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:53)
at kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:148)
at kotlinx.coroutines.TimeoutKt.withTimeout(Timeout.kt:43)
at kotlinx.coroutines.TimeoutKt.withTimeout-KLykuaI(Timeout.kt:71)
at org.modelix.modelql.client.ModelQLClientTest$runTest$1.invokeSuspend(ModelQLClientTest.kt:71)
at org.modelix.modelql.client.ModelQLClientTest$runTest$1.invoke(ModelQLClientTest.kt)
at org.modelix.modelql.client.ModelQLClientTest$runTest$1.invoke(ModelQLClientTest.kt)
at io.ktor.server.testing.TestApplicationKt$testApplication$builder$1$1.invokeSuspend(TestApplication.kt:335)
at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
at org.modelix.modelql.client.ModelQLClientTest$runTest$1.invokeSuspend(ModelQLClientTest.kt:71)
at io.ktor.server.testing.TestApplicationKt$testApplication$builder$1$1.invokeSuspend(TestApplication.kt:335)
Caused by: java.lang.UnsupportedOperationException: Implicit queries are disabled. Use .query instead.
at org.modelix.modelql.client.ModelQLNode.implicitQuery(ModelQLNode.kt:102)
at org.modelix.modelql.client.ModelQLNode.getReferenceTarget(ModelQLNode.kt:170)
at org.modelix.modelql.client.ModelQLClientTest$test IMonoStep nodeRefAndConcept$1.invokeSuspend(ModelQLClientTest.kt:261)
at org.modelix.modelql.client.ModelQLClientTest$test IMonoStep nodeRefAndConcept$1.invoke(ModelQLClientTest.kt)
at org.modelix.modelql.client.ModelQLClientTest$test IMonoStep nodeRefAndConcept$1.invoke(ModelQLClientTest.kt)
at org.modelix.modelql.client.ModelQLClientTest$runTest$1$1.invokeSuspend(ModelQLClientTest.kt:88)
at org.modelix.modelql.client.ModelQLClientTest$runTest$1$1.invoke(ModelQLClientTest.kt)
at org.modelix.modelql.client.ModelQLClientTest$runTest$1$1.invoke(ModelQLClientTest.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:53)
at kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:148)
at kotlinx.coroutines.TimeoutKt.withTimeout(Timeout.kt:43)
at kotlinx.coroutines.TimeoutKt.withTimeout-KLykuaI(Timeout.kt:71)
at org.modelix.modelql.client.ModelQLClientTest$runTest$1.invokeSuspend(ModelQLClientTest.kt:71)
at org.modelix.modelql.client.ModelQLClientTest$runTest$1.invoke(ModelQLClientTest.kt)
at org.modelix.modelql.client.ModelQLClientTest$runTest$1.invoke(ModelQLClientTest.kt)
at io.ktor.server.testing.TestApplicationKt$testApplication$builder$1$1.invokeSuspend(TestApplication.kt:335)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at io.ktor.server.testing.TestApplicationKt.testApplication(TestApplication.kt:329)
at io.ktor.server.testing.TestApplicationKt.testApplication(TestApplication.kt:287)
at org.modelix.modelql.client.ModelQLClientTest.runTest(ModelQLClientTest.kt:70)
at org.modelix.modelql.client.ModelQLClientTest.test IMonoStep nodeRefAndConcept(ModelQLClientTest.kt:258)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Loading