Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(desktop): align turn copy and git test tier

DavidShen7964909bd545
diff --git a/apps/desktop/src/main/turn-change-set/__tests__/store.test.ts b/apps/desktop/src/main/turn-change-set/__tests__/store.git-integration.test.ts
similarity index 100%
rename from apps/desktop/src/main/turn-change-set/__tests__/store.test.ts
rename to apps/desktop/src/main/turn-change-set/__tests__/store.git-integration.test.ts
diff --git a/apps/desktop/src/renderer/i18n/locales/en/common.json b/apps/desktop/src/renderer/i18n/locales/en/common.json
index 985647bead..600ad9cb5a 100644
--- a/apps/desktop/src/renderer/i18n/locales/en/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/en/common.json
@@ -4471,12 +4471,12 @@
},
"review": {
"turn": {
- "title": "Changes from this turn",
+ "title": "Changes from this message",
"currentWorkspace": "Current workspace",
- "localOnly": "Exact turn changes are not available for remote sessions yet.",
- "partialNotice": "This turn includes command or tool writes that could not be tracked exactly. Only the captured subset is shown; it is not a complete patch.",
+ "localOnly": "Exact message changes are not available for remote sessions yet.",
+ "partialNotice": "This message includes command or tool writes that could not be tracked exactly. Only the captured subset is shown; it is not a complete patch.",
"emptyTitle": "No recorded changes",
- "emptyDesc": "The recorded patch for this turn has no displayable file changes."
+ "emptyDesc": "The recorded patch for this message has no displayable file changes."
},
"fileCount_one": "{{count}} file",
"fileCount_other": "{{count}} files",
@@ -6201,19 +6201,19 @@
"partialTitle": "File changes were not fully captured",
"review": "Review",
"undo": "Undo",
- "undoAria": "Undo changes from this turn",
- "undoPartialAria": "Undo exactly captured changes from this turn",
+ "undoAria": "Undo changes from this message",
+ "undoPartialAria": "Undo exactly captured changes from this message",
"reapply": "Reapply",
- "reapplyAria": "Reapply changes from this turn",
- "reapplyPartialAria": "Reapply exactly captured changes from this turn",
- "undoSuccess": "Changes from this turn were undone",
- "reapplySuccess": "Changes from this turn were reapplied",
+ "reapplyAria": "Reapply changes from this message",
+ "reapplyPartialAria": "Reapply exactly captured changes from this message",
+ "undoSuccess": "Changes from this message were undone",
+ "reapplySuccess": "Changes from this message were reapplied",
"undoPartialSuccess": "Exactly captured changes were undone; uncaptured changes were not undone",
"reapplyPartialSuccess": "Exactly captured changes were reapplied; uncaptured changes were not reapplied",
"actionRunning": "Wait for the current response to finish before changing the workspace",
"gitUnavailable": "Git was not detected. Install Git, make sure it is on the system PATH, and restart Cindy to use the full Undo and Reapply functionality.",
"actionConflict": "The workspace has changed, so this patch cannot be applied safely. Review the current changes first",
- "actionUnavailable": "This turn includes file changes that cannot be safely undone",
+ "actionUnavailable": "This message includes file changes that cannot be safely undone",
"actionFailed": "The changes could not be applied. Try again",
"partial": "Only the changes captured exactly are shown",
"partialReversible": "Only exactly captured changes can be undone or reapplied; uncaptured changes are not handled",
diff --git a/scripts/__tests__/test-workspaces.test.mjs b/scripts/__tests__/test-workspaces.test.mjs
index 3b437eb4c7..00939ef674 100644
--- a/scripts/__tests__/test-workspaces.test.mjs
+++ b/scripts/__tests__/test-workspaces.test.mjs
@@ -462,8 +462,6 @@ test("default desktop unit keeps real Git subprocess coverage to one smoke", ()
"apps/desktop/src/main/git-review/__tests__/gitReviewSmoke.test.ts",
// This file mocks child_process.spawn and tests the adapter itself.
"apps/desktop/src/main/git-review/__tests__/gitRunner.test.ts",
- // Turn change-set actions exercise the real Git apply subprocess.
- "apps/desktop/src/main/turn-change-set/__tests__/store.test.ts",
// This file mocks child_process.execFile and tests gitExec's timeout
// process-tree termination itself; no real Git subprocess is spawned.
"apps/desktop/src/main/worktree/__tests__/gitExec.test.ts",