Closed JaroslavTulach closed 10 months ago
Pavel Marek reports a new STANDUP for today (2023-10-06):
Progress: - Introducing modules into our sbt builds
sbt
/ zinc
problem with mixed compilation of java and scala - cannot compile module-info.java
.Pavel Marek reports a new STANDUP for today (2023-10-09):
Progress: - sbt has a bug - cannot use module-info.java
in mixed projects. Luckily, we need just one module-info in pure Java project runtime-with-instruments
.
runtime
project. Some progress.--module-path
and --class-path
in compilation and that causes problems.BuiltinMethodProcessor
fails on NoClassDefFoundError
because of it. It should be finished by 2023-10-09.Pavel Marek reports a new 🔴 DELAY for yesterday (2023-10-10):
Summary: There is 11 days delay in implementation of the Upgrade Enso to GraalVM for JDK 21 (#7851) task. It will cause 11 days delay for the delivery of this weekly plan.
Delay Cause: The initial estimate was too optimistic. Moreover, I worked on different issues in the meantime.
Pavel Marek reports a new STANDUP for yesterday (2023-10-10):
Progress: - Struggling with compilation of runtime
.
IllegalAccessError
in annotation processor, even though javac
receives correct --add-exports
argument It should be finished by 2023-10-20.Pavel Marek reports a new STANDUP for today (2023-10-11):
Progress: - Removed jdk.compiler
dependency #8027
runtime
.module-info.java
- in runtime
or in runtime-with-instruments
? It should be finished by 2023-10-20.Pavel Marek reports a new STANDUP for today (2023-10-13):
Progress: - Still fixing the compilation of runtime and runtime-with-instruments.
module-info.java
compilation in sbt's mixed projects.module-info.java
to the runtime
project.module-info.class
files, so that in the Uber jar, we have only one module-info.class
file from org.enso.runtime moduleengine-runner
.runner.jar
still fails.
javaOptions
for that. It should be finished by 2023-10-20.Pavel Marek reports a new STANDUP for yesterday (2023-10-16):
Progress: - Book club, mails, chat, ...
Pavel Marek reports a new STANDUP for today (2023-10-17):
Progress: - Seems like we will have to ditch fat jars
Pavel Marek reports a new STANDUP for yesterday (2023-10-19):
Progress: - Tweaking sbt
to provide two fat Jars - runtime.jar
and runner.jar
. Those fat jars should be almost exactly the same as are now.
Pavel Marek reports a new STANDUP for today (2023-10-20):
Progress: - Investigating how to assembly runner.jar
fat jar that has exclusive packages to runtime.jar
fat jar. It should be finished by 2023-10-20.
Pavel Marek reports a new 🔴 DELAY for today (2023-10-23):
Summary: There is 7 days delay in implementation of the Upgrade Enso to GraalVM for JDK 21 (#7851) task. It will cause 7 days delay for the delivery of this weekly plan.
Delay Cause: A lot of struggling with assembling fat jars and running them.
Pavel Marek reports a new STANDUP for today (2023-10-23):
Progress: - Consultation with Jaroslav: Unblocked the problem with runner.jar
as fat jar.
runner.jar
shall not be a module, moreover, it shall not be provided on class-path, neither on module-pathruntime.jar
as fat jar that shall be an explicit module provided on the module-path and that shall provide all the Enso-related lagnagues (enso, epb) and instrumentsrunner.jar
that will be loaded via our custom class loader.-h
option works, but still cannot run a simple Enso script
ServiceConfigurationError: org.sl4j.spi.SLF4JServiceProvider: module org.enso runtime does not declare
uses`" It should be finished by 2023-10-27.A lot of struggling with assembling fat jars and running them.
Yes, the problems with fat JARs were hard to solve. Their occurrence was a kind of unknown unknown to me. I apologize for not being around sooner to help overcome the problems with more advanced ClassLoader
usage. I hope you are unblocked now.
will cause 7 days delay
Go for it! Still there is still going to be quite a few know unknowns, so the deadline is tough. Good luck.
Pavel Marek reports a new STANDUP for today (2023-10-24):
Progress: - Book club.
slf4j
and logback
from runtime.jar
.
buildEngineDistribution
sbt command.
component
directory.buildEngineDistribution
seems to be working - a simple enso -h
works.Pavel Marek reports a new STANDUP for today (2023-10-25):
Progress: - Filter away all the graal-related JAR modules from withing our generated polyglot directories in std libs
build.sbt
.runtime / test
configuration - module path, --add-exports
, etc., to Test/javaOptions
.
testOnly *VectorTest
works now.IO.println
works now. It should be finished by 2023-10-27.Pavel Marek reports a new STANDUP for today (2023-10-26):
Progress: - Trying to fix class loading issues in runtime / test
.
module-path
and everything on class-path
.
graal-js
and graalpy
.-Dpolyglotimpl.DisableClassPathIsolation=true
works, but is not desirable, even for tests.
ClassCastException
that seems to be caused by different class loaders in ReplInstrumentProvider?
MessageEndpoint
initialization is wrong? It should be finished by 2023-10-27.Pavel Marek reports a new STANDUP for today (2023-10-27):
Progress: - Reviews
./run
build script.Pavel Marek reports a new 🔴 DELAY for today (2023-10-30):
Summary: There is 7 days delay in implementation of the Upgrade Enso to GraalVM for JDK 21 (#7851) task. It will cause 7 days delay for the delivery of this weekly plan.
Unit tests almost work, locally. We need to fix Rust build scripts, and native image builds, and then check that everything works. Let's hope that one more week is sufficient.
Delay Cause: Let's delay the task for one more week, as discussed
Pavel Marek reports a new STANDUP for today (2023-10-30):
Progress: - Fixing native-image build - struggling with sbt task definitions and their dependencies
Pavel Marek reports a new STANDUP for today (2023-10-31):
Progress: - Native image build fixes
Pavel Marek reports a new STANDUP for today (2023-11-01):
Progress: - Another PR for private module checking disabling fix - #8140
java -jar runner.jar <args>
. It should be finished by 2023-11-03.Pavel Marek reports a new STANDUP for today (2023-11-02):
Progress: - Fixing language server launch from project-manager
, dealing with various class loading issues.
--add-exports
optionsreference.conf
from old runner.jar
to the new runtime.jar
.akka.actor.typed
from new runner.jar
to the new runtime.jar
.runner.jar
and runtime.jar
from runner.jar
- make runner.jar
as thin as possible. It should be finished by 2023-11-03.Pavel Marek reports a new STANDUP for today (2023-11-03):
Progress: - language server can be launched from project-manager
runner.jar
and not in runtime.jar
.
runner.jar
.* In 15 seconds generates 5 GB of logs - the configuration is in `runner.jar` and not in `runtime.jar`. * Now fixing the configuration - runtime module sees different configuration, e.g., for logging, than `runner.jar`.
Pavel, @hubertp shall know what resources need to be read to configure SLF4J in the runtime.jar
properly. The IsolatedClassLoader shall:
org.sfl4j
classes between module path and runner.jar
runner.jar
runtime.jar
are visible to runner.jar
SLF4J implementationgetResource
and getResources
in IsolatedClassLoader
Pavel Marek reports a new 🔴 DELAY for today (2023-11-06):
Summary: There is 7 days delay in implementation of the Upgrade Enso to GraalVM for JDK 21 (#7851) task. It will cause 7 days delay for the delivery of this weekly plan.
Fixing language-server invocation from project-manager
was more difficult than expected.
Delay Cause: The agreed upon delay for additional week.
Pavel Marek reports a new STANDUP for today (2023-11-06):
Progress: - Still fixing log configuration
runner.jar
.Pavel Marek reports a new STANDUP for today (2023-11-07):
Progress: - It seems that the log configuration on my branch was correct for some time, the weird behavior (generation of 5GB of output) can be reproduced on develop.
Pavel Marek reports a new STANDUP for yesterday (2023-11-07):
Progress: - Fixed native image of engine-runner
.
project-manager
and language-server
. It should be finished by 2023-11-10.Pavel Marek reports a new STANDUP for today (2023-11-09):
Progress: - Fixed absolute paths to LanguageHome
in some language-server
tests.
project-manager
, tests in language-server
succeeds locally. It should be finished by 2023-11-10.Pavel Marek reports a new STANDUP for today (2023-11-10):
Progress: - Fixed all project-manager
tests.
project-manager
used some hacks to install engine and create and open projects in it.
launcher
native imagebench-processor
.runtime-version-manager
tests.Pavel Marek reports a new 🔴 DELAY for today (2023-11-13):
Summary: There is 7 days delay in implementation of the Upgrade Enso to GraalVM for JDK 21 (#7851) task. It will cause 7 days delay for the delivery of this weekly plan.
I hope this is the very last delay report for this issue, let's merge it ASAP.
Delay Cause: Tests in project-manager and co. were more difficult to fix than expected, they contained hacks that allowed them to launch the whole language-server. A week delay is a pessimistic estimation, if there are no blockers, it should be merged sooner.
Pavel Marek reports a new STANDUP for today (2023-11-13):
Progress: - Fixing test in runtime-version-manager-test
, project-manager
, etc.
Pavel Marek reports a new STANDUP for today (2023-11-14):
Progress: - Fixed bug in sbt-assembly
- now we can use the newest sbt-assembly
plugin version and no IOException
will be thrown when assembling.
java.sql.Driver
service loading - java.sql.DriverManager
is a bit dump and uses platform class loader to load drivers, so we need to do service loading ourselves. It should be finished by 2023-11-17.Pavel Marek reports a new STANDUP for today (2023-11-15):
Progress: - Fixed bug in Regex - graalvm.regex changed its regex polyglot object representation (groups).
component
directory - fixes more Enso tests.Pavel Marek reports a new STANDUP for today (2023-11-16):
Progress: - Fixing std-benchmarks annotation processor.
org.enso.runtime.HostClassLoader
.truffle-compiler
on module-path as well.
Pavel Marek reports a new STANDUP for today (2023-11-17):
Progress: - Fixed rest of the problems, should be able to merge in the evening.
There is new version of GraalVM for JDK21 since yesterday. Here is some information about Truffle Unchained. The upgrade is going to be tougher this time:
Follow-ups
8313
8294
8290
8280
8314