Commit Graph

862 Commits

Author SHA1 Message Date
markijbema 76fc40257d fix(ci): harden approval gate reevaluation
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-18 14:42:56 +00:00
markijbema 483fa224a2 fix(ci): annotate approval policy test
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-18 14:37:10 +00:00
markijbema e052c95fe6 feat(ci): enforce engineering approvals without review requests
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-18 14:33:02 +00:00
markijbema 5d8e78be4c chore(config): use engineering team for code ownership
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-18 14:01:44 +00:00
markijbema 89ef1a6100 chore(config): update CODEOWNERS to require engineering approval
Require an engineering owner for all repository changes by updating the global ownership pattern. Documentation-only changes remain restricted to the docs team.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-18 13:48:56 +00:00
Imanol Maiztegui b46a40d537 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.15.9 2026-06-18 13:09:27 +02:00
Mark IJbema 37d88a0f86 Merge pull request #11342 from Kilo-Org/ci/jetbrains-use-container
ci(jetbrains): run inside pre-built container, drop manual setup steps
2026-06-18 10:24:00 +02:00
Josh Lambert 9ec1beb6e1 ci: cache console production build 2026-06-17 17:07:10 -04:00
Josh Lambert 89b1829199 fix(cli): declare console diff dependency 2026-06-17 16:33:08 -04:00
Imanol Maiztegui 6b6b04bd96 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.15.9 2026-06-17 20:05:58 +02:00
kirillk 05ed4b6a70 ci(jetbrains): install deps before publish build 2026-06-17 12:46:57 -04:00
markijbema 68c7755f26 ci(jetbrains): rely on image-provided JBR libraries
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-17 16:02:01 +00:00
Imanol Maiztegui d5f1495f12 refactor(build): remove sidecar models-snapshot distribution
The models snapshot is now embedded directly in the compiled binary,
eliminating the need for a separate models-snapshot.json file alongside
the CLI executable.

- Delete script/kilocode/models-snapshot.ts build-time preparation
- Delete src/kilocode/provider/models-snapshot.ts runtime loader
- Remove snapshot copy steps from vscode, jetbrains, and opencode builds
- Remove snapshot existence checks from PrepareLocalCliTask/CheckCliTask
- Remove snapshot-related .gitignore and .prettierignore entries
- Simplify watch-cli, local-bin, and build scripts
- Update smoke test error messages to say "embedded" not "sidecar"
- Simplify models-snapshot tests to validate parsing only
- Remove models-snapshot from extract-source-links skip list
2026-06-17 17:03:15 +02:00
markijbema f40302719b ci(jetbrains): refresh apt indexes before installing font libraries
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-17 14:15:24 +00:00
markijbema c1bef8604a ci(jetbrains): install font libs needed by JBR inside container
The JetBrains Runtime bundled with IntelliJ ships libfontmanager.so
but expects libfreetype.so.6 and libfontconfig1 on the host system.
The container image currently lacks these, causing UnsatisfiedLinkError
in any test that initialises Swing font metrics.

Install them explicitly until the updated container image (which will
include these packages in the Dockerfile) is available.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-17 13:17:00 +00:00
markijbema 0b267c6bff ci(jetbrains): install bun dependencies inside container
The container image has bun pre-installed but not the project's
node_modules.  Gradle's generateOpenApiSpec task runs 'bun dev generate'
which needs drizzle-orm and other packages from node_modules.

Add an explicit 'bun install' step after checkout.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-17 13:03:05 +00:00
markijbema af370bd56b ci(jetbrains): run inside pre-built container, drop manual setup steps
Switch the JetBrains unit job to run inside
ghcr.io/kilo-org/build/jetbrains:24.04, which already contains Bun,
Java 21, and the Gradle 9.4.1 distribution pre-cached in
GRADLE_USER_HOME.  The three manual setup steps (bun, java, gradle)
are no longer needed and are removed.

