NSIO 开发日报

11月12日 / 周四

2026-11-12 的主要变化集中在私有节点发现与中继权限、连接切换和发布租约恢复,以及构建能力上报。材料包含重复合并记录,已按行为归并;文档记录不能替代真机验收证据。

45
项合入
3
个模块
2
项需注意
6
位提交者
← 全部日报

今日要点

01
私有发现与中继权限修复需联合验收连通性
NS 修复私有 Root 路径、Account/Network 归属及显式中继目标;网关保留已授权 Network 中继身份。涉及私有网络连通性与权限边界,跨组件真机验证待验证。
02
连接与发布恢复覆盖更多切换场景稳定性
NS 保留健康中继载体及直连打洞预算;网关修复成员 epoch 交接、重新签署、快照追赶和发布租约续期。持续流量下能否避免连接或发布中断待验证。
03
依赖升级需核对版本组合升级
NS、网关记录对齐 nsplane 0.23.0 与 nsshared 0.13.0;NS 另有 Darwin 交叉构建修复和 v1.0.6 发布记录。材料未证明该发布包含当天全部修复,升级前应核对发布内容。
04
版本与能力信息更便于核对可观测性
网关及 relayd 的 /version 增加构建身份、特性列表和各二进制能力版本,组件报告与共享 schema 3 补充相关字段;与接收端的兼容性待验证。

分模块详情

NS ns · 18 项

修复私有发现、中继转发与运行时恢复,并对齐依赖和发布记录。

做了什么
  • 区分 QA 文件读取输入与目录树输入。
  • 保留健康 peer 的空闲 Network 中继载体,并在载体变化时延续直连打洞预算。
  • 恢复私有 Account 发现、私有 Root 中继路径及载荷故障转移;显式输出遵循已确认的中继目标,scoped Account gate 保持精确 Network 归属。
  • 按本地注册 namespace 选择 Service 包策略,接受 Network 中继目录删除;收到 peer DATA 后清除过期的目标缺失提示。
  • 容器停止完成前恢复容器 DNS;Node 路径与已安装 peer 的 custody 串行协调,约束延迟路径更新。
  • 普通节点名改用 alias4;状态探测使用展示的节点 n6 地址,仅成功探测显示 RTT;QA 构建减少磁盘占用。
  • 升级 nsplane 至 0.23.0、对齐 nsshared 0.13.0 及合并修订,内部依赖改用 HTTPS,发布构建匹配依赖修订,并修复 Darwin 交叉构建的 libc++ 选择。
  • 补充隔离原生 fixture、Account 验收及修复交付记录,记录 v1.0.6 发布准备与发布。
怎么验证
  • 在源码目录运行 git log --all --oneline --grep='distinguish file reads',找到提交后运行 git show <提交号>,按其中用例分别输入文件与目录;预期文件按读取流程处理,目录按目录树流程处理。
  • 运行 git log --all --oneline --grep='preserve private Root',用 git show <提交号> 查看关联用例;按用例建立私有 Account、Root 与 Network 环境,发送数据并切换中继路径;预期授权节点可发现和转发,隔离范围外节点不能借此转发,故障时可切换载荷路径。
  • 运行 git log --all --oneline --grep='direct punch budget',用 git show <提交号> 查看复现步骤;在持续通信时切换中继载体并观察连接日志;预期健康空闲载体被保留,直连打洞预算不因切换重新开始。
  • 运行 git log --all --oneline --grep='recover container DNS',用 git show <提交号> 查看复现步骤;按步骤停止容器并检查 DNS,再复现延迟 Node 路径更新;预期停止完成前 DNS 已恢复,旧路径更新不能覆盖当前 peer 归属。
  • 运行 git log --all --oneline --grep='use alias4',用 git show <提交号> 查看名称解析与状态检查用例;按用例解析普通节点名并检查状态输出;预期使用 alias4、探测展示的 n6 地址,失败探测不显示成功 RTT。
重点关注
  • 上述测试为建议步骤,未执行;提交标题及验收文档不足以证明当前版本已完成真机验收,私有发现、权限隔离、中继切换和容器恢复均待验证。
  • Service namespace 策略、目录删除、过期目标提示清理,以及 alias4 对现有名称解析的影响待验证。
  • nsplane 0.23.0 运行行为、匹配依赖的发布构建及 Darwin 交叉构建待验证;不能据发布记录认定 v1.0.6 包含所有列出的变更。
