mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 23:22:14 +03:00
0b58a361ed
Having a modest-size files in a project would lead to a timeout when the project was first initialized. This became apparent when testing delivered `.enso-project` files with some data files. After some digging there was a bug in JGit (https://bugs.eclipse.org/bugs/show_bug.cgi?id=494323) which meant that adding such files was really slow. The implemented fix is not on by default but even with `--renormalization` turned off I did not see improvement. In the end it didn't make sense to add `data` directory to our version control, or any other files than those in `src` or some meta files in `.enso`. Not including such files eliminates first-use initialization problems. # Important Notes To test, pick an existing Enso project with some data files in it (> 100MB) and remove `.enso/.vcs` directory. Previously it would timeout on first try (and work in successive runs). Now it works even on the first try. The crash: ``` [org.enso.languageserver.requesthandler.vcs.InitVcsHandler] Initialize project request [Number(2)] for [f9a7cd0d-529c-4e1d-a4fa-9dfe2ed79008] failed with: null. java.util.concurrent.TimeoutException: null at org.enso.languageserver.effect.ZioExec$.<clinit>(Exec.scala:134) at org.enso.languageserver.effect.ZioExec.$anonfun$exec$3(Exec.scala:60) at org.enso.languageserver.effect.ZioExec.$anonfun$exec$3$adapted(Exec.scala:60) at zio.ZIO.$anonfun$foldCause$4(ZIO.scala:683) at zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:904) at zio.internal.FiberRuntime.evaluateEffect(FiberRuntime.scala:381) at zio.internal.FiberRuntime.evaluateMessageWhileSuspended(FiberRuntime.scala:504) at zio.internal.FiberRuntime.drainQueueOnCurrentThread(FiberRuntime.scala:220) at zio.internal.FiberRuntime.run(FiberRuntime.scala:139) at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:49) at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ``` |
||
---|---|---|
.. | ||
com.beachape.enumeratum_2.13-1.7.2 | ||
com.beachape.enumeratum-circe_2.13-1.7.2 | ||
com.beachape.enumeratum-macros_2.13-1.6.3 | ||
com.chuusai.shapeless_2.13-2.3.10 | ||
com.fasterxml.jackson.core.jackson-annotations-2.15.2 | ||
com.fasterxml.jackson.core.jackson-core-2.15.2 | ||
com.fasterxml.jackson.core.jackson-databind-2.15.2 | ||
com.fasterxml.jackson.dataformat.jackson-dataformat-cbor-2.15.2 | ||
com.fasterxml.jackson.module.jackson-module-scala_2.13-2.15.2 | ||
com.google.errorprone.error_prone_annotations-2.18.0 | ||
com.google.flatbuffers.flatbuffers-java-1.12.0 | ||
com.google.guava.failureaccess-1.0.1 | ||
com.google.guava.guava-32.0.0-jre | ||
com.google.guava.listenablefuture-9999.0-empty-to-avoid-conflict-with-guava | ||
com.google.j2objc.j2objc-annotations-2.8 | ||
com.googlecode.javaewah.JavaEWAH-1.2.3 | ||
com.ibm.icu.icu4j-73.1 | ||
com.lihaoyi.fansi_2.13-0.4.0 | ||
com.lihaoyi.sourcecode_2.13-0.3.0 | ||
com.monovore.decline_2.13-2.4.1 | ||
com.thoughtworks.paranamer.paranamer-2.8 | ||
com.typesafe.akka.akka-actor_2.13-2.6.20 | ||
com.typesafe.akka.akka-actor-typed_2.13-2.6.20 | ||
com.typesafe.akka.akka-http_2.13-10.2.10 | ||
com.typesafe.akka.akka-http-core_2.13-10.2.10 | ||
com.typesafe.akka.akka-http-spray-json_2.13-10.2.10 | ||
com.typesafe.akka.akka-parsing_2.13-10.2.10 | ||
com.typesafe.akka.akka-protobuf-v3_2.13-2.6.20 | ||
com.typesafe.akka.akka-slf4j_2.13-2.6.20 | ||
com.typesafe.akka.akka-stream_2.13-2.6.20 | ||
com.typesafe.config-1.4.2 | ||
com.typesafe.scala-logging.scala-logging_2.13-3.9.4 | ||
com.typesafe.slick.slick_2.13-3.4.1 | ||
com.typesafe.ssl-config-core_2.13-0.4.3 | ||
commons-cli.commons-cli-1.5.0 | ||
commons-codec.commons-codec-1.16.0 | ||
commons-io.commons-io-2.12.0 | ||
dev.zio.izumi-reflect_2.13-2.3.8 | ||
dev.zio.izumi-reflect-thirdparty-boopickle-shaded_2.13-2.3.8 | ||
dev.zio.zio_2.13-2.0.14 | ||
dev.zio.zio-internal-macros_2.13-2.0.14 | ||
dev.zio.zio-stacktracer_2.13-2.0.14 | ||
io.circe.circe-core_2.13-0.14.5 | ||
io.circe.circe-generic_2.13-0.14.5 | ||
io.circe.circe-generic-extras_2.13-0.14.2 | ||
io.circe.circe-jawn_2.13-0.14.5 | ||
io.circe.circe-literal_2.13-0.14.5 | ||
io.circe.circe-numbers_2.13-0.14.5 | ||
io.circe.circe-parser_2.13-0.14.5 | ||
io.circe.circe-yaml_2.13-0.14.2 | ||
io.methvin.directory-watcher-0.9.10 | ||
io.spray.spray-json_2.13-1.3.6 | ||
licenses | ||
net.java.dev.jna.jna-5.5.0 | ||
nl.gn0s1s.bump_2.13-0.1.3 | ||
org.apache.commons.commons-compress-1.23.0 | ||
org.apache.commons.commons-lang3-3.12.0 | ||
org.apache.tika.tika-core-2.4.1 | ||
org.bouncycastle.bcpkix-jdk15on-1.70 | ||
org.bouncycastle.bcprov-jdk15on-1.70 | ||
org.bouncycastle.bcutil-jdk15on-1.70 | ||
org.checkerframework.checker-qual-3.33.0 | ||
org.eclipse.jgit.org.eclipse.jgit-6.7.0.202309050840-r | ||
org.jline.jline-3.23.0 | ||
org.netbeans.api.org-netbeans-modules-sampler-RELEASE180 | ||
org.netbeans.api.org-openide-util-lookup-RELEASE180 | ||
org.reactivestreams.reactive-streams-1.0.3 | ||
org.reactivestreams.reactive-streams-1.0.4 | ||
org.scala-lang.modules.scala-collection-compat_2.13-2.8.1 | ||
org.scala-lang.modules.scala-java8-compat_2.13-1.0.0 | ||
org.scala-lang.modules.scala-parser-combinators_2.13-1.1.2 | ||
org.scala-lang.scala-library-2.13.11 | ||
org.scala-lang.scala-reflect-2.13.11 | ||
org.slf4j.slf4j-api-2.0.9 | ||
org.typelevel.cats-core_2.13-2.9.0 | ||
org.typelevel.cats-kernel_2.13-2.9.0 | ||
org.typelevel.jawn-parser_2.13-1.4.0 | ||
org.xerial.sqlite-jdbc-3.42.0.0 | ||
org.yaml.snakeyaml-1.33 | ||
NOTICE |