Commit Graph
558 Commits
Author SHA1 Message Date
Ligia Zanchet a17a5de954 Add auto-docs workflow for merged feat PRs
This workflow triggers a webhook when a pull request is closed and merged, specifically for branches containing 'feat'. It sends relevant PR data to a specified webhook URL.
2026-03-16 13:30:18 +01:00
kiloconnect[bot] f5ac4ca526 Move kilocode_change check to package.json script following knip pattern
- Add check-kilocode-change script in packages/kilo-vscode/package.json
- Update CI to use the script instead of inlined grep
- Document the check in root AGENTS.md alongside knip
2026-03-16 09:55:26 +00:00
kiloconnect[bot] 8875fc700d Move kilocode_change check into existing test-vscode workflow instead of separate workflow 2026-03-16 09:26:06 +00:00
kiloconnect[bot] 3751bc3492 Add CI check to prevent kilocode_change markers in kilo packages 2026-03-16 09:23:30 +00:00
kiloconnect[bot] 407b4dfd57 chore: remove unnecessary empty directory cleanup
Git doesn't track empty directories, so no need to rmdir after deleting stale PNGs.
2026-03-12 11:56:35 +00:00
kiloconnect[bot] 38f2fe6857 fix: use storybook index to detect stale baselines instead of timestamps
The timestamp approach incorrectly deleted valid baselines that Playwright
didn't rewrite (because they already matched). Instead, read the Storybook
index.json to compute the expected set of screenshot filenames, and only
remove baselines that don't correspond to any current story.
2026-03-12 11:53:50 +00:00
kiloconnect[bot] d29a267b03 fix: use timestamp-based stale screenshot detection instead of deleting all baselines
The previous approach of removing all baselines before regeneration caused
spurious changes because Playwright produces slightly different PNGs across
runs (within tolerance but different bytes). Also, skipped stories had their
baselines permanently deleted.

Instead, create a timestamp marker before the test run and delete only
screenshots that weren't touched by Playwright (i.e., stale baselines for
removed stories). This also reverts the spurious baseline changes from the
previous auto-commit.
2026-03-12 11:49:46 +00:00
kiloconnect[bot] c3d3aa61c9 fix: remove stale screenshots for deleted stories in visual regression CI
Remove all existing baseline screenshots before regenerating them so that
screenshots for removed stories don't persist indefinitely.
2026-03-12 11:30:23 +00:00
kiloconnect[bot] ad11479ff3 fix: use commit message check instead of re-running tests for loop prevention 2026-03-12 10:38:48 +00:00
kiloconnect[bot] f810586183 fix: prevent infinite loop in visual regression CI when screenshots are non-deterministic 2026-03-12 10:31:48 +00:00
kiloconnect[bot] d90feb3fd5 ci(kilo-vscode): add prettier format check to CI
Add a 'format:check' step to the test-vscode workflow so PRs that
introduce formatting drift in packages/kilo-vscode are caught before
merge. Uses the existing 'format:check' script (prettier --check .)
already defined in packages/kilo-vscode/package.json.