数据网关 nsgw · 25 项

增强中继会话、发布租约和快照恢复,并扩展版本、能力及恢复指标。

做了什么
  • 新快照等待期间,发布意图不变时仍刷新 publisher 租约;按 Service session 证明租约,修复过期刷新后的恢复,并标识基于已确认快照的刷新行为。
  • 在已打开的流上追赶被后续版本取代的 Service 快照,避免追赶只能依赖重新连接。
  • 保留自身重新签署过程中的中继路径,在参与者 roster epoch 交接时保持 capture 资格与中继会话。
  • 保留已授权 Network 中继身份;经中继握手结束直连尝试前先挑战直连路径,测试 helper 受集成 fixture 条件约束。
  • 中继过滤仅对匹配的 Node 执行 gate;重建需等待已结束 generation 释放 Node custody。
  • 增加中继、发布恢复及授权 Network 中继相关指标标识。
  • gateway 与 relayd 的 /version 上报构建身份、特性列表及各二进制能力版本;向 NSD 报告能力版本和特性,relayd 组件报告携带版本字符串。
  • 依赖从 nsplane 0.22.2 验证记录推进至 0.23.0,对齐并固定 nsshared 0.13.0 合并修订,内部依赖使用 HTTPS;更新 v1 删除清单。
怎么验证
  • 运行 git log --all --oneline --grep='refresh unchanged publisher leases',用 git show <提交号> 查看复现用例;保持发布意图不变并连续更新快照,观察租约和刷新指标;预期新快照等待期间租约仍续期,指标能区分基于已确认快照的刷新。
  • 运行 git log --all --oneline --grep='catch up a superseded service snapshot',用 git show <提交号> 查看用例;保持 Service 流连接,在快照尚未完成时产生后续快照;预期现有流能追赶最新状态。
  • 运行 git log --all --oneline --grep='participant epoch hand-off',用 git show <提交号> 查看复现步骤;在中继传输期间触发成员 epoch 交接,再按相关用例执行自身重新签署;预期 capture 资格保留,既有中继会话和路径可继续工作。
  • 运行 git log --all --oneline --grep='preserve authorized Network relay identities',用 git show <提交号> 查看授权用例;分别使用已授权和未授权的 Network 身份尝试中继,并复现中继握手与直连竞争;预期授权边界保持,结束直连尝试前发起直连挑战。
  • 对已部署的 gateway 和 relayd 分别运行 curl <服务基址>/version;预期响应包含各自的构建身份、特性列表及能力版本。再核对接收端已有组件报告,预期 relayd 报告含版本字符串,能力报告含版本和特性。
重点关注
  • 上述步骤未执行;快照连续更新、会话租约隔离、过期刷新恢复及中继交接在真机持续流量下均待验证。
  • Node custody 释放后的重建顺序、匹配 Node gate 的性能与权限行为待验证,材料未提供性能测量结果。
  • /version、组件报告及 NSD 能力接收的端到端兼容性待验证;需分别核对 gateway 与 relayd 的实际二进制。
  • 存在 nsplane 0.22.2 的历史验证记录,不能将其视为 0.23.0 组合的验证证据。
共享协议 ns-shared · 2 项

扩展网关能力报告协议,并定义私有普通节点记录的认证提交。

做了什么
  • 网关报告 schema 3 携带构建能力信息。
  • 定义经过认证的私有普通 NodeRecord 提交协议。
怎么验证
  • 运行 git log --all --oneline --grep='gateway report schema 3',用 git show <提交号> 查看字段定义与相关用例;依照用例发送含构建能力的报告并检查接收结果;预期 schema 3 字段可正确编码、解码并被接收端识别。
  • 运行 git log --all --oneline --grep='private ordinary node record report',用 git show <提交号> 查看认证约束;按关联用例分别提交具有有效认证和不满足认证要求的私有普通 NodeRecord;预期有效提交被接受,不满足要求的提交被拒绝。
重点关注
  • 材料证明协议定义发生变化,未证明所有生产者、接收端均已实现或部署;schema 3 跨版本兼容性待验证。
  • 私有普通 NodeRecord 的认证提交、权限拒绝及与 NS 私有发现的端到端联动待验证;上述步骤未执行。

风险与待办

