Commit Graph

757 Commits

Author SHA1 Message Date
Ligia Zanchet 9fd631c43c Merge pull request #10078 from Kilo-Org/LigiaZ-patch-1
Update auto-docs workflow for PR handling
2026-05-12 08:57:23 +02:00
Ligia Zanchet 01b7b7d993 Enhance auto-docs workflow for better PR integration
Refactor workflow to improve PR metadata handling and payload creation.
2026-05-11 16:37:25 +02:00
Marius 1988db53e3 chore: ignore generated Kilo config artifacts (#10128)
* chore: ignore generated Kilo config artifacts

* chore: ignore Kilo config node modules
2026-05-11 10:29:20 +02:00
Ligia Zanchet c87bf9f078 Update auto-docs workflow for PR handling 2026-05-08 18:01:31 +02:00
Josh Lambert eb8b3defc3 ci: fix smoke test timeout flag
`harbor run` (jobs.py) only exposes `--agent-setup-timeout-multiplier`;
the absolute `--agent-setup-timeout` flag only exists on `harbor trials`.
Use the multiplier (2.0 = 720s from the 360s default) instead.
2026-05-06 18:06:56 -04:00
Joshua Lambert ef67f34198 Merge branch 'main' into ci/smoke-test-setup-timeout 2026-05-06 11:37:16 -04:00
kiloconnect[bot] fb5594743b fix(ci): clear checkout v6 credentials 2026-05-06 08:38:59 +00:00
Mark IJbema 68b2725f22 Merge pull request #9942 from Kilo-Org/mark/check-workflow-allowlist
ci: guard against upstream workflow additions
2026-05-06 09:27:07 +02:00
kiloconnect[bot] ed973a93c0 annotate kilocode_change markers 2026-05-06 06:40:25 +00:00
kiloconnect[bot] 34959bfaac ci: guard against upstream workflow additions
Hardcodes the list of active and disabled workflows and fails CI when
.github/workflows/ drifts. Wired into check-opencode-annotations so we
don't add a new workflow file for this.
2026-05-06 06:38:28 +00:00
Josh Lambert ee9344ae21 ci: bump smoke test agent setup timeout and capture install logs
The hello-world smoke test occasionally hits Harbor's 360s
AgentSetupTimeoutError when an apt mirror or NodeSource cdn is slow on
the Blacksmith runner, even though the install normally finishes in
~2:23. Bump the cap to 600s and start uploading the install script's
stdout/stderr so we can pinpoint the stalling step next time.
2026-05-06 00:16:02 -04: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] dff7761aac chore: move stale-disabled workflows to disabled folder
Consolidate workflow disabling: the six workflows previously soft-disabled
via `if: false` / `&& false` are now moved and renamed alongside the
other `.disabled` workflows so the disabling mechanism is consistent.
2026-05-05 15:34:31 +00:00
kiloconnect[bot] 5525f471d0 chore: reset stale-disabled workflows to upstream
Reset six workflow files that were soft-disabled via `if: false` / `&& false`
to the last merged upstream (v1.14.29) before moving them to the disabled folder
in a follow-up commit.
2026-05-05 15:34:21 +00:00
kiloconnect[bot] d22d08bbce chore: remove stale desktop package references 2026-05-04 15:00:59 +00:00
kiloconnect[bot] 841fafddf4 fix: remove deleted app packages from build config 2026-05-04 15:00:39 +00:00
Mark IJbema 6b4bc40b81 Merge pull request #9751 from Kilo-Org/markijbema/kilo-opencode-v1.14.29
Merge opencode v1.14.29
2026-05-04 14:21:23 +02:00
Mark IJbema 3f7037549e resolve merge conflicts 2026-04-30 16:25:46 +02:00
Mark IJbema 7d375b93ee refactor: kilo compat for v1.14.29 2026-04-29 17:24:20 +02:00
kiloconnect[bot] 05692356a6 ci: upgrade artifact actions to v7/v8 and switch kilo-cli to archive: false
download-artifact@v4 silently warned on digest mismatches, which hid the
corrupt `kilo-cli` download on run 25101862100 until the next step
failed with "CLI binary not found". v8 defaults `digest-mismatch`
to `error`, so the same failure surfaces on the download step itself
with an actionable message.

Also switches the build-cli upload to upload-artifact@v7's
`archive: false`, so the already-zstd'd tarball travels as-is instead
of being re-wrapped in a store-only zip. With `archive: false` the
`name:` input is ignored and the artifact is named after the file
(`kilo-cli.tar.zst`), so the two consumers (build-vscode, publish)
now reference `name: kilo-cli.tar.zst` and set `skip-decompress: true`.

The `kilo-vscode` upload stays on v4: it uploads a directory of .vsix
files and `archive: false` requires a single file.
2026-04-29 12:34:54 +00:00
kiloconnect[bot] f4216cb13e chore: extend kilocode_change marker to cover path: /tmp change on download-artifact 2026-04-29 11:51:21 +00:00
kiloconnect[bot] 8a46a9f33f build(cli): zstd-compress the tar before artifact upload
Uncompressed tar left the artifact at ~2.7 GB (same as no-compression
zip on the previous attempt). zstd compresses the tree-sitter wasms
~4x while being near-native speed on the already-compact binaries,
which should bring the artifact close to ~1 GB.

