test(cli): skip Windows-incompatible opencode tests

This commit is contained in:
kirillk
2026-05-25 11:28:07 -04:00
parent e627d581c1
commit 4c90e6f03b
2 changed files with 4 additions and 2 deletions
@@ -136,6 +136,7 @@ const listWorkspaces = (project: Parameters<WorkspaceOld.Interface["list"]>[0])
const getWorkspace = (id: WorkspaceID) => runWorkspace(WorkspaceOld.Service.use((workspace) => workspace.get(id)))
const removeWorkspace = (id: WorkspaceID) => runWorkspace(WorkspaceOld.Service.use((workspace) => workspace.remove(id)))
const workspaceStatus = () => runWorkspace(WorkspaceOld.Service.use((workspace) => workspace.status()))
const winSkip = process.platform === "win32" ? test.skip : test // kilocode_change - git patch application is covered on Linux CI
const isWorkspaceSyncing = (id: WorkspaceID) =>
runWorkspace(WorkspaceOld.Service.use((workspace) => workspace.isSyncing(id)))
const startWorkspaceSyncing = (projectID: ProjectID) => {
@@ -663,7 +664,7 @@ describe("workspace-old CRUD", () => {
})
})
test("sessionWarp applies source workspace patch to local target workspace", async () => {
winSkip("sessionWarp applies source workspace patch to local target workspace", async () => {
await withInstance(async (dir) => {
const previousType = unique("warp-patch-prev-local")
const targetType = unique("warp-patch-target-local")
@@ -15,6 +15,7 @@ void Log.init({ print: false })
const original = Flag.KILO_EXPERIMENTAL_HTTPAPI
const it = testEffect(Layer.mergeAll(NodeFileSystem.layer, NodePath.layer))
const describeProvider = process.platform === "win32" ? describe.skip : describe // kilocode_change - scoped temp cleanup is flaky on Windows CI
const providerID = "test-oauth-parity"
const oauthURL = "https://example.com/oauth"
const oauthInstructions = "Finish OAuth"
@@ -106,7 +107,7 @@ afterEach(async () => {
await resetDatabase()
})
describe("provider HttpApi", () => {
describeProvider("provider HttpApi", () => {
it.live(
"matches legacy OAuth authorize response shapes",
withProviderProject((dir) =>