mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-30 17:14:40 +08:00
chore(ci): reuse existing Windows job for worktree regression
This commit is contained in:
@@ -53,27 +53,3 @@ jobs:
|
||||
- name: Check for kilocode_change markers
|
||||
working-directory: packages/kilo-vscode
|
||||
run: bun run check-kilocode-change
|
||||
|
||||
# kilocode_change start
|
||||
windows-worktree:
|
||||
name: Windows worktree cleanup
|
||||
runs-on: blacksmith-4vcpu-windows-2025
|
||||
timeout-minutes: 20
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Setup Bun
|
||||
uses: ./.github/actions/setup-bun
|
||||
|
||||
- name: Run Windows worktree cleanup tests
|
||||
working-directory: packages/kilo-vscode
|
||||
run: |
|
||||
bun test tests/unit/worktree-manager.test.ts --test-name-pattern "Windows|directory remains locked" --timeout 30000
|
||||
bun test tests/unit/session-terminal-manager.test.ts tests/unit/pty-cleanup.test.ts tests/unit/run-script-manager.test.ts --timeout 30000
|
||||
# kilocode_change end
|
||||
|
||||
@@ -200,6 +200,11 @@ jobs:
|
||||
run: |
|
||||
bun test test/server/httpapi-pty.test.ts --test-name-pattern "serves Agent Manager regular terminal" --timeout 60000
|
||||
bun test test/server/httpapi-v2-pty.test.ts --test-name-pattern "serves Agent Manager script terminal" --timeout 60000
|
||||
|
||||
- name: Run Windows worktree cleanup regression
|
||||
if: matrix.settings.run && matrix.settings.pty && runner.os == 'Windows'
|
||||
working-directory: packages/kilo-vscode
|
||||
run: bun test tests/unit/worktree-manager.test.ts --test-name-pattern "keeps a Windows worktree tracked while a live process locks its directory" --timeout 30000
|
||||
# kilocode_change end
|
||||
# kilocode_change start - ensure the Darwin profile cannot suppress its own validation
|
||||
- name: Validate Darwin CLI test profile
|
||||
|
||||
Reference in New Issue
Block a user