Commit Graph

98 Commits

Author SHA1 Message Date
marius-kilocode a0c91eb07a fix(ci): restore workflow change annotation 2026-06-03 13:25:36 +02:00
marius-kilocode 02f226d418 chore(ci): remove workflow change marker 2026-06-03 13:23:24 +02:00
marius-kilocode 99407ef83b fix(ci): cap stalled unit jobs at 45 minutes 2026-06-03 13:18:18 +02:00
marius-kilocode 0f271a39d7 resolve merge conflicts 2026-06-01 15:20:54 +02:00
marius-kilocode 7cc6080646 refactor: kilo compat for v1.14.42 2026-06-01 12:51:31 +02:00
kirillk 2d1ff2fd50 ci: parallelize JetBrains checks 2026-05-26 11:14:51 -04:00
kirillk e627d581c1 ci(jetbrains): warm up Gradle wrapper before turbo test:ci on Linux
On a fresh CI runner, multiple Turbo tasks starting in parallel can race
to extract the Gradle wrapper zip, producing ClosedFileSystemException.
Run ./gradlew --version before turbo test:ci to ensure the wrapper is
fully extracted before any parallel task touches it.
2026-05-25 09:31:13 -04:00
kirillk c334e5cc11 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.
2026-05-20 16:03:15 -04:00
Imanol Maiztegui 39affcc140 ci: skip jetbrains tests (#10433) 2026-05-20 08:26:43 +00:00
Kirill Kalishev 8a212afbdd Merge branch 'main' into unleashed-romano 2026-05-15 10:49:23 -04:00
kirillk 2150c68244 fix: annotate Java setup, fix gradlew.bat path, fix flaky test assertions
- Add kilocode_change markers around Java 21 setup in test.yml (required
  by annotation checker for .github/** changes)
- Fix test-ci.ts: use ./gradlew.bat (not bare gradlew.bat) on Windows so
  bun's shell can locate and execute the wrapper script
- Fix HistorySessionActionsTest: delete two items races — use waitFor
  instead of fixed-duration flush so both coroutine deletes complete before
  asserting; sort IDs for ordering-independent comparison
2026-05-15 09:47:23 -04:00
kirillk 78c31d4a74 fix: add Java 21 setup for Windows CI and fix SessionRecoveryTest assertions
- Add setup-java@v4 (temurin 21) step to test.yml so Windows runner has
  the JDK required for Gradle Kotlin compilation
- Fix SessionRecoveryTest: existing-session flow (controller("ses_test"))
  calls showSession() after history load, setting showSession=true;
  update show=false -> show=true in 7 assertSession calls that tested
  this flow
2026-05-15 09:29:28 -04:00
marius-kilocode 6f24f78e51 ci: retry Windows Node setup in tests 2026-05-15 10:06:32 +02:00
Catriel Müller ee3270ce1c ci: bump github actions to versions that natively target Node 24
Covers the "Node.js 20 is deprecated" warning emitted by actions/checkout,
actions/setup-node, actions/cache, actions/upload-artifact and
actions/download-artifact on their older releases.

Every bumped line carries an inline `# kilocode_change` marker since these
workflow files are shared with upstream OpenCode. When upstream bumps its
own action versions we just drop the markers on merge.
2026-05-05 13:03:12 -03:00
Catriel Müller 20428f2630 Revert bumps in upstream-shared workflows to minimize merge conflicts
Keeps the 4vcpu host change in test.yml (already annotated with
# kilocode_change). The Node 20 deprecation warning stays for now;
`FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true` already forces the v4 actions to
Node 24 at runtime, so the warning is informational and CI still works.
Bumping all actions would require 40+ kilocode_change markers across
shared upstream workflows and invite conflicts on every upstream merge —
we'll pick up the version bumps when upstream does.
2026-05-05 12:53:03 -03:00
Catriel Müller 0de07760a7 ci: bump actions to Node 24 and surface flaky tests to the UI
- Bump all active workflows to action versions that natively target Node 24:
  checkout@v6, setup-node@v6, cache@v5, upload-artifact@v7, download-artifact@v8.
  Resolves the "Node.js 20 is deprecated" warning in CI logs. The kept
  `FORCE_JAVASCRIPT_ACTIONS_TO_NODE24` env stays as a no-op safety net (also
  in upstream OpenCode).
- test-runner: when running under GitHub Actions, emit a `::warning::`
  annotation per flaky file and append a markdown table to
  `$GITHUB_STEP_SUMMARY`. mikepenz/action-junit-report already surfaces
  failures from the JUnit XML, but flakies pass cleanly on retry and were
  invisible in the UI.
2026-05-05 12:53:03 -03:00
Catriel Müller 3f5ed52cd3 refactor: include quarantine on the same runner file 2026-05-05 12:53:03 -03:00
Catriel Müller 3d063eb47f test(cli): stabilize flaky unit test CI
- Lower default runner concurrency from `os.cpus().length` to `min(4, cpus)`.
  The bottleneck in CI is shared resources (OAuth callback ports, global
  filesystem like `~/.local/share/kilo`), not CPU, so eight parallel Bun
  processes were triggering port/FS races instead of going faster.
- Raise per-test timeout from 30s to 60s. Slow `spawn` on Windows was
  tripping the 30s limit on tests that were just slow, not broken
  (e.g. `session/prompt.test.ts` at ~86s, `provider/provider.test.ts` at ~54s).
- Retry failing files once and surface them as FLAKY in the summary plus a
  dedicated section. Bugs still fail on every attempt; contention recovers.
- Drop CI runners from 8vcpu to 4vcpu to match upstream OpenCode — with
  concurrency capped at 4, the extra cores bought us nothing.
2026-05-05 12:53:03 -03:00
kiloconnect[bot] 841fafddf4 fix: remove deleted app packages from build config 2026-05-04 15:00:39 +00:00
Imanol Maiztegui aa4deb520c resolve merge conflicts 2026-04-20 11:04:03 +02:00
Johnny Amancio 689f810705 Merge remote-tracking branch 'origin/main' into johnnyamancio/kilo-opencode-v1.4.4 2026-04-16 20:30:42 +02:00
Johnny Amancio 915f12c7e2 resolve merge conflicts 2026-04-15 22:51:15 +02:00
Catriel Müller cee7960ff1 feat: increase vcpu on test 2026-04-15 15:13:16 -03:00
LukeParkerDev 02f8a24e23 Update test.yml 2026-04-14 20:55:42 -04:00
Catriel Müller a3721046be refactor: disable filewatcher on windows 2026-04-14 00:20:50 -03:00
Catriel Müller 52583cd867 fix: test workflow 2026-04-14 00:18:23 -03:00
Catriel Müller 98d60f1763 fix: test workflow concurrency 2026-04-14 00:14:28 -03:00
Catriel Müller ac99bb5fb8 fix: test workflow 2026-04-14 00:11:14 -03:00
Catriel Müller 9eef72a96b fix: git identity 2026-04-13 16:27:27 -03:00
Imanol Maiztegui 6d224ad390 resolve merge conflicts 2026-04-13 19:49:10 +02:00
Imanol Maiztegui f4eaacfa55 resolve merge conflicts 2026-04-13 13:42:50 +02:00
Johnny Amancio b1811147e2 merge: upstream v1.3.0 2026-04-11 14:06:52 +02:00
Catriel Müller 41d7172cc8 fix: vscode i18n 2026-04-10 16:24:02 -03:00
Catriel Müller 8cef732407 resolve merge conflicts 2026-04-10 15:47:19 -03:00
Luke Parker b16ee08fd5 ci use node 24 in test workflow fixing random ECONNRESET (#21782) 2026-04-10 01:00:21 +00:00
Kit Langton 00fa68b3a7 fix(ci): create JUnit output dirs before tests (#20959) 2026-04-03 22:47:20 -04:00
Kit Langton c72642dd35 test(ci): publish unit reports in actions (#20547) 2026-04-03 16:12:01 +00:00
Kit Langton f549fde874 test(app): emit junit artifacts for playwright (#20732) 2026-04-02 15:07:46 -04:00
Kit Langton c3ef69c866 test(app): add a golden path for mocked e2e prompts (#20593) 2026-04-02 18:17:28 +00:00
Kit Langton d9d4f895bc fix(test): auto-acknowledge tool-result follow-ups in mock LLM server (#20528) 2026-04-01 23:47:26 +00:00
Adam 85c16926c4 chore: use paid zen model in e2e 2026-03-31 10:06:44 -05:00
Johnny Amancio 510ff13cd4 chore: Resolve merge conflicts 2026-03-31 12:45:25 +02:00
Luke Parker d460614cd7 fix: lots of desktop stability, better e2e error logging (#18300) 2026-03-20 00:12:06 -04:00
Luke Parker 268855dc5a fix(ci): keep test runs on dev (#17260) 2026-03-13 09:54:34 +10:00
Dax Raad 556703f8ab ci: cancel duplicate workflow runs and add read permissions
- Add concurrency settings to cancel outdated runs when new commits are pushed
- Add contents: read permission for security hardening
- Remove redundant required job that checked test results
2026-03-10 17:17:11 -04:00
kiloconnect[bot] b981ca1902 ci: disable Windows and Linux E2E tests for packages/app
packages/app is not actively maintained so its E2E tests on Windows
and Linux are no longer useful. Disable the e2e job with `if: false`
and remove it from the required gate job's dependencies.
2026-03-02 13:43:27 +00:00
Kevin van Dijk 2b05e4f40b Resolve merge conflicts 2026-02-25 18:34:18 +01:00
Luke Parker 0269f39a17 ci: add Windows to unit test matrix (#14836) 2026-02-24 09:33:33 +10:00
Mark IJbema 216e851a45 Update test workflow to use main branch 2026-02-23 11:06:22 +01:00
Catriel Müller 1eedad9213 Refactor publish workflow and environment variables (#261)
* feat: changelog generation

* refactor: rename all ENV variables to KILO prefix

* refactor: publish rework

* refactor: publish rework

* refactor: unify git commiter action

* refactor: add all kilobots to the team
2026-02-12 09:00:51 +01:00