823 Commits
Author SHA1 Message Date
Mark IJbema 1d6a3c4837 Merge pull request #11409 from Kilo-Org/ci/test-cache-ab
ci: reduce test workflow setup time
2026-07-08 13:40:46 +02:00
kirillk 4fff14dc29 fix(jetbrains): align runtime CLI download release flow 2026-07-06 16:58:43 -04:00
kirillk 38488b729c fix(jetbrains): allow release publish recovery 2026-07-02 15:41:24 -04:00
markijbemaandkiloconnect[bot] 078f4dba0f Merge remote-tracking branch 'origin/main' into mark/fix-random-test-failures
# Conflicts:
#	.github/workflows/visual-regression.yml

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-07-02 06:38:23 +00:00
markijbemaandkiloconnect[bot] 1074100910 chore(ci): drop unused is_fork workflow output
Every downstream visual-regression job now gates on can_autocommit; nothing consumes the check-paths is_fork output anymore. The fork-check step stays because autocommit-check still reads its step output internally.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-07-01 12:16:46 +00:00
markijbemaandkiloconnect[bot] 6fa2a84669 chore(ci): mark visual-regression workflow as kilo-only
The visual-regression workflow is entirely Kilo-owned, so replace the scattered inline and block kilocode_change markers with a single new-file marker at the top.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-07-01 12:16:20 +00:00
Alex Alecu 11c6b79619 fix(ci): include setup action filter 2026-06-30 18:20:03 +03:00
Alex Alecu ac93273e5e fix(ci): harden visual regression installs 2026-06-30 17:23:10 +03:00
marius-kilocode a55c8f80fa fix(ci): stabilize Linux sandbox CLI release smoke test
The release publish smoke test demanded a live bubblewrap user-namespace bootstrap on the runner, which GitHub-hosted Ubuntu 24.04 blocks via kernel.apparmor_restrict_unprivileged_userns=1 (uid map permission denied). Make that host invocation non-fatal so the gate validates the artifact, not the runner's userns policy; the runtime probe already degrades gracefully when unprivileged user namespaces are unavailable.

The Alpine smoke block also had an unescaped single-quoted grep pattern inside an outer sh -c '...' string, which prematurely terminated the script so the NOTICE license grep ran with no file (empty stdin -> exit 1) and the rest of the script never ran. Escape the inner quotes as '\''...'\'' so the license check runs against the real file.
2026-06-30 09:44:14 +02:00
Mark IJbema 48f57835af fix(ci): cover visual workflow markers 2026-06-29 13:03:40 +02:00
Mark IJbema c311986160 fix(ci): avoid visual baseline pushes without bot token 2026-06-29 12:44:01 +02:00
Mark IJbema ab26315117 fix(ci): annotate visual token fallback 2026-06-29 12:26:56 +02:00
Mark IJbema 6c4256c30f fix(ci): fall back to github token for visual checkout 2026-06-29 12:06:54 +02:00
Mark IJbema c9d7016ea2 Merge pull request #11692 from Kilo-Org/mark/skip-general-tests-for-jetbrains
ci: skip general tests for isolated changes
2026-06-26 20:43:09 +02:00
Mark IJbema ef3e8cbffd remove overly specific ones 2026-06-26 15:36:08 +02:00
markijbemaandkiloconnect[bot] 7b1383751f ci: skip general tests for isolated changes
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-26 09:42:10 +00:00
markijbemaandkiloconnect[bot] 8d449df39b fix(ci): retain full tests outside pull requests
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-25 12:59:26 +00:00
markijbemaandkiloconnect[bot] 376398e887 ci(github): implement path filtering to skip unit tests for JetBrains-only changes
Add a `changes` job that uses `paths-filter` to detect if changes are
restricted to the `packages/kilo-jetbrains/` directory. The `unit` job
is updated to depend on this job and uses a dynamic matrix to skip
execution on non-JetBrains platforms when only JetBrains files are
modified, optimizing CI runtime.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-25 11:19:13 +00:00
markijbemaandkiloconnect[bot] 1e39b22675 fix(ci): scope JetBrains checks to relevant changes
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-25 10:25:13 +00:00
Marius Wichtner 72b386731a Merge branch 'main' into research-linux-filesystem-sandbox
# Conflicts:
#	packages/kilo-sandbox/src/backend.ts
#	packages/kilo-sandbox/src/index.ts
#	packages/kilo-sandbox/test/backend.test.ts
#	packages/kilo-vscode/script/local-bin.ts
#	packages/kilo-vscode/src/services/cli-backend/cli-resources.ts
#	packages/kilo-vscode/tests/unit/server-manager-utils.test.ts
#	packages/opencode/script/postinstall.mjs
#	packages/opencode/script/publish.ts
2026-06-24 10:57:48 +02:00
marius-kilocode 9fbc456b75 feat(sandbox): enforce macOS network isolation 2026-06-23 20:40:13 +02:00
marius-kilocode 3332e26607 test(cli): avoid privileged sandbox checks 2026-06-23 19:44:27 +02:00
marius-kilocode f16fd3d01f fix(ci): run mount test from core package 2026-06-23 19:24:04 +02:00
marius-kilocode 35a73627a2 fix(ci): use allowed Zig setup 2026-06-23 19:06:12 +02:00
marius-kilocode 265a21199d chore(cli): clarify Bubblewrap licensing 2026-06-23 18:56:16 +02:00
marius-kilocode 2772ed0434 chore(ci): annotate Linux sandbox workflows 2026-06-23 18:02:31 +02:00
marius-kilocode 209e7a71d5 feat(cli): add Linux filesystem sandbox 2026-06-23 17:50:51 +02:00
marius-kilocode 31095168d2 test(ci): focus macOS PR coverage 2026-06-23 12:53:03 +02:00
marius-kilocode 0df55e967b test(ci): keep HttpApi exerciser on Linux 2026-06-23 12:18:48 +02:00
marius-kilocode 784b5b8839 chore(ci): annotate macOS exerciser condition 2026-06-23 10:51:27 +02:00
marius-kilocode fd6a656973 test(ci): run unit suite on macOS 2026-06-23 10:32:55 +02:00
Johnny Eric Amancio f714423511 fix: Add vercel bypass token to opencode release watcher (#11460) 2026-06-19 10:45:42 +00:00
Imanol Maiztegui b46a40d537 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.15.9 2026-06-18 13:09:27 +02:00
markijbemaandkiloconnect[bot] b96ef37599 ci: avoid saving unused Windows Bun cache
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-18 10:19:58 +00:00
markijbemaandkiloconnect[bot] d6e63d24e3 ci: benchmark Windows install without Bun cache
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-06-18 09:41:30 +00: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
markijbemaandkiloconnect[bot] 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
markijbemaandkiloconnect[bot] 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
markijbemaandkiloconnect[bot] 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
markijbemaandkiloconnect[bot] 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
markijbemaandkiloconnect[bot] 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