Commit Graph

60 Commits

Author SHA1 Message Date
Mikhail Filippov
1a52450b5e bump compiler plugins
GitOrigin-RevId: 5b198d1b9b7d726c792aa1edd065ccd26ee0aab6
2024-10-01 18:24:20 +00:00
Nikolay Rykunov
6547c67d6d [rhizome/rpc] Update compiler plugin version to 2.0.20-0.2
GitOrigin-RevId: bcb0c04076f7b42325de875329e0ed250652e91e
2024-09-27 21:57:44 +00:00
Vladimir Krivosheev
a9e7930abe bazel - build lang-impl
GitOrigin-RevId: c4c4dce20bd6e4046644f95f6e7b3f437c51668d
2024-09-27 13:47:17 +00:00
Vladimir Krivosheev
a1210118c0 bazel - fix JPMS, exports and internal
GitOrigin-RevId: 3dc80a9ee01e1900c0cebc24b2d08f04f93ddeff
2024-09-25 19:05:37 +00:00
Vladimir Krivosheev
4eb9b78b78 use bazel to build platform-impl
GitOrigin-RevId: b5bbc75323a08c7674777e512dcfd988ceb4461f
2024-09-22 17:01:28 +00:00
Vladimir Krivosheev
834bd75254 run jps-to-bazel by Bazel, compile platform using Bazel
GitOrigin-RevId: 3774d5adc404b02036f70b7cc35c9e60fdb5d84c
2024-09-21 00:54:17 +00:00
Mikhail Filippov
3e491bf227 IJPL-161515 bump compiler plugin versions
GitOrigin-RevId: c3e4a168b839b22c1b304774e98523a54e72c900
2024-09-14 16:40:40 +00:00
Nikolay Rykunov
b75a7a5b1e [rhizome] Fix compilation
GitOrigin-RevId: 961d6b1c2640e4f25749579f2c662effcb477f5b
2024-09-13 09:45:17 +00:00
Kate Botsman
609a61704d IJPL-160418 Fix flaky test RestartOfBackendRobotUiTest.gw deploy and restart of backend part 2
Provide CoroutineScope instead of CoroutineContext in KernelService to ensure that services which use Kernel will depend on this scope.

GitOrigin-RevId: b33a4a059dce0ac0669f7192b2fcefd6d3963858
2024-09-13 09:45:17 +00:00
Kate Botsman
0cd326c520 IJPL-160418 Fix API usage after rebase
GitOrigin-RevId: 1a1474c6ad4a12b0920e81bb4289dd43360afb03
2024-09-13 09:45:16 +00:00
Kate Botsman
4094cb7663 IJPL-160418 Fix project leak in tests by enforcing latest change flush
When `ProjectEntity` is deleted with `LocalProjectEntity` all its data stored inside `Novelty` which represents the difference between two DB snapshots (before and after the change).

Therefore, `Project` has an active reference which doesn't allow it to be collected by GC.

`testProjectLeak` checks that all project instances are collected and it fails.

The workaround here is to invoke another change after removing the project entity, which will replace the old `Novelty` with a new one, thus removing the active reference to a project.

GitOrigin-RevId: eafde042b865c503958ec7c2e73a5c056f944ac7
2024-09-13 09:45:16 +00:00
Mikhail Filippov
f13d92e82f IJPL-150165 switch to invoke dynamic lambdas in Kotlin
GitOrigin-RevId: 63ba45a21874cc723917982996fce1a510b2a182
2024-09-05 11:19:31 +00:00
Alexander Shparun
66775ae491 [fleet] rhizomedb-compiler-plugin:2.0.0-0.23
fixes incremental compilation issue seen on runtime as "entity type not found"

