Commit Graph

28 Commits

Author SHA1 Message Date
Alexander Zolotov
f2b03dbb7e [fleet] reimplement AiAuthError with the new rhizome api
GitOrigin-RevId: 59b80145b772a76b296367c1dcf50fd9a5ce297b
2024-10-09 11:11:52 +00:00
Andrey Zaytsev
29bf8c213c [fleet] temporary measure to fix short-circuit run configuration
somehow DbContext.threadLocal stuck on UI thread after some previous tests, resulting in poisoned DbContext on the thread of db-free tests. DbContext.isBound returns true, and consequent db reads fail with poison-exception, resulting in massive test failures.

GitOrigin-RevId: 2dc6b487761ab408bc1b78e49558424c89e8abd5
2024-10-04 19:58:45 +00:00
Alexander Zolotov
96b933e241 [fleet] use an unlimited channel while processing db changes in rete
GitOrigin-RevId: 1a1be92e2c902e4fead807a9dd07b51e4d045cd4
2024-10-02 16:52:52 +00:00
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
Alexander Shparun
358bf40a71 [fleet] remove durable from launchOnEachEntity
- it was considered a safe default, but people are surprised by unexpected retries
- it is inconsistent with Query.launchOnEach and other query terminators e.g. collect

GitOrigin-RevId: 109c5a8e961bd00b50155767f78abe08e5531c77
2024-09-25 22:42:51 +00:00
Vladimir Krivosheev
a1210118c0 bazel - fix JPMS, exports and internal
GitOrigin-RevId: 3dc80a9ee01e1900c0cebc24b2d08f04f93ddeff
2024-09-25 19:05:37 +00:00
Andrey Zaytsev
897f79bfc4 [fleet] major (This is a combination of 5 commits)
[fleet] throw new exception on attempt to access poisoned DbContext to see the access stacktrace

[fleet] FL-29872 Failed to navigate to NavigationParameters: 'Resource didn't emit'

safer version of resource constructor

[fleet] preserve exception kind

[fleet] rebase

[fleet] FL-29573 Argument covariance in EntityAttribute allows to write incorrect code

GitOrigin-RevId: 2f1937bc18efb4031f8420d7290550291a3db30c
2024-09-23 01:27:54 +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
Titouan Bion
6c9df4d083 [fleet] Migrate build.gradle.kts close to imls (actual migration)
(cherry picked from commit f9500472c3aaab65af9a9b4503fd660a42733b14)

FLEET-MR-5097

GitOrigin-RevId: 5255a7dc692bc4b680205bef947d8d4af7eed7b7
2024-09-19 21:51:43 +00:00
Alexander Shparun
6d0c9c150c [fleet] minor
GitOrigin-RevId: 768743af944ecc45bae2880bc7bf1ce0564887f3
2024-09-16 05:59:36 +00:00
Mikhail Filippov
3e491bf227 IJPL-161515 bump compiler plugin versions
GitOrigin-RevId: c3e4a168b839b22c1b304774e98523a54e72c900
2024-09-14 16:40:40 +00:00
Kate Botsman
a4effe8aa5 IJPL-160418 Fix flaky test RestartOfBackendRobotUiTest.gw deploy and restart of backend
If the frontend receives an event, "stream_closed" with an exception (except for `CancellationException`), it shuts down kernel.
This leads to inability to recover after such disconnect.

In Fleet thrown `RuntimeException` indicates that something is wrong with a setup because the cancellation order is determined.
In the case of Intellij, this exception happens because we cancel only top-level coroutine scope and order of children cancellation is unknown.

Instead of closing the channel in `invokeOnCompletion`, it can be closed in finally after subscribed has been canceled.
This way we do both: support cancellation from above (intellij case) and ensure there is no out-of-scope subscription (fleet case)

GitOrigin-RevId: 3fa7c670bad7a81e404997a1a2d9fb3572c94125
2024-09-13 09:45:16 +00:00
Clément de La Bourdonnaye
832ebcacd5 [fleet] replace shared with withDefaultPart in places newShared was migrated automatically
This was raising `attempted to query hidden partition: 4, allowed parts: [0, 2, 1]` issues depending on implementation

Also update the inspection to avoid further erroneous migration

GitOrigin-RevId: 89aa306fddd8f7207766da426bce4515395a83aa
2024-09-09 11:21:01 +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
Alexander Shparun
375362a1c5 [fleet] thread context element has no right to throw
GitOrigin-RevId: 5f098a78d5dfc7a5de281a0c9ee4ebed725a8112
2024-09-05 00:16:14 +00:00
Alexander Shparun
46a7c0c30f [fleet] replace check with warn for now
the assertion revealed issues in unexpected places

GitOrigin-RevId: b0b9915c93a66f100a33095da751a6a259c6aca1
2024-09-05 00:16:14 +00:00
Alexander Zolotov
27d041b6e6 [fleet] remove reflection from kernel
GitOrigin-RevId: 28d03a86c7a47b09032b33f802653f36e778b37f
2024-09-04 15:58:53 +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
860837cd20 [fleet] throw CE on transactor termination
GitOrigin-RevId: c2a70c26a4c2a35f13c13c00e4c14b4df6f8c7c9
2024-08-30 18:07:30 +00:00
Daniil Ovchinnikov
082111eb3e IJPL-158930 move Fleet's kernel/rpc modules and their dependencies to community/fleet
GitOrigin-RevId: be5ac03d8786808b82bdcca580a62cf47324c31c
2024-08-30 18:07:30 +00:00