zstd 1.5.7 and GNU tar 1.35 are preinstalled on both github-hosted
and blacksmith ubuntu-2404 images (per the actions/runner-images
Ubuntu2404 manifest and blacksmith's drop-in-replacement docs).
Already used in this same workflow by actions/cache@v4 for bun pm
cache restoration, so availability is empirically confirmed.
2026-04-29 11:46:29 +00:00
kiloconnect[bot] 40e790b772 build(cli): tar dist tree into single file before artifact upload
The prior shrink-artifact PR (#9671) didn't prevent the build-vscode
failure on run 25101862100. Artifact grew to 2.7 GB (compression-level: 0
stores uncompressed) and the ~36-minute download still hit the v4 action's
per-entry unzip bottleneck, leaving the cli-linux-x64 binary missing.

actions/download-artifact@v4 pipes the response through Node's
unzip-stream and writes each entry to disk sequentially on a single
thread. With ~480 entries per target x 12 targets the per-entry overhead
dominates total download time.

Collapsing everything into a single tar before upload reduces the
artifact to one zip entry, eliminates the per-file overhead, and lets
native 'tar -xf' do the actual extraction on the consumer side.

References:
- actions/upload-artifact#36 (canonical tracking issue)
- actions/toolkit#1533 (5000 files: 18m -> 22s with pre-tar)
- actions/download-artifact#362 (download speed investigation)
2026-04-29 11:29:33 +00:00
Mark IJbema 9da1542d14 Merge pull request #9671 from Kilo-Org/fix/shrink-publish-artifact
build(cli): shrink publish artifact to unblock build-vscode download
2026-04-29 11:43:24 +02:00
kiloconnect[bot] f5812a17ea chore: annotate publish.yml upload tweaks with kilocode_change markers 2026-04-29 09:29:03 +00:00
kiloconnect[bot] 6458b593c0 build(cli): shrink publish artifact to unblock build-vscode download
The kilo-cli artifact ballooned from ~1 GB to 1.83 GB after the codebase
indexing PR started emitting external sourcemaps and copying tree-sitter
wasms per target. The resulting 1.83 GB artifact triggered a silent
partial-extract in actions/download-artifact@v4 during build-vscode,
causing the 2026-04-29 publish run to fail with 'CLI binary not found'.

- Skip external sourcemaps in release builds (~620 MB saved across
  12 targets); dev builds still emit maps for local debugging.
- Exclude any stray .map files from the CI artifact and skip zstd
  compression on binaries (saves ~60 s on upload and reduces the
  chance of partial-extract bugs on the download side).

Refs: PR #6966 (commit f74d54c4), run 25096325401
2026-04-29 09:06:16 +00:00
kiloconnect[bot] 62774acc1d ci: mark pre_release input as kilocode_change 2026-04-29 09:05:54 +00:00
kiloconnect[bot] e19a1722d1 ci: default publish workflow to pre-release
Accidentally publishing a real release is more damaging than accidentally
publishing a pre-release, so flip the default to the safer option.
2026-04-29 08:51:12 +00:00
kirillk cf80826d5b fix(cli): check annotations across shared upstream paths 2026-04-28 12:09:37 -04:00
Mark IJbema f9ca3f72e2 Merge branch 'main' into mark/md-table-padding-check 2026-04-28 11:18:28 +02:00
kiloconnect[bot] 06cd80d1bd chore: enforce minimal markdown table formatting
Prettier pads markdown table cells for column alignment, which turns any
content change into a table-wide realignment diff. Markdown was only in
prettierignore for packages/kilo-vscode/; the root formatter still
repadded docs elsewhere (e.g. TESTING.md, kilo-docs, AGENTS.md).

Adds *.md to the root .prettierignore, documents the convention in
AGENTS.md, and adds script/check-md-table-padding.ts + a workflow to
enforce it. Existing padded tables in Kilo-owned docs have been
rewritten via the script's --fix mode.
2026-04-28 07:45:49 +00:00
github-actions[bot] b420952e59 Update VOUCHED list
https://github.com/anomalyco/opencode/issues/24732#issuecomment-4332442679
2026-04-28 04:53:58 +00:00
Imanol Maiztegui 85eb4fa69b chore: regenerate SDK 2026-04-27 19:00:21 +02:00
Imanol Maiztegui fd8818e48c resolve merge conflicts 2026-04-27 15:57:16 +02:00
github-actions[bot] 059e6c46db Update VOUCHED list
https://github.com/anomalyco/opencode/issues/24563#issuecomment-4323944984
2026-04-27 03:30:38 +00:00
Aiden Cline f91b73b938 ci: fix model name 2026-04-25 14:13:19 -04:00
Aiden Cline 716cf74190 ci: adjust review flow (#24355) 2026-04-25 13:52:19 -04:00
Aiden Cline 872cdff2ab ignore: denounce ai spammer 2026-04-24 17:37:28 -04:00
Brendan Allan 3bfe6a1ef6 ci: add platform-specific bun install flags (#23822) 2026-04-24 04:50:34 +00:00
Simon Klee 9b6db08d21 chore: add to TEAM_MEMBERS (#23975) 2026-04-23 13:02:40 +02:00
Johnny Amancio 6804c71a9b feat: Add workflow to watch for new Opencode Releases and notify Slack/Vercel (for dashboard) webhooks. 2026-04-22 20:03:17 +02:00
github-actions[bot] 8751f48a75 Update VOUCHED list
https://github.com/anomalyco/opencode/issues/23735#issuecomment-4291498854
2026-04-21 20:17:13 +00:00
kiloconnect[bot] 788caef5c3 ci: use blacksmith for smoke tests 2026-04-21 14:54:34 +00:00
kiloconnect[bot] 618193283c chore: move visual baselines into docs assets 2026-04-21 09:16:50 +00:00
Imanol Maiztegui aa4deb520c resolve merge conflicts 2026-04-20 11:04:03 +02:00
Joshua Lambert 8ea33da72f Merge branch 'main' into fix/smoke-test-draft-release 2026-04-18 20:34:26 -04:00