NSIO 开发日报

11月18日 / 周三

2026-11-18 开发日报研判。NS 主要改善 Quick 离线设备管理、iOS 重连及 Relay 恢复。数据网关修复在线控制输入发布一致性和时间戳兼容性。平台运营收紧签名发布校验,共享协议新增按已签名提供方类别准入的子网路由 v2。

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

今日要点

01
Quick 停止后仍可管理受信任设备NS
PR #1234 修复异常退出后读取已保存设备,PR #1236 支持 Quick 停止时管理这些设备。
02
原生连接已有部分真机证据真机验证
材料记录了 iPhone 断开验证、12 次实体 iOS Quick 重连通过,以及 macOS 原生服务与在线挂载验证。各记录仅覆盖对应场景。
03
网关升级需复核跨日时间戳数据网关
网关改用基于 time 的时间戳实现,并修复跨日闰秒减法。生产资格验证后续事项仍处于提议阶段。
04
子网路由 v2 引入签名类别准入共享协议
共享协议 0.17.0 的材料显示,消费者按已签名的提供方类别决定路由准入。新旧组件混用待验证。

分模块详情

NS ns · 37 项

本日变更涉及 Quick、原生 nsd、控制连接以及 Relay、DNS 和子网路由生命周期。

做了什么
  • Quick 支持停止时管理已保存设备和异常退出后重新读取设备。取消邀请时复用现有 Relay 连接完成关闭,材料同时记录了已部署邀请容量验收。
  • FFI 支持在线挂载已授权的 nsd 网络,未登录的 nsd 在当前运行时登记。已保存的 nsd 与 Quick 分别达到就绪,重试中的不可用成员关系会反映在状态中,注册写盘期间持续持锁。
  • iOS 等待移动端配置应用后再接管数据包桥,允许撤回最后一个移动 DNS 区域,并采用计入挂起时长的租约时钟。另调整 FFI 工作线程栈、Unix socket 探测及 libc 与 nix 的兼容性。
  • 控制心跳和一元 RPC 有了时限。Relay 修复覆盖查找恢复、空同步保留记录、限流后延迟同步、成员关系变化时重置退避,以及撤销记录时关闭网络会话。发布仅采用已确认的账户 Relay 注册,并推进退出仅依赖 Root 的账户 Relay 选择。
  • 子网报告确认与期望发布的路由匹配,推进提供方清单及报告生命周期。材料记录了签名回执、负载敏感的路由与 Relay 用例、私有应用协议、DNS-VIP 和 P3 退役验收。开发 Docker 支持跳过构建并让 NS 保持前台运行,CI 增加手动检查 Runner 磁盘的入口。
怎么验证
  • 在 Quick → 受信任设备中确认已有一台测试设备。强制退出并重新打开应用,在 Quick 停止时再次打开受信任设备并移除它。预期列表能在异常退出后显示该设备,移除后重新打开列表也不会再显示。
  • 在 iPhone → Quick → 连接页执行连接、断开和重连,再将应用切到后台后返回并重复。预期每次连接都能建立,断开后可以再次连接。
  • 在 macOS 的 NS → 网络管理页保持原有网络在线,再挂载一个已授权的测试网络。预期新网络可用,原有网络的连接持续可用。
重点关注
  • 真机待验证范围包括离线设备管理、取消邀请、未登录 nsd 登记、独立启动的故障组合,以及 Relay、控制连接和子网报告变更。原始材料未给出这些场景的真机证据。
数据网关 nsgw · 11 项

提高在线控制更新的一致性,并维护控制拒绝诊断和时间戳兼容性。

做了什么
  • 按操作隔离能力发布,并以原子方式切换在线控制输入。
  • 保留 home floor、bind 和 heartbeat 的类型化拒绝诊断,简化心跳确认的错误传播。Relay 注册发生重传时继续计入尝试次数。
  • 用基于 time 的时间戳实现替换 chrono 并保持既有契约,修复跨日闰秒减法,同时跟踪 chrono 维护公告。已核对 README,生产资格验证后续事项已提出。