A 'Mark workspace as git-safe' step is added after checkout because
container jobs mount the workspace from the host with different file
ownership.  Git exit-128 errors otherwise occur when Gradle spawns a
'git tag' subprocess (build.gradle.kts:85).

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-17 07:21:19 +00:00
Mark IJbema ab1e5b836d ci: extract JetBrains test workflow 2026-06-17 06:34:21 +00:00
Mark IJbema cf820cdb82 Merge pull request #11306 from Kilo-Org/ci/use-prebuilt-jetbrains-container
ci: add jetbrains container image and fix containers.yml trigger
2026-06-17 08:19:12 +02:00
Mark IJbema 53102237df Merge pull request #11293 from Kilo-Org/mark/filter-jetbrains-tests
ci: skip unrelated JetBrains tests
2026-06-16 16:45:13 +02:00
Mark IJbema 38f33f1a3c ci: drop no-op docs/** filter exclusion
There is no top-level docs/ directory in the repo (docs live under
packages/kilo-docs/, already excluded), so the '!docs/**' entry never
matched anything. Remove the dead filter line.
2026-06-16 16:29:57 +02:00
markijbema 4a0117500e ci: annotate containers.yml branch change with kilocode_change
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-16 12:58:27 +00:00
markijbema 5686915e01 ci: add jetbrains container image and fix containers.yml trigger
- Add packages/containers/jetbrains/Dockerfile extending bun-node with
  Java 21 (apt-get, multi-arch safe) and Gradle 9.4.1 pre-cached in
  GRADLE_USER_HOME so the wrapper skips the network download
- Register the new image in build.ts (after bun-node, before rust) and
  update README
- Fix containers.yml branch trigger: dev → main so images are actually
  published from the default branch on every relevant push

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-16 12:55:41 +00:00
Mark IJbema e49e5fef21 ci: keep existing VS Code path filters 2026-06-16 12:35:16 +00:00
Mark IJbema dca49f29b6 chore(ci): mark VS Code workflow as Kilo-only 2026-06-16 11:37:25 +00:00
Mark IJbema 3095d990bb fix(ci): let paths-filter select event base 2026-06-16 10:13:22 +00:00
Mark IJbema 42ceb15e53 ci: filter editor-specific test suites 2026-06-16 10:06:16 +00:00
Mark IJbema e6d2994651 fix(ci): use built-in JetBrains change detection 2026-06-16 09:45:19 +00:00
Mark IJbema 8b2612fa1d ci: skip unrelated JetBrains tests 2026-06-16 09:40:51 +00:00
Mark Bema 01359fc52a ci: disable upstream issue maintenance workflows 2026-06-16 09:12:21 +00:00
Mark Bema f6fe95d529 ci: restore disabled triage workflow from upstream 2026-06-16 09:08:52 +00:00
Mark Bema a49bcb7ed8 ci: disable automatic issue triage 2026-06-16 08:54:31 +00:00
V Keerthi Vikram 8baf3e3138 fix(ci): skip watch-opencode-releases on forks (#11269)
The schedule trigger fires on every repo where the file exists,
including contributor forks. Forks don't have access to
OPENCODE_WATCH_SLACK_WEBHOOK, so the Slack step fails. The previous
vars.OPENCODE_WATCH_ENABLED guard evaluated to true on forks (empty
!= 'false'), so it didn't protect anything.

Add the same github.repository == 'Kilo-Org/kilocode' guard used by
18 other workflows in this repo.
2026-06-15 19:43:44 +02:00
Johnny Eric Amancio b90ab85c3b ci: clarify auto-close reopen message (#11163) 2026-06-12 16:18:45 +02:00
Johnny Eric Amancio 50b249e498 fix: improve auto close filter logic (#11119) 2026-06-11 20:26:37 +00:00
marius-kilocode d6cde9fc4a Merge remote-tracking branch 'origin/main' into marius-kilocode/kilo-opencode-v1.14.51 2026-06-10 10:49:54 +02:00
Johnny Eric Amancio 7f84c13bce feat: add Kilo auto close workflow isolated from upstream (#11040) 2026-06-09 16:09:09 +02:00
marius-kilocode 1d23dc2171 resolve merge conflicts 2026-06-09 10:17:21 +02:00
marius-kilocode 6ecaaab48a refactor: kilo compat for v1.14.51 2026-06-09 08:29:02 +02:00
Marius ad93990ca9 fix(ui): restore pointer cursors for clickable controls (#10999)
* fix(ui): restore pointer cursors for clickable controls

* fix(ci): raise VS Code Storybook heap limit

* fix(ci): extend heap to visual test server
2026-06-08 16:32:49 +00:00
Josh Lambert 636586a3e2 ci: apply Storybook heap limit to visual job 2026-06-08 11:58:55 -04:00
Josh Lambert 0d6f263bdd ci: raise VS Code Storybook heap limit 2026-06-08 11:52:08 -04:00
Catriel Müller 17f5619c59 refactor: flag intel mac 2026-06-05 17:57:39 -03:00
Catriel Müller f7970c99ed fix(cli): prevent Bun ESM splitter crash and Alpine musl validation
Two independent release validation failures introduced by kilo-opencode-v1.14.33 (morphsdk) and the new all-arch validation jobs.

**@morphllm/morphsdk pre-split ESM (intermittent SyntaxError on Windows)**

@morphllm/morphsdk/tools/warp-grep/client ships as a 805-byte ESM barrel that
re-exports from 13 internal chunk-*.js files (52 chunks total). When Bun 1.3.14
bundles the CLI with splitting+minify enabled, merging these external pre-split
chunks into its own chunk graph intermittently produces invalid minified ESM:

  SyntaxError: Exported binding 'G9' needs to refer to a top-level declared variable.

Non-deterministic because Bun's parallel bundler uses different orderings per run;
same build sometimes succeeds, sometimes fails on Windows x64.

Fix: load morphsdk via createRequire (forces CJS bundle, client.cjs 2292 lines,
self-contained) instead of the ESM barrel. Wrapper lives in kilocode/compat/ with
a comment explaining how to detect and fix this pattern for future third-party deps.

Scanned all 40+ third-party packages imported by packages/opencode/src — morphsdk
is the only one with pre-split ESM; all others ship single-file ESM or CJS only.

**Alpine musl validation (libstdc++/libgcc missing)**

Bun's musl target (bun-linux-{arch}-musl) is not fully static — it links against
libstdc++.so.6 and libgcc_s.so.1 (GCC C++ runtime). Alpine base does not ship
these by default. The fix adds apk add --no-cache libstdc++ libgcc at the start of
the Alpine Docker smoke test, matching the runtime requirement that any Alpine user
of the CLI would also need.
2026-06-05 15:10:16 -03:00
Catriel Müller 78117d1a25 fix: validate CLI models snapshot before release builds 2026-06-05 09:28:40 -03:00
Josh Lambert 254b070bb0 ci: limit CLI artifact validation to version 2026-06-04 22:55:22 -04:00
Josh Lambert 8295ab3096 ci: validate Linux CLI release artifacts 2026-06-04 22:52:27 -04:00
Josh Lambert 6cab5f18e7 fix(cli): isolate release target builds 2026-06-04 22:40:06 -04:00
Imanol Maiztegui 57627c2e80 ci(codeql): split Kotlin analysis into dedicated workflow (#10869)
Extract java-kotlin language analysis from the shared CodeQL Advanced
workflow into a dedicated codeql-kotlin.yml workflow. This allows the
Kotlin analysis (which requires Java, Gradle, and a manual build) to
run independently with path filtering on packages/kilo-jetbrains,
reducing unnecessary CI runs for unrelated changes.

- Add new codeql-kotlin.yml with path-scoped triggers
- Remove java-kotlin from the matrix in codeql.yml
- Simplify codeql.yml by removing conditional Java/Gradle setup steps
- Register codeql-kotlin.yml in check-workflows.ts active set
2026-06-03 10:53:05 -04:00
marius-kilocode a0c91eb07a fix(ci): restore workflow change annotation 2026-06-03 13:25:36 +02:00