feat(sync): 云同步专用端口 apic.openless.top:9443、按钮间距与云同步服务端交接文档 - #1053
Merged
Conversation
added 2 commits
September 10, 2026 21:08
- MarketplaceConfig 新增 cloud_sync_base_url:production 用同一市场主机的独立端口 9443,new() 默认同源以兼容本机假服务合同测试 - cloud_sync 改用 cloud_sync_url 生成 /me/sync 请求地址 - 新增生产同步地址合同测试(主机一致、端口 9443、HTTPS) - docs:cloud-sync.md 更新地址说明;新增 cloud-sync-server-handoff.md 交接文档(请求行为、状态码映射、验收清单)
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.
内容
MarketplaceConfig新增cloud_sync_base_url,云同步请求改为指向与市场后端同一服务器的专用端口https://apic.openless.top:9443/me/sync:production()使用专用端口;new()默认同源,本机假服务合同测试不受影响。MarketplaceConfig::production()自动生效,未改动 Linux UI 代码。docs/cloud-sync-server-handoff.md云同步服务端交接文档(服务地址、客户端请求行为、接口语义、状态码映射、验收清单),docs/cloud-sync.md与docs/index.md同步更新。验证
npm test:构建 + 前端/合同测试全部通过。cargo test -p openless-core --locked:788 lib + 各合同套件 0 失败(含 cloud_sync_contract 6/6、marketplace_contract 18/18)。--check干净。说明
服务端 /me/sync 由服务端负责人按交接文档实现;服务未部署时客户端维持「官方同步服务暂不可用」的既有表现(404/405/501 → Unsupported)。