GitOrigin-RevId: afb988fa8323857b10ac26f72185adfab33ac474
2024-09-05 00:16:14 +00:00
Vladimir Koshelev
d59de51577 [rhizomedb] use transactor.changeAsync for registering an entity type to avoid races
GitOrigin-RevId: c64f8a7fc114c3752230c958d1918bf6f893ad75
2024-09-02 18:07:43 +00:00
Valery Teplyakov
6e9ea7f354 [fleet, rhizome] Rhizomedb 0.21 -> 0.22
GitOrigin-RevId: 09031367563016ab6b0f572fc34171e7bb3811d1
2024-09-02 13:55:53 +00:00
Andrey Zaytsev
b4cad9c6ef IJPL-150165 [fleet] avoid registering Entity.eid as an attribute
GitOrigin-RevId: 47c04bc657aa0af3e117dbe1b24180111e2ad71a
2024-08-30 22:15:56 +00:00
Mikhail Filippov
5ab2a6b076 IJPL-150165 update rpc-compiler-plugin
GitOrigin-RevId: ae85eb9ae0befb576739d48e37a0a36566cf5776
2024-08-30 22:15:55 +00:00
Mikhail Filippov
bf43f2fc01 IJPL-150165 bump Kotlin language and API version
GitOrigin-RevId: a59dc8ca214a5047773fccf1cf28a1e1b07acf68
2024-08-30 22:15:55 +00:00
Mikhail Filippov
9a264c6686 IJPL-150165 upgrade Kotlin compiler to 2.0.0
GitOrigin-RevId: 692902f83ee871cc24abc0e742b05b37405da002
2024-08-30 22:15:55 +00:00
Daniil Ovchinnikov
e21c62f888 IJPL-158930 use source dependencies instead of libraries
GitOrigin-RevId: 1e3eadc80f542a6d46336c34b8e8d04a9f33c231
2024-08-30 18:07:30 +00:00
Valery Teplyakov
4425507e53 [fleet] Bump rhizomedb compiler plugin version
GitOrigin-RevId: 8ec6bc7dbd067070f379bb6a31611e3d1a188071
2024-08-29 20:57:54 +00:00
Daniil Ovchinnikov
ef2731ce45 IJPL-158933 register plugin entities
GitOrigin-RevId: 5913c517d4171cc3f618e6de14d59e7dc2733f89
2024-08-27 20:05:55 +00:00
Daniil Ovchinnikov
5812bdb7df IJPL-158933 register plugin entities
GitOrigin-RevId: c3101cd15751306885a77f31eac722573a78f566
2024-08-27 15:30:26 +00:00
Daniil Ovchinnikov
22013a03a0 IJPL-872 synchronously await kernel coroutine context
GitOrigin-RevId: 7a92c85f2896fa970a5229d1f9d93689dcb6715d
2024-08-23 20:06:06 +00:00
Daniil Ovchinnikov
a71fbc56f2 IJPL-872 expose Deferred context in KernelService
GitOrigin-RevId: 4d769fd70364217b19e2a5fd6352123be1fcb794
2024-08-22 16:15:28 +00:00
Daniil Ovchinnikov
952fc502a0 IJPL-872 remove KernelService.kernel
GitOrigin-RevId: ebdfcf8c1b28be4cd561092015b0de271dc4cb64
2024-08-22 16:15:28 +00:00
Daniil Ovchinnikov
2922bbf586 IJPL-872 add withKernel entry point to avoid dealing with coroutine contexts
GitOrigin-RevId: 5710e62d5cf46c67ded0895dc9dede2ed2654d50
2024-08-22 16:15:28 +00:00
Daniil Ovchinnikov
67da24e87c IJPL-872 clearThreadBoundDbContext once the Kernel.log subscription expires
GitOrigin-RevId: d8f98e861d43df1c933abfe5ab779e1a0f4ede7f
2024-08-20 16:54:23 +00:00
Daniil Ovchinnikov
c4adccbbce IJPL-872 use Kernel.log instead of Kernel.subscribe
GitOrigin-RevId: ab0e86896b1b5bbbcf928e2c4647a3c3529f7c29
2024-08-20 16:54:23 +00:00
Daniil Ovchinnikov
c95d039ff8 IJPL-872 upgrade rpc/kernel to the latest version
GitOrigin-RevId: 9f3efd818065a33ded857341af2a5935bf249ee1
2024-08-15 13:17:42 +00:00
Daniil Ovchinnikov
50f5ef50cd IJPL-872 temporarily bring back the rhizome compiler plugin
GitOrigin-RevId: 630609273625e0f9d9d27aafad2cbb9b6ff80205
2024-08-15 09:52:27 +00:00
Daniil Ovchinnikov
8f2576b8de IJPL-872 replace RemoteApiProvider.RemoteApiDescriptor with Sink
GitOrigin-RevId: 3c3d30f9c3e677002d030ea30a774f1d6b3263c1
2024-08-15 09:52:27 +00:00
Daniil Ovchinnikov
490afa9d3e IJPL-872 get rid of runBlocking in KernelService implementations
GitOrigin-RevId: a0ec4be885d32c5ce12cb7bc112901de903c9f73
2024-08-15 09:52:26 +00:00
Daniil Ovchinnikov
ead805bbbf IJPL-872 remove KernelService.saga
GitOrigin-RevId: 8fe35171f6e6256b2b26f6a22de7cb0fc108a379
2024-08-15 09:52:26 +00:00
Daniil Ovchinnikov
68cd63e7d3 IJPL-872 migrate test model to the new entity API
GitOrigin-RevId: 18896a862707d9e62d26b3e5350844d4c9b71695
2024-08-15 09:52:26 +00:00
Daniil Ovchinnikov
9f1716a2ad IJPL-872 fix races in kernel initialization: publish kernel context after everything is ready
GitOrigin-RevId: 2402056b9a8d3140a3cf298d083e6c11cb2fdfa4
2024-08-15 09:52:26 +00:00
Daniil Ovchinnikov
4766dcb03a IJPL-872 save original DbSource from kernel context, don't reconstruct it
GitOrigin-RevId: 54bb616dc81bc14592c21a804b518faa69e35487
2024-08-14 18:16:37 +00:00
Daniil Ovchinnikov
548a0303bc IJPL-872 get rid of runBlocking in BackendKernelService constructor
GitOrigin-RevId: 32f8111e16b5158cf2aa7c9cdfc093c2b8220b3d
2024-08-14 18:16:37 +00:00
Daniil Ovchinnikov
24b9027621 IJPL-872 get rid of runBlocking in FrontendRemoteApiProviderService constructor
GitOrigin-RevId: 4c4c8bb08665a638f0aec5e36c759c5e49f2ed93
2024-08-14 18:16:37 +00:00
Daniil Ovchinnikov
df02d001e7 clean up
GitOrigin-RevId: beda096a0d74c697b1c6720efe64cad0aba5b35c
2024-08-13 19:20:32 +00:00
Daniil Ovchinnikov
649f4107f4 implement RpcServiceLocator in RemoteApiRegistry
GitOrigin-RevId: 721a81c4658de849b0e434270ef29fc1bb3a1073
2024-08-13 19:20:32 +00:00
Daniil Ovchinnikov
e1dea14056 bring fleet.rpc.server with intellij.platform.rpc.backend instead of intellij.platform.rpc.split
GitOrigin-RevId: 8cb99393600335df2e8c51a8a905d695664ae269
2024-08-13 19:20:32 +00:00
Daniil Ovchinnikov
bceba0fbef clean up
GitOrigin-RevId: 6187888618ec12f484273524c1eff9983ef38e7e
2024-08-13 11:57:39 +00:00
Daniil Ovchinnikov
589b0c4031 extract intellij.platform.rpc.backend module
GitOrigin-RevId: aec81e745e0eae8e0c8d961321ed73071b676f25
2024-08-13 11:57:39 +00:00
Daniil Ovchinnikov
806e968ae3 clean up
GitOrigin-RevId: e13b43c7790955c6f6dffc0ad01865f83540affe
2024-08-12 23:20:23 +00:00
Daniil Ovchinnikov
13550ab3d4 move IJ-to-Fleet logger to intellij.platform.rpc
GitOrigin-RevId: 9c3fa17bfd85007eba38af66f7c06d4aa29dd20f
2024-08-12 23:20:23 +00:00
Daniil Ovchinnikov
781048da4d extract intellij.platform.rpc module
GitOrigin-RevId: bc95e8b198e511a0be2a4c9c97d3ad7dda7daf09
2024-08-12 23:20:23 +00:00
Kate Botsman
733dd1a469 intellij.platform.kernel as a simple module (rather than V2 plugin)
This module is a core component of Rhizome - it's required for any interaction with Rhizome DB, creating entities, etc.
It was a V2 plugin as we wanted to make sure that only new V2 plugins will be able to use this.

We expected that it won't be much of a struggle, considering that every feature that would want to use Rhizome is going to be split into shared/backend/frontend modules (which could be V2 from the start).
However, we faced the issue that it's not possible to move some public API to V2 modules because it breaks backward compatibility, and therefore this API cannot depend on V2 module.

The first such issue was rewriting the progresses on Rhizome (RDCT-1444).
It's possible to create some interlayers to make it work without breaking compatibility and keeping kernel V2, but it was decided that it isn't worth it in such cases.

GitOrigin-RevId: 0488ca905bd145b2c3b6b2fa8481fa59b9f76529
2024-08-05 16:42:57 +00:00
Yann Cébron
6e1285e760 plugin descriptors: remove obsolete suppression comments for 'PluginXmlValidity' inspection
GitOrigin-RevId: 25a17cf82be4c35d4e12472e392aea15b55ea105
2024-07-16 18:55:00 +00:00
Sergei Sysoev
84d1dba653 [fleet] FL-24937 update rhizome compiler plugin in imls
GitOrigin-RevId: 75e31e60f7f47709276ce4d829d5b33abae87823
2024-06-12 18:18:50 +00:00