fix(jetbrains): include JetBrains in repo typecheck/tests and fix serialization failures

Re-enable @kilocode/kilo-jetbrains in bun turbo typecheck (package.json) and
bun turbo test:ci (test.yml). Add Java 21 setup to the typecheck workflow so
Gradle can run. Fix three serialization test failures:

- KiloProfile200Response with null balance / with organizations: Effect's HttpApi
  OpenAPI generator emits balance and currentOrgId as non-nullable even though
  the server schema uses Schema.NullOr. Add fixProfileNullable step to
  OpenApiSpecNormalizer that wraps these fields in anyOf: [{schema}, {type:null}]
  before Kotlin client generation, plus regression tests.

- model limit context and output deserialize with large values (NoSuchMethodError):
  compileTestKotlin was not invalidated when the generated API type changed, leaving
  stale bytecode referencing the old ProviderConfigModelsValueAnyOfLimit class.
  Wire compileTestKotlin -> fixGeneratedApi in backend/build.gradle.kts so API
  regeneration always invalidates test compilation.
This commit is contained in:
kirillk
2026-05-20 16:03:15 -04:00
parent 510b628f11
commit c334e5cc11
6 changed files with 173 additions and 3 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ jobs:
turbo-${{ runner.os }}-
- name: Run unit tests
run: bun turbo test:ci --filter=!@kilocode/kilo-jetbrains # kilocode_change
run: bun turbo test:ci
env:
KILO_EXPERIMENTAL_DISABLE_FILEWATCHER: ${{ runner.os == 'Windows' && 'true' || 'false' }}
+8
View File
@@ -17,5 +17,13 @@ jobs:
- name: Setup Bun
uses: ./.github/actions/setup-bun
# kilocode_change start
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "21"
# kilocode_change end
- name: Run typecheck
run: bun typecheck