test(vscode): cover project row review feedback

This commit is contained in:
marius-kilocode
2026-08-04 15:36:03 +02:00
parent 36c89de308
commit a8edd857ae
2 changed files with 15 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"kilo-code": patch
---
Keep Agent Manager worktree rows isolated when projects contain identical raw worktree IDs.
@@ -46,4 +46,14 @@ describe("multi-project progress state", () => {
expect(store.busy().get("same")?.reason).toBe("setting-up")
})
it("does not replace deletion progress when marking a grouped worktree", () => {
const store = createProjectStore("a")
store.applyState(state("a"))
store.setBusy(new Map([["same", { reason: "deleting" as const }]]))
markMultiVersionBusy(store, "a-session")
expect(store.busy().get("same")?.reason).toBe("deleting")
})
})