怎么验证
  • 在测试环境的 CI → 网关测试运行记录中打开控制发布相关用例,查看两项操作交错执行及在线输入切换的结果。预期能力只归属对应操作,每次读取都得到同一版本的一组输入。
  • 在 CI → 网关测试运行记录中查看控制拒绝、Relay 注册重传和跨日闰秒用例。预期各类拒绝保留各自的类型,重传计入尝试次数,跨日减法通过既有兼容性断言。
重点关注
  • 在线切换、拒绝诊断和重传计数的真机联调待验证。时间戳迁移在生产流量下的兼容性待验证。
平台运营 admin · 2 项

将签名发布版本无法读取的情况纳入部署失败条件。

做了什么
  • 无法从已签名发布资料中读取修订标识时,部署失败。另有将 main 的 PR #49、#50 移植到 next 的记录,材料未提供其具体内容。
怎么验证
  • 在 CI → 部署流水线中选择测试环境,分别使用可读取修订标识和无法读取修订标识的签名发布样本运行。预期前者通过版本读取检查,后者明确失败。
  • 在仓库 → Pull Requests 中打开移植 PR,核对关联的 #49、#50 和目标分支。预期两项移植均可追溯,目标分支为 next。
重点关注
  • 签名修订读取失败的实际部署验证待验证。#49、#50 的具体行为和移植后的验证结果未见于材料。
共享协议 ns-shared · 1 项

0.17.0 增加按提供方类别区分的消费者子网路由 v2 准入。

做了什么
  • 消费者子网路由 v2 准入绑定到已签名的提供方类别,并更正消费者 Subnet 解码器指引。
怎么验证
  • 在仓库 → CI → 子网路由准入测试中查看匹配和不匹配的签名类别用例。预期符合准入条件且类别匹配的路由被接受,类别不匹配的路由被拒绝。
重点关注
  • 新旧版本混用时的解码、准入行为和真机联调待验证。

风险与待办

分支与生产状态:采集材料同时包含 main、功能分支和合并记录。功能进入目标发布分支及实际部署情况待验证,网关生产资格验证后续事项目前仅有提议记录。
验证入口:材料未提供可执行命令或实际页面名称。测试中使用功能名称描述页面路径,执行时需在对应客户端或仓库中定位入口。

原始合入记录

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

