fix(conversation): sync renamed titles with detail view#1927
fix(conversation): sync renamed titles with detail view#1927piorpua merged 1 commit intoiOfficeAI:mainfrom
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Code Review:fix(conversation): sync renamed titles with detail view (#1927)变更概述此 PR 修复了会话重命名后 SWR 缓存未刷新导致详情视图标题不同步的问题。新增 方案评估结论:✅ 方案合理 将 SWR 问题清单🔵 LOW — ChatHistory.tsx 的 handleEditSave 未被测试覆盖文件: 问题代码: await refreshConversationCache(editingId);问题说明:Codecov 报告显示此行 patch 覆盖率为 0%。另外两处调用点( 修复建议:在 🔵 LOW — conversationCache.ts 的 .catch() 路径未覆盖文件: 问题代码: const conversation = await ipcBridge.conversation.get.invoke({ id: conversationId }).catch((): null => null);问题说明: 修复建议: it('skips cache updates when IPC throws', async () => {
getConversationMock.mockRejectedValue(new Error('IPC error'));
await refreshConversationCache('some-id');
expect(mutateMock).not.toHaveBeenCalled();
});汇总
结论✅ 批准合并 — 无阻塞性问题,两个 LOW 级别问题均为测试补充建议,不影响功能正确性。 本报告由本地 CONCLUSION: APPROVED |
|
✅ 已自动 review,无阻塞性问题,正在触发自动合并。 |
* 'main' of github.com:wuhao1477/AionUi: (40 commits) fix(agents): prevent unhandled promise rejection in bootstrap initialization (iOfficeAI#1933) fix(gemini): restore context after stopping a reply (iOfficeAI#1932) fix(codex): reject start promise immediately on process exit during startup (iOfficeAI#1929) fix(conversation): sync renamed titles with detail view (iOfficeAI#1927) fix(paste): deduplicate filenames when pasting multiple images simultaneously fix(mobile): add SafeArea support and update app icon (iOfficeAI#1926) fix(database): guard against undefined params in databaseBridge providers (iOfficeAI#1924) fix(conversation): validate type field before creating conversation (iOfficeAI#1921) fix(docs): restore wechat_group_5.png reference to wx-5.png in readme fix(snapshot): add maxBuffer to git add/commit exec calls (iOfficeAI#1914) refactor(acp): consolidate AGENT_SKILLS_DIRS into ACP_BACKENDS_ALL (iOfficeAI#1913) fix(gemini): guard against EACCES in workspace realpath during init (ELECTRON-BM) (iOfficeAI#1912) fix(channels): send raw QR ticket instead of page URL in WeChat WebUI login SSE (iOfficeAI#1910) .md format chore(pr-automation): fix missed sleep 5 in comment to sleep 10 chore(pr-automation): increase auto-merge retry delay to 10s chore(pr-automation): add 5s retry for transient GitHub mergeStateStatus UNKNOWN fix(docs): remove trailing whitespace in OfficeCLI readmes chore(pr-automation): verify auto-merge success before labeling bot:done fix(snapshot): guard against non-existent workspace in WorkspaceSnapshotService.init (iOfficeAI#1906) ...
Summary
Testing
Closes #1405