feat(sync): complete CDS-backed Wire 1.4 synchronization - #188
Merged
lioensky merged 60 commits intoAug 29, 2026
Conversation
…error-contract-1-2
…error-contract-1-2
Contributor
Author
|
本地已在
当前
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
protocolVersion作为唯一兼容性真源;插件版本仅保留为诊断信息。history.json写回与索引提交视图一致。Integration boundaries
modules/services/chatDataService/{client,lifecycle}.js对齐 CDS Protocol 3 / Schema 3 握手。modules/renderer/messageContextMenu.js在桌面消息编辑时推进updatedAt,供消息级 LWW 使用并在保存失败时回滚。modules/ipc/chatHandlers.js删除最后一个 Topic 后创建唯一topic_<timestamp>,避免复用已带墓碑的固定defaultID。package.json将新增 SQLite 删除与 degraded-mode 契约测试纳入test:mobile-sync。modules/services/chatDataService/bin/win32-x64/vcp_chat_data_service.exe,供无 Rust 环境的 Windows x64 源码用户直接使用;其他平台及正式pack/dist仍在目标平台执行npm run build。Compatibility
v1.1.5使用 Wire 1.2,与本 PR 不兼容,这是预期的严格握手行为。1.1.6)的 Wire 1.4 实现配套发布或回滚。Validation
npm run test:mobile-sync— 83 passedcargo test --locked— 59 passedcargo fmt --checkcargo clippy --locked --all-targets -- -D warningscargo clippy --locked --target x86_64-pc-windows-gnu --all-targets -- -D warningscargo build --release --locked --target x86_64-pc-windows-gnuf6d4274faa21ae54a0d231c0e9b51b2a7cfaaaf1d184ec46b11257696d921e41node --check:CDS build/runtime client/lifecycle/index 与 Central Adaptergit diff --check origin/main...HEAD