验证证据有限:材料主要是提交标题与文档记录,未附可核对的真机环境、执行输出和验收结果;跨仓库连通性、权限隔离及恢复行为均待验证。
升级范围需核对:依赖版本、共享协议和能力报告同时变化,需核对实际部署组合与发布包含的提交;v1.0.6 是否包含当天全部修复及混合版本兼容性待验证。

原始合入记录

展开全部 45 项(脚本采集,未经研判)

NS(ns)(18 项)

  • fix(qa): distinguish file reads from directory tree inputs (#1148) — clark
    • fix(qa): distinguish file reads from directory tree inputs
  • fix(runtime): keep healthy Network relay carriers and the direct budget across carrier changes — noah
    • docs(task): record the W6 relay carrier and direct budget fix
    • fix(runtime): keep the direct punch budget across relay carrier changes
    • fix(runtime): keep idle Network relay carriers of healthy peers
  • main — noah
    • docs(release): record v1.0.6 publication
  • build: upgrade nsplane to 0.23.0 and align shared dependencies — silex
    • build: align nsshared to 0.13.0
    • fix: select libc++ for darwin cross builds
    • ci: build releases from matched dependency revisions
    • fix: preserve runtime behavior with nsplane 0.23.0
    • build: upgrade nsplane and fetch shared deps over https
  • build: align nsshared to the merged main revision — silex
    • fix(runtime): preserve private Root relay paths and payload failover
    • docs(e2e): qualify isolated fixture with complete Account native acceptance
    • fix(runtime): honor confirmed relay destinations in explicit output
    • fix(runtime): retain exact Network ownership in scoped Account gates
    • fix(service): select packet policy by local registration namespace
  • restore private account discovery and scoped relay forwarding (#1139) — clark
    • fix(runtime): preserve private Root relay paths and payload failover
    • docs(e2e): qualify isolated fixture with complete Account native acceptance
    • fix(runtime): honor confirmed relay destinations in explicit output
    • fix(runtime): retain exact Network ownership in scoped Account gates
    • fix(service): select packet policy by local registration namespace
  • Compose qualified private Root relay and isolated native fixtures — eleven
    • docs(e2e): qualify isolated fixture with complete Account native acceptance
  • Preserve latest main relay destination hint fix in final private integration — eleven
    • docs(relay): record stale destination hint verification
    • fix(relay): clear a stale missing-destination hint on the peer's DATA
  • Compose qualified scoped relay output with exact membership and observer fixes — eleven
    • fix(runtime): honor confirmed relay destinations in explicit output
  • fix(relay): clear a stale missing-destination hint on the peer DATA — noah
    • docs(relay): record stale destination hint verification
    • fix(relay): clear a stale missing-destination hint on the peer's DATA
  • Merge qualified local Service namespace repair into current records — eleven
    • fix(service): select packet policy by local registration namespace
  • Merge current Network directory custody repair into private records — eleven
    • fix(account): accept Network relay directory removals
    • docs: close delivered container stop and Node path repairs
  • fix(account): accept Network relay directory removals — eleven
    • fix(account): accept Network relay directory removals
  • record delivered E2E repairs (#1141) — clark
    • docs: close delivered container stop and Node path repairs
  • recover container stops and fence delayed Node paths (#1137) — clark
    • docs(runtime): qualify stop recovery and compose Node path repair
    • fix(runtime): serialize Node paths with installed peer custody
    • fix: recover container DNS before accepting stop completion
  • Merge commit '251f5b432b06055a1a5190488cf3bba59e8586d9' into fix/20261111-private-record-current-main — eleven
    • fix(dns)!: use alias4 for ordinary node names
    • ci(qa): reduce test build disk usage
    • fix(status): show only rtt for successful probes
    • docs: record the retained endpoint release verification
    • fix(status): probe displayed node n6 addresses
  • docs(release): record v1.0.6 publication — quick
  • docs(release): prepare v1.0.6 publication — quick

数据网关(nsgw)(25 项)

  • fix(control): keep publisher leases through snapshot trains with unchanged intent — noah
    • docs: record the publisher refresh tests
    • docs: record the publisher refresh during snapshot trains
    • fix(metrics): identify acknowledged-snapshot publisher refresh
    • fix(control): refresh unchanged publisher leases while a newer snapshot is pending
  • fix(metrics): identify relay and publisher recovery behavior (#162) — clark
    • docs: retain current recovery validation identities
    • fix(metrics): identify relay and publisher recovery behavior
  • main — ijs
    • docs: record the relay roster epoch hand-off fix
    • fix(relayd): keep capture eligible across a participant epoch hand-off
  • fix(relayd): keep relay sessions across a participant roster epoch hand-off — noah
    • docs: record the relay roster epoch hand-off fix
    • fix(relayd): keep capture eligible across a participant epoch hand-off
  • main — ijs
    • docs: record session-scoped publisher leases
    • fix(control): prove publisher leases per service session
    • docs: record the in-stream snapshot catch-up
    • fix(server): catch up a superseded service snapshot on the open stream
    • docs: record the relay churn and stale-refresh fixes
  • fix: keep relay paths through own re-signs and recover from stale publisher refreshes — noah
    • docs: record session-scoped publisher leases
    • fix(control): prove publisher leases per service session
    • docs: record the in-stream snapshot catch-up
    • fix(server): catch up a superseded service snapshot on the open stream
    • docs: record the relay churn and stale-refresh fixes
  • main — ijs
    • feat(relayd): send the version string in the component report
  • feat(relayd): send the version string in the component report — noah
    • feat(relayd): send the version string in the component report
  • main — ijs
    • perf(server): gate only the matched Node in the relay filter
  • main — ijs
    • perf(server): gate only the matched Node in the relay filter
  • perf(server): gate only the matched Node in the relay filter — noah
    • perf(server): gate only the matched Node in the relay filter
  • main — ijs
    • fix(node): challenge the direct path before a relayed handshake ends it
    • fix(metrics): identify authorized network relay behavior
    • fix(server): gate relay test helper with integration fixtures
    • fix(server): preserve authorized Network relay identities
  • main — ijs
    • fix(node): challenge the direct path before a relayed handshake ends it
    • fix(metrics): identify authorized network relay behavior
    • fix(server): gate relay test helper with integration fixtures
    • fix(server): preserve authorized Network relay identities
  • fix: preserve authorized Network relay identities and challenge direct before a relayed handshake ends it — noah
    • fix(node): challenge the direct path before a relayed handshake ends it
    • fix(metrics): identify authorized network relay behavior
    • fix(server): gate relay test helper with integration fixtures
    • fix(server): preserve authorized Network relay identities
  • main — noah
    • docs: refresh the v1 deletion inventory
    • build: pin merged nsshared 0.13.0 revision
    • build: upgrade nsplane and pin internal deps over https
    • build: align nsshared to the merged main revision
  • main — noah
    • docs: refresh the v1 deletion inventory
    • build: pin merged nsshared 0.13.0 revision
    • build: upgrade nsplane and pin internal deps over https
    • build: align nsshared to the merged main revision
  • build: align nsplane 0.23.0 and nsshared 0.13.0 — silex
    • docs: refresh the v1 deletion inventory
    • build: pin merged nsshared 0.13.0 revision
    • build: upgrade nsplane and pin internal deps over https
    • build: align nsshared to the merged main revision
  • merge: take over the Network relay identity repair (#149) — ijs
    • fix(metrics): identify authorized network relay behavior
    • fix(server): gate relay test helper with integration fixtures
    • fix(server): preserve authorized Network relay identities
  • build!: merge capability reports with https dependency pins — silex
    • feat: report capability version and features to NSD
  • feat: report capability version and features to NSD — noah
    • feat: report capability version and features to NSD
  • merge: include qualified Gateway main before relay identity repair — eleven
    • docs: record the rebind custody handover
    • fix(server): reconstruct only after the ended generation released Node custody
    • feat: report a capability version per binary on /version
    • docs: record build identity feature list completion
    • feat: report build identity and feature list on relayd and gateway /version
  • fix(server): reconstruct only after the ended generation released Node custody — noah
    • docs: record the rebind custody handover
    • fix(server): reconstruct only after the ended generation released Node custody
  • feat: report build identity and feature list on /version — noah
    • feat: report a capability version per binary on /version
    • docs: record build identity feature list completion
    • feat: report build identity and feature list on relayd and gateway /version
  • main — ijs
    • docs: record nsplane 0.22.2 qualification
  • chore(deps): adopt nsplane 0.22.2 — noah
    • docs: record nsplane 0.22.2 qualification

共享协议(ns-shared)(2 项)

  • feat(control): carry build capabilities in gateway report schema 3 — noah
    • feat(control): carry build capabilities in gateway report schema 3
  • Define authenticated private ordinary NodeRecord submission (#40) — clark
    • feat(control): define private ordinary node record report