Ref: #6919
2026-03-11 10:06:20 +00:00
Mark IJbema c724bd2866 Merge pull request #6779 from Kilo-Org/session/agent_049c38d4-d0a9-457e-bd12-09be01749596
fix: skip auto-commit of visual regression screenshots for fork PRs
2026-03-09 12:49:50 +01:00
Marius 9d6dca1863 feat(vscode): add knip dead code detection to agent-manager (#6773)
* feat(vscode): add knip dead code detection to agent-manager

Add knip to the kilo-vscode package to detect and prevent dead code in
the agent-manager. This includes:

- knip.json config scoped to src/agent-manager/ and webview-ui/agent-manager/
- CI pipeline step in test-vscode.yml to run knip on every PR
- Clean up unused exports: narrow interfaces/types to non-exported where
  only used locally, remove unused re-exports from FileTree.tsx and
  review-comments.ts

* expand knip scope to entire kilo-vscode package

- Widen project scope from agent-manager only to src/**/*.ts and
  webview-ui/**/*.{ts,tsx}
- Exclude vendored src/services/autocomplete/** from analysis
- Enable ignoreExportsUsedInFile for component Props patterns
- Delete 4 dead files: legacy-migration barrel/messages, settings
  barrel, webview telemetry util
- Trim barrel re-exports in cli-backend, telemetry, browser-automation
  to only what consumers actually import through the barrel
- Unexport private helpers: getNonce, joinCspDirectives,
  NEW_EXTENSION_IS_STILL_EXPERIMENTAL flag, getVSCodeAPI,
  dispatchMockProviders, errorCodes
- Narrow 5 unused exported types to non-exported
2026-03-09 12:31:20 +01:00
kiloconnect[bot] 91454991d5 fix: update fork PR error message to direct contributors to Kilo developers 2026-03-09 10:32:52 +00:00
kiloconnect[bot] 8dcf7407e3 fix: skip auto-commit of visual regression screenshots for fork PRs 2026-03-09 10:24:13 +00:00
Christiaan Arnoldus 3fff82bfa2 Apply suggestions from code review 2026-03-06 16:22:26 +01:00
kiloconnect[bot] 55a1de8d9e refactor(model): migrate default to kilo-auto/frontier across codebase
migrate default model IDs from kilo/auto to kilo-auto/frontier and related references across the codebase. update defaults in gateway constants, VSCode provider, tests, UI defaults, and e2e seed. align docs and examples to use kilo-auto/frontier and kilo-auto/free. this is a breaking change for existing configurations

BREAKING CHANGE: update default model IDs to kilo-auto/frontier and kilo-auto/free
kilo/auto and kilo/auto-free no longer used as defaults; update all
references accordingly
2026-03-06 15:03:35 +00:00
Mark IJbema 5272339c36 ci: use BOT_PAT instead of GITHUB_TOKEN for visual regression tests 2026-03-05 14:10:15 +01:00
Mark IJbema 37b8904770 Merge branch 'main' into fix/6465-workflow-repository-guards 2026-03-05 13:46:51 +01:00
Mark IJbema 06e4cb2add fix: use Kilo-Org/paths-filter fork 2026-03-05 11:52:00 +01:00
Mark IJbema cbcce5157d fix: explicit pull_request event types 2026-03-05 11:50:57 +01:00
Mark IJbema 01b70c0f41 fix: use dorny/paths-filter@v2 2026-03-05 11:49:51 +01:00
Mark IJbema 904b5bc930 ci: make visual regression workflow always run with path-based skip 2026-03-05 11:46:49 +01:00
kiloconnect[bot] 936b3a859c ci: add repository guards to prevent workflow spam in forks (#6465) 2026-03-05 08:16:35 +00:00
Mark IJbema d1c1ce7df4 feat(vscode): add composite webview visual regression tests
Add Storybook + Playwright visual regression testing for the VS Code
extension's composite webview UI. This tests the full composition of
kilo-ui components with extension-specific contexts and styles.

- .storybook/ config with kilo-vscode theme defaults
- StoryProviders mock wrapper for DataProvider, SessionContext, etc.
- 7 composite stories: tool+permission, permission dock, tool cards,
  chat idle/busy, multi-tool assistant message
- Playwright config on port 6007 with auto-discovery
- CI workflow updated with parallel kilo-vscode visual regression job
- Exported SessionContext and LanguageContext for story use
2026-03-03 18:42:30 +01:00
Mark IJbemaandkilo-code-bot[bot] fd523fb0a9 Apply suggestions from code review
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
2026-03-03 09:26:38 +01:00
kiloconnect[bot] 3bf2f6175a Add paths filter to docs link checker pull_request trigger 2026-03-03 08:23:10 +00:00
Mark IJbema 984e05d8a0 fix: address review comments
- Add package.json to Storybook cache key (dep version changes invalidate cache)
- Add res.ok check before parsing Storybook index JSON
- Remove duplicate maxDiffPixelRatio (already in playwright.config.ts)
- Use parseInt for PLAYWRIGHT_WORKERS to handle non-numeric values
2026-03-02 15:43:11 +01:00
Mark IJbema b382c4e3ee fix: fail CI when visual regression baselines change
The workflow now:
1. Runs --update-snapshots to write new/changed baselines
2. Commits any changes back to the branch
3. Fails the job if baselines changed, so the PR author is notified

This avoids silently accepting visual changes — the author must pull
and review the updated baselines.
2026-03-02 15:43:11 +01:00
Mark IJbema 77609c35f6 feat: add visual regression tests for kilo-ui with Playwright
- Add @playwright/test, playwright.config.ts (Chromium, 1280x720)
- Test file auto-discovers all stories from Storybook's index.json
- Screenshots cropped to #storybook-root, grouped per component
- CI workflow on Blacksmith with Storybook/Playwright/Bun caching
- Paths filter: only runs when kilo-ui or its deps change
- Auto-commits missing baselines back to the branch via CI
- Skips head-only (Font, Favicon) and non-deterministic (Typewriter) stories
- Documented in CONTRIBUTING.md
2026-03-02 15:43:11 +01: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
Mark IJbema 1a7294ff72 ci: run vscode unit tests on packages/ui and packages/kilo-ui changes
These packages feed directly into the extension webview. An upstream opencode
merge that only touches packages/ui or packages/kilo-ui would previously skip
the kilo-vscode unit tests entirely, allowing contract regressions to merge
undetected.

The unit tests (bun test tests/unit/) are pure — no CLI binary needed — so
adding these paths has no performance cost.
2026-03-02 11:43:21 +01:00
Catriel Müller d38376c84b fix: fix publish version script env 2026-02-27 11:09:00 -03:00
Catriel Müller bb4defe5e6 fix(ci): add GH_REPO env var to publish workflow steps 2026-02-27 11:01:43 -03:00
Kevin van Dijk 2b05e4f40b Resolve merge conflicts 2026-02-25 18:34:18 +01:00
Mark IJbema f03749550a Merge branch 'main' into mark/disable-upstream-workflow-actions 2026-02-25 10:58:56 +01:00
Mark IJbema 67e246de2c disable upstream workflow actions not needed in kilocode repo 2026-02-25 10:54:20 +01:00
Brendan O'Leary ea295cf0f9 Update lychee action to use our pinned fork version (#6270)
* Update lychee action to use our pinned fork version

* Add exception for tbench.ai
2026-02-25 05:39:07 +02:00
Luke Parker cf5cfb48cd upgrade to bun 1.3.10 canary and force baseline builds always (#14843) 2026-02-24 16:06:45 +10:00
Luke Parker 0269f39a17 ci: add Windows to unit test matrix (#14836) 2026-02-24 09:33:33 +10:00
Catriel Müller d3d5a2d095 fix: fix duplicated issues 2026-02-23 19:10:04 -03:00
Catriel Müller 0e1be194e6 fix: fix nix build 2026-02-23 19:07:55 -03:00
Ryan Vogel 24c63914bf fix: update workflows for better automation (#14809) 2026-02-23 16:51:29 -05:00
Kevin van Dijk ae62fff98d Resolve merge conflicts 2026-02-23 20:12:28 +01:00
Mark IJbema 64bdb81c5c ci: bump stale operations-per-run from 30 to 200 2026-02-23 17:56:34 +01:00
Mark IJbema 77cddd494d Merge pull request #6153 from Kilo-Org/mark/stale-workflow-improvements
Improve stale workflow: close old issues/PRs with friendlier messages
2026-02-23 17:18:48 +01:00
Mark IJbema de61f419e8 Merge branch 'main' into mark/stale-workflow-improvements 2026-02-23 16:17:02 +01:00
Catriel Müller ab0ef3008f refactor: rename gh repo 2026-02-23 11:47:15 -03:00
Mark IJbema 9a0ac0c0ee docs: update default branch references from dev to main
- Update AGENTS.md to reflect main as default branch
- Update GitHub Actions workflows to trigger on main branch
- Update publish scripts to cherry-pick from origin/main
- Update upstream merge scripts and documentation
- Update CONTRIBUTING.md links in PR standards workflow
- Fix disabled workflow and documentation links

All development commands (bun dev, npm run dev) and external services
(models.dev, ai-sdk.dev) remain unchanged as they are unrelated to branch names.
2026-02-23 11:19:39 +01:00
Mark IJbema 72d282bfa9 Merge pull request #6160 from Kilo-Org/mark/fix-typecheck-workflow
Fix typecheck workflow to run on all PRs
2026-02-23 11:13:41 +01:00