enso/lib/scala
Hubert Plociniczak 3e615f385b
Improve shutdown logic of language server (#7801)
* Improve shutdown logic of language server

This PR addresses problems mentioned in #7470 and #7729:
- shutting a language server explicitly will not lead to a soft shutdown
- `project/status` endpoint returns the state of the language server

`LanguageServerController` now also signed up for `ClientConnect`
messages. For it to be unambiguous, we need to carry around the port
number of the language server as a way of identifying the right one.

One can now use `project/status` to additionally determine the state of
the language server.

Also relies on a proper fix for #7765.

* changelog

* PR comments
2023-09-22 12:05:44 +02:00
..
akka-native/src/main enso4igv can open engine/language-server & co. projects (#4098) 2023-01-31 08:40:04 +00:00
bench-processor/src Add std-libs benchmarks GH workflow (#7597) 2023-08-23 12:18:36 +02:00
cli/src Replace a custom logger with off the shelf implementation (#7559) 2023-09-04 09:40:16 +00:00
common-polyglot-core-utils/src/main/java/org/enso/polyglot/common_utils Convert in-memory Column.round to Java (#7521) 2023-08-16 14:45:23 +00:00
connected-lock-manager/src enso4igv can open engine/language-server & co. projects (#4098) 2023-01-31 08:40:04 +00:00
distribution-manager/src/main Download single edition by name (#7771) 2023-09-18 15:11:11 +00:00
downloader/src enso4igv can open engine/language-server & co. projects (#4098) 2023-01-31 08:40:04 +00:00
edition-updater/src Download single edition by name (#7771) 2023-09-18 15:11:11 +00:00
edition-uploader/src/main enso4igv can open engine/language-server & co. projects (#4098) 2023-01-31 08:40:04 +00:00
editions/src Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
filewatcher/src Disable file watcher in VcsManagerTest suite (#7421) 2023-07-31 09:26:20 +00:00
interpreter-dsl/src/main/java/org/enso/interpreter/dsl Encapsulate TruffleLanguage.Env in EnsoContext (#7842) 2023-09-20 11:30:44 +02:00
json-rpc-server Improve shutdown logic of language server (#7801) 2023-09-22 12:05:44 +02:00
json-rpc-server-test Initialize Language Server's JSON RPC protocol asynchronously (#7232) 2023-07-07 11:49:23 +00:00
library-manager/src Change layout of local library search path in order to be able to move Round_Spec.enso back to Tests (#7634) 2023-09-01 20:20:04 +00:00
library-manager-test/src Replace a custom logger with off the shelf implementation (#7559) 2023-09-04 09:40:16 +00:00
locking-test-helper/src/main enso4igv can open engine/language-server & co. projects (#4098) 2023-01-31 08:40:04 +00:00
logger enso4igv can open engine/language-server & co. projects (#4098) 2023-01-31 08:40:04 +00:00
logging-config/src/main/java/org/enso/logger Replace a custom logger with off the shelf implementation (#7559) 2023-09-04 09:40:16 +00:00
logging-service/src/main/java/org/enso/logging Replace a custom logger with off the shelf implementation (#7559) 2023-09-04 09:40:16 +00:00
logging-service-logback/src/main/java/org/enso Replace a custom logger with off the shelf implementation (#7559) 2023-09-04 09:40:16 +00:00
logging-truffle-connector/src/main Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
logging-utils/src Replace a custom logger with off the shelf implementation (#7559) 2023-09-04 09:40:16 +00:00
logging-utils-akka/src/main Replace a custom logger with off the shelf implementation (#7559) 2023-09-04 09:40:16 +00:00
pkg Change layout of local library search path in order to be able to move Round_Spec.enso back to Tests (#7634) 2023-09-01 20:20:04 +00:00
profiling-utils/src/main enso4igv can open engine/language-server & co. projects (#4098) 2023-01-31 08:40:04 +00:00
project-manager Improve shutdown logic of language server (#7801) 2023-09-22 12:05:44 +02:00
refactoring-utils/src Renaming Variable or Function Support (#7515) 2023-08-10 21:16:33 +00:00
runtime-version-manager/src Replace a custom logger with off the shelf implementation (#7559) 2023-09-04 09:40:16 +00:00
runtime-version-manager-test/src Update GraalVM to 17.0.7 (23.0.0 JDK17) (#7176) 2023-07-20 15:11:30 +00:00
searcher/src Static parameter in search/completion request affects only methods (#7831) 2023-09-19 15:12:23 +00:00
syntax Moving construction of IR into runtime parser project (#7096) 2023-06-24 06:34:21 +02:00
task-progress-notifications/src/main/scala/org/enso/cli/task/notifications Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
testkit/src/main Change layout of local library search path in order to be able to move Round_Spec.enso back to Tests (#7634) 2023-09-01 20:20:04 +00:00
text-buffer/src Add more debugging info to a failed apply edit (#7668) 2023-08-28 14:45:45 +00:00
version-output/src/main Log project manager version on startup (#7646) 2023-08-24 16:45:22 +00:00