enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.31k stars 318 forks source link

Remove akka dependencies from `runtime` project #8222

Closed Akirathan closed 4 months ago

Akirathan commented 8 months ago

runtime project, and thus runtime.jar fat jar, transitively contains akka dependencies, for example from runtime --> downloader --> akka. We should remove akka from downloader and implement the downloading by some simple http component from JDK (or Scala's standard library).

akka is unnecessarily heavy-weight, it comprises of a lot of classes that are loaded just because of few simple HTTP requests.

### Tasks
- [x] Ensure there is are no `akka` classes in `runtime.jar`
- [x] Remove `akka` from `downloader` (#8953)
- [x] Split `connected-lock-manager` into two projects
enso-bot[bot] commented 5 months ago

Pavel Marek reports a new STANDUP for today (2024-02-02):

Progress: - Started to look into how to remove the akka dependencies from various places under runtime project.

GitHub
Better `runEngineDistribution --run test/Base_Tests "filter"` by JaroslavTulach · Pull Request #8940 · enso-org/enso
Closes #8601 Pull Request Description This PR provides following fixes: speed runEngineDistribution up by proper time stampingruntime.jar and avoiding it to be re-built with every execution allow...
enso-bot[bot] commented 5 months ago

Pavel Marek reports a new STANDUP for today (2024-02-08):

Progress: - Seems like I am almost done with the migration to JDK HTTP client and virtual thread executor.

enso-bot[bot] commented 5 months ago

Pavel Marek reports a new STANDUP for today (2024-02-09):

Progress: - library-manager-test already passes.

enso-bot[bot] commented 4 months ago

Pavel Marek reports a new STANDUP for yesterday (2024-02-12):

Progress: - Creating tests and implementing task progress

enso-bot[bot] commented 4 months ago

Pavel Marek reports a new 🔴 DELAY for today (2024-02-15):

Summary: There is 10 days delay in implementation of the Remove akka dependencies from runtime project (#8222) task. It will cause 10 days delay for the delivery of this weekly plan.

Will probably have to refactor that PR to use Apache HttpClient instead of pure JDK.

Delay Cause: Issue with native image build on Windows, also, peers don't like the custom usage of JDK

enso-bot[bot] commented 4 months ago

Pavel Marek reports a new STANDUP for today (2024-02-15):

Progress: - native image build of launcher is failing on Windows, but works on Linux.

enso-bot[bot] commented 4 months ago

Pavel Marek reports a new STANDUP for today (2024-02-16):

Progress: - Still cannot figure out the native image build failure on Windows.

enso-bot[bot] commented 4 months ago

Pavel Marek reports a new STANDUP for today (2024-02-19):

Progress: - The build failure on the Windows was caused by the cmd line being too long.