NS(ns)(37 项)

  • feat/quick-nsd-live-attach — silex
    • fix(registration): enroll signed-out nsds on the active runtime
    • docs(ffi): close live attachment verification
    • docs(ffi): record native nsd service continuity
    • docs(ffi): record macos live attach evidence
    • feat(ffi): attach authorized nsd networks live
  • chore: merge main into quick nsd live attach — silex
    • fix(quick): manage saved peers while the app is stopped
    • docs(quick): plan offline trusted device management
    • fix(quick): read saved peers after an unclean exit
    • docs: record signed receipt fixture verification
    • feat(dev-docker): add no-build startup option
  • fix/dev-docker-startup — silex
    • feat(dev-docker): add no-build startup option
    • fix(dev-docker): keep ns in the foreground
  • main — silex
    • fix(quick): manage saved peers while the app is stopped
    • docs(quick): plan offline trusted device management
    • fix(quick): read saved peers after an unclean exit
    • docs: record signed receipt fixture verification
  • Merge PR #1236: manage saved Quick peers while disconnected — clark
    • fix(quick): manage saved peers while the app is stopped
    • docs(quick): plan offline trusted device management
  • Merge main into fix/manage-stopped-quick-peers-20261118 — NetSeed Integrator
    • docs: record signed receipt fixture verification
  • Merge PR #1234: restore saved Quick peers after unclean exit — clark
    • fix(quick): read saved peers after an unclean exit
  • Handle canceled membership connections before receipt readback — noah
    • docs: record signed receipt fixture verification
  • main — silex
    • fix(control): bound heartbeat and unary RPC liveness
    • docs: record load-sensitive fixture verification
    • docs: close private application protocol validation
  • main — noah
    • fix(control): bound heartbeat and unary RPC liveness
  • fix(control): bound heartbeat and unary RPC liveness — noah
    • fix(control): bound heartbeat and unary RPC liveness
  • main — silex
    • docs: record load-sensitive fixture verification
  • main — noah
    • docs: record load-sensitive fixture verification
  • Stabilize load-sensitive route and relay fixtures — noah
    • docs: record load-sensitive fixture verification
  • main — noah
    • docs: close private application protocol validation
    • docs(ios): record twelve passing physical Quick reconnects
    • fix(deps): keep libc compatible with nix on iOS
    • fix(ios): await mobile host apply before taking the packet bridge
    • docs(core): record Quick disconnect verification on iPhone
  • fix(ios): keep mobile tunnel startup and cleanup consistent — clark
    • docs(ios): record twelve passing physical Quick reconnects
    • fix(deps): keep libc compatible with nix on iOS
    • fix(ios): await mobile host apply before taking the packet bridge
    • docs(core): record Quick disconnect verification on iPhone
    • fix(core): allow withdrawal of the last mobile DNS zone
  • fix/ios-lease-clock — silex
    • docs(ios): record lease clock device verification
    • fix(ios): use the sized ffi worker stack
    • fix(ios): isolate unix socket probing from nix socket features
    • fix(ios): use a suspend-inclusive lease clock
  • main — silex
    • docs: record registration lock repair verification
    • fix(state): avoid yielding registration locks during file writes
    • docs: sanitize dns vip acceptance records
    • docs: close dns vip acceptance plan
    • docs: verify final macos native acceptance
  • feat(subnet): add provider inventory and report lifecycle — noah
    • docs: record registration lock repair verification
    • fix(state): avoid yielding registration locks during file writes
    • docs(subnet): record acknowledged intent verification
    • fix(subnet): match report acknowledgements to desired offers
    • docs(subnet): complete report lifecycle verification
  • main — ijs
    • fix(runtime): preserve Network relay lookup recovery
  • fix(relay): keep records on empty resyncs, defer throttled resyncs, reset backoff on membership change — noah
    • fix(runtime): preserve Network relay lookup recovery
  • merge: integrate current relay lifecycle changes — ijs
    • docs: sanitize dns vip acceptance records
    • docs: close dns vip acceptance plan
    • docs: verify final macos native acceptance
    • fix(relay): close network sessions during record retirement
    • fix(startup): import node route reporter map directly
  • main — ijs
    • docs: sanitize dns vip acceptance records
    • docs: close dns vip acceptance plan
    • docs: verify final macos native acceptance
    • fix(relay): close network sessions during record retirement
    • ci: add manual runner disk inspection
  • fix: advertise only confirmed account relay registrations — noah
    • docs: record relay publication validation
    • fix: fence relay advertisements through publication
    • fix: advertise only confirmed account relay registrations
  • main — noah
    • docs: sanitize dns vip acceptance records
    • docs: close dns vip acceptance plan
    • docs: verify final macos native acceptance
    • docs: record macos native service acceptance
    • docs: close p3 routing retirement
  • Close DNS-VIP/P3 service address acceptance — silex
    • docs: sanitize dns vip acceptance records
    • docs: close dns vip acceptance plan
    • docs: verify final macos native acceptance
    • docs: record macos native service acceptance
    • docs: close p3 routing retirement
  • main — ijs
    • fix(relay): close network sessions during record retirement
    • ci: add manual runner disk inspection
    • ci: rerun QA for PR #1208
    • fix(startup): import node route reporter map directly
    • docs(quick): record deployed invitation capacity acceptance
  • refactor: retire Root-only Account relay selection — noah
    • fix: isolate legacy Account relay refusal
    • docs: record relay retirement verification
    • build: update ZIP audit dependencies
    • refactor: retire Root-only Account relay selection
    • docs: record Root relay retirement prerequisites
  • merge: sync origin/main into dns-vip acceptance — silex
    • fix(relay): close network sessions during record retirement
    • fix(startup): import node route reporter map directly
    • docs(startup): close independent startup plan
    • docs(startup): record native startup acceptance evidence
    • fix(status): report unavailable memberships during retry
  • main — ijs
    • fix(relay): close network sessions during record retirement
    • fix(startup): import node route reporter map directly
    • docs(startup): close independent startup plan
    • docs(startup): record native startup acceptance evidence
    • fix(status): report unavailable memberships during retry
  • fix(startup): isolate saved nsd and quick readiness — silex
    • fix(relay): close network sessions during record retirement
    • fix(startup): import node route reporter map directly
    • docs(startup): close independent startup plan
    • docs(startup): record native startup acceptance evidence
    • fix(status): report unavailable memberships during retry
  • main — ijs
    • ci: add manual runner disk inspection
    • ci: rerun QA for PR #1208
    • docs(quick): record deployed invitation capacity acceptance
    • fix(quick): close canceled invitations on existing relay connection
    • docs: claim Quick invitation shutdown recovery
  • main — silex
    • ci: add manual runner disk inspection
    • ci: rerun QA for PR #1208
    • docs(quick): record deployed invitation capacity acceptance
    • fix(quick): close canceled invitations on existing relay connection
    • docs: claim Quick invitation shutdown recovery
  • main — ijs
    • ci: add manual runner disk inspection
    • ci: rerun QA for PR #1208
    • docs(quick): record deployed invitation capacity acceptance
    • fix(quick): close canceled invitations on existing relay connection
    • docs: claim Quick invitation shutdown recovery
  • fix(quick): close canceled invitations on existing Relay connection — eleven
    • ci: rerun QA for PR #1208
    • docs(quick): record deployed invitation capacity acceptance
    • fix(quick): close canceled invitations on existing relay connection
    • docs: claim Quick invitation shutdown recovery
  • docs: close private application protocol validation — silex
  • ci: add manual runner disk inspection — silex

