Repository navigation
feat(discovery): route production dialing through peer directory - #176
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to This change moves peer discovery into an application-level directory and manager, wired into the Iroh node's startup and shutdown. No concrete merge-blocking defect was identified in the supplied material. Real cloud resolution and physical-device behavior were not validated, but that is routine follow-up rather than a demonstrated risk. Pre-merge checks |
|
完成 #34 的第一个发现切片:生产拨号统一从 Application 的发现负责人获取候选,mDNS 持续收集、云端按需查询。同一端点的不同来源独立更新和失效,云端缓慢或失败不阻塞有效本地候选。
实现与替换
验证
cargo metadata --locked --format-version 1、cargo check --workspace --all-targets --locked、cargo fmt --all -- --check、Rust 风格、仓库架构及git diff --check全部通过。全工作区保留两处既有测试的未使用导入警告。范围与未执行项
公网 Cloud 服务成功解析、物理 Desktop/Mobile 验收、已发布旧版本互通与发布产物验收均跳过。混合版本仅验证本次修改前的
007a5a20与本次实现;网络实验使用本地 Relay。构建 SHA、重放命令和详细结果见完成计划,本地证据保留在target/discovery-evidence/,未提交生成产物。Connection/ConnectionPool 抽象与协议迁移属于后续切片。本 PR 仅关联 #34,不关闭整个 issue。
Summary by CodeRabbit