数据网关(nsgw)(11 项)

  • main — ijs
    • docs(task): propose 2026-11-18 production qualification follow-ups
    • docs: record atomic control publication verification
    • fix(server): exchange live control inputs atomically
    • docs: correct capability verification doctest count
    • docs: record capability publication verification
  • docs(task): 2026-11-18 production qualification follow-ups — eleven
    • docs(task): propose 2026-11-18 production qualification follow-ups
  • fix(server): isolate capability publication by operation — noah
    • docs: record atomic control publication verification
    • fix(server): exchange live control inputs atomically
    • docs: correct capability verification doctest count
    • docs: record capability publication verification
    • fix(server): isolate capability publication by operation
  • main — noah
    • docs: verify gateway README against main
  • docs: verify gateway README against main — noah
    • docs: verify gateway README against main
  • fix(control): report typed home floor, bind and heartbeat refusals — noah
    • docs: spell out a release validation commit hash
    • docs: record home refusal composition validation
    • refactor(control): simplify heartbeat acknowledgement error propagation
    • docs: record home refusal diagnostics validation
    • fix(control): preserve typed home refusal diagnostics
  • main — noah
    • docs: record relay registration oracle qualification
    • fix: count relay registration attempts through retransmission
  • fix: count relay registration attempts through retransmission — noah
    • docs: record relay registration oracle qualification
    • fix: count relay registration attempts through retransmission
  • main — ijs
    • fix(ci): track chrono maintenance advisory
    • docs(time): record cross-day regression validation
    • fix(time): preserve cross-day leap-second subtraction
    • docs(time): complete timestamp migration records
    • refactor(time): replace chrono with compatible time-backed timestamps
  • main — ijs
    • fix(ci): track chrono maintenance advisory
    • docs(time): record cross-day regression validation
    • fix(time): preserve cross-day leap-second subtraction
    • docs(time): complete timestamp migration records
    • refactor(time): replace chrono with compatible time-backed timestamps
  • refactor(time): replace chrono while preserving timestamp contracts — noah
    • docs(time): record cross-day regression validation
    • fix(time): preserve cross-day leap-second subtraction
    • docs(time): complete timestamp migration records
    • refactor(time): replace chrono with compatible time-backed timestamps

平台运营(admin)(2 项)

  • fix(deploy): fail deploys that cannot read the signed release revision — eleven
    • fix(deploy): fail deploys that cannot read the signed release revision
    • docs: claim deploy release contract gate
  • Port main PRs #49 and #50 to next — eleven

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

  • feat: add classed consumer subnet-routes v2 (0.17.0) — noah
    • fix: bind consumer subnet admission to signed provider class
    • docs: correct consumer Subnet decoder guidance
    • feat: add consumer subnet route v2 admission