NSIO 开发日报

10月23日 / 周五

2026-10-23 的重点是 NS 数据包缓冲区所有权与复用、Quick 故障诊断,以及 NSD 命令校验和 Network 隔离验收。材料记录了多项验收与 CI 缓存资格确认;Windows 原生及移动端真机验证仍需单独确认。

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

今日要点

01
NS 数据包复用覆盖更多收发路径数据通路
客户端解密后路由、TUN 分发、移动端入口、出口捕获和主机输出逐步传递或回收已有缓冲区;出口捕获撤销时取消待发送数据。材料记录组合验收,但真机兼容性与性能收益待验证。
02
Quick 和 Service 故障更容易定位故障诊断
Quick 提前报告受限等待内的守护进程启动失败,并保留中继 DNS、配置错误的类型信息;Service 补充端口仲裁冲突说明,帮助区分启动、解析和端口问题。
03
NSD 收紧管理命令与 Network 错误契约控制面
拒绝含糊的节点管理及 Network 创建命令,补充结构化创建拒绝说明;材料记录同一 NSD 下 Network 消费者隔离及空闲消费者续期验收。
04
CI 缓存资格确认完成,Windows 验收仍有限制交付验证
NS 稳定 CMake 路径以恢复 Rust 缓存复用,并记录缓存交付和耗时;移除独立实验工作流。Windows 仅有草稿 QA 记录,不能据此关闭原生验收。

分模块详情

NS ns · 26 项

集中改进数据包所有权、缓冲区复用、启动诊断和 CI 验证可观测性,同时调整 Windows 安装与 CLI 构建边界。

做了什么
  • 客户端解密后的数据包保留所有权进入路由,TUN 分发钩子复用独占缓冲区,移动端主机入口转移已有缓冲区。
  • 复用已准入客户端 L3、出口捕获和本地主机返回路径的缓冲区;主机写入完成后回收已用缓冲区,服务入口接入映射分流器并退役已交付回复。
  • 出口捕获撤销时取消待发送数据;集成已有 UDP 中继测试夹具的分配修复。
  • Quick 提前报告守护进程启动失败,保留中继解析与配置失败的类型信息;Service 解释已提交的端口仲裁冲突。
  • 稳定 CMake 路径以恢复 Rust 缓存复用,记录交付与耗时并移除独立缓存实验;避免重复 CMake,由 rustup 解析固定的引导工具链。
  • CI 恢复瞬时只读 API 观察失败;nextest 展示实时进度、慢测试和失败证据,并排除嵌套回显标题对测试观察的干扰;记录临时 QA 容量验收关闭。
  • Windows Lode 安装复用 ZIP;CLI 帮助与测试支持不带可选更新器的构建,最小体积配方限定为 ns CLI,文档说明 NSD 与 Quick 可同时保持成员关系。
  • 更新 ctutils 以处理材料标注的 RUSTSEC-2026-0385 前置项,并记录安全更新合入后的本地数据包验收。
  • 细化文件传输方案与验收条件,认领在线 Account 重新准入和文件传输工作;尚无功能交付证据。
怎么验证
  • 打开 ns 仓库 → Pull requests → #456,阅读验收记录,按其中列出的命令复现客户端与 TUN 组合场景;预期数据包正常路由和交付,结果符合该记录的验收条件。
  • 打开 ns 仓库 → Pull requests → #448,按记录中的环境与步骤复现出口捕获撤销;预期撤销后取消待发送数据。再查看 #455 的夹具修复说明,按其记录运行 UDP 中继验证。
  • 打开 ns 仓库 → Pull requests → #446、#447、#443,分别按各条目的复现说明触发启动失败、中继解析或配置错误、端口冲突;预期分别获得提前报告的启动失败、保留类型的中继错误和明确的端口仲裁说明。
  • 打开 ns 仓库 → Pull requests → #458、#459,找到缓存资格确认记录并按其命令复现;对照记录检查缓存恢复、CMake 路径和耗时。再打开 #441 对应的 CI 日志,预期能找到进度、慢测试及失败证据,嵌套回显标题不会被当成测试观察。
  • 打开 ns 仓库 → Pull requests → #444,按其安装说明在 Windows 使用 Lode 安装;预期复用 Windows ZIP 并完成安装。打开 #436、#434、#433,依照各自记录复现无更新器帮助与测试、CLI 最小体积构建及发布引导验证,预期满足对应验收条件。
重点关注
  • Windows 仅记录草稿 QA,原生安装、运行及数据通路验收待验证。
  • 移动端入口缓冲区转移缺少明确真机证据,移动端真机收发、生命周期切换及缓冲区回收待验证;整体性能收益也待验证。
  • 文件传输及在线 Account 重新准入目前属于规划与认领,功能实现和端到端验收待验证。
  • 材料提及本地、组合及安全集成验收,但未提供完整命令和结果;以上测试是复核步骤,不代表本日报已执行。
控制面 nsd · 4 项

强化节点管理与 Network 创建输入契约,补充隔离和续期验收,并明确手动 CI 的执行器路由。

做了什么
  • 拒绝含糊的节点管理命令和 Network 创建命令,补充 Network 创建失败的结构化拒绝说明。
  • 记录同一 NSD 下不同 Network 的消费者隔离实测验收,以及在线空闲消费者续期资格确认。
  • 手动质量门禁显式选择执行器,并记录手动 CI 执行器路由验收关闭。
怎么验证
  • 打开 nsd 仓库 → Pull requests → #463、#460,找到命令输入示例,按记录分别提交含糊输入和合法输入;预期含糊的节点管理及 Network 创建命令被拒绝,合法输入符合记录中的正常结果。
  • 打开 nsd 仓库 → Pull requests → #461,按结构化拒绝说明中的示例复现 Network 创建失败;预期响应符合文档列出的错误契约。再按该条目的空闲消费者续期步骤操作,预期续期结果符合其验收记录。
  • 打开 nsd 仓库 → Pull requests → #462,按验收记录在同一 NSD 下准备两个 Network 并复现消费者隔离场景;预期两个 Network 的消费者保持隔离。
  • 打开 nsd 仓库 → Pull requests → #460、#461,找到手动质量门禁的入口与执行器选择说明,按记录触发一次;预期任务路由到显式指定的执行器,检查结果符合记录中的验收条件。
重点关注
  • 材料记录了真实同 NSD 隔离和在线续期验收,但未附完整环境、命令及输出;目标部署环境中的复现结果待验证。
  • 严格输入校验对现有调用方的影响待验证,升级前应对照拒绝示例检查自动化调用。

风险与待办

真机验收边界:Windows 原生验收尚未关闭;移动端入口变更未见明确真机证据,两者均待验证,不能用 CI 或本地组合验收替代。
规划不等于交付:文件传输与在线 Account 重新准入仅见方案细化和工作认领,实际可用性待验证。

原始合入记录

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

NS(ns)(26 项)

  • docs(ci): close verified NS cache qualification (#459) — clark
    • docs(ci): record verified NS cache delivery and timings
  • fix(ci): restore NS Rust caches with stable verified CMake paths (#458) — clark
    • docs: record Windows draft QA without closing native acceptance
    • ci: remove isolated cache experiment from delivery
    • docs: confirm exact client and TUN ownership delivery
    • docs: record relay remediation and current-source process acceptance
    • fix(ci): stabilize verified CMake paths for Rust cache reuse
  • ci: integrate stable CMake cache paths without experiment workflow — clark
    • fix(ci): stabilize verified CMake paths for Rust cache reuse
    • ci: stage isolated manual NS cache qualification
    • docs: claim isolated NS QA cache qualification
  • refactor: retain packet ownership across client and TUN hooks (#456) — clark
    • docs: record combined client and TUN ownership acceptance
    • refactor(tun): reuse exclusive buffers at dispatch hooks
    • docs: consolidate unpublished packet ownership followups
    • docs: claim TUN dispatch hook ownership
    • refactor(client): retain decrypted packet ownership through routing
  • test: integrate existing UDP relay fixture allocation repair (#455) — clark
    • docs: claim integration of existing UDP relay fixture repair
  • merge: integrate attributed relay fixture repair for qualification — clark
    • docs: claim integration of existing UDP relay fixture repair
  • refactor(tun): transfer mobile ingress buffers without copying (#454) — clark
    • refactor(tun): transfer owned mobile host ingress buffers
    • docs: claim mobile host ingress ownership
  • refactor(tun): reuse client L3 and completed host output buffers (#453) — clark
    • refactor(tun): share account buffers with admitted L3 producers
    • docs: claim admitted client L3 buffer reuse
    • refactor(tun): return spent buffers after host writes
    • docs: claim spent-buffer host output adapter
  • refactor(tun): recycle captured exit and local host return buffers (#452) — clark
    • refactor(tun): recycle local host returns from startup
    • docs: refine TUN output pool startup ownership
    • docs: claim local host return buffer recycling
    • docs: record integrated account buffer reuse acceptance
    • refactor(tun): reuse account source buffers for captured exit packets
  • refactor(tun): map ingress and retire delivered replies (#451) — clark
    • docs: record security-integrated local packet acceptance
    • build: update ctutils past RUSTSEC-2026-0385
    • docs: decouple packet delivery from the release branch prerequisite
    • refactor(tun): dispatch service ingress through the mapped splitter
    • docs: claim TUN ingress adapter continuation
  • merge: integrate qualified ingress and security prerequisite into buffer reuse — clark
    • docs: record security-integrated local packet acceptance
    • build: update ctutils past RUSTSEC-2026-0385
    • docs: decouple packet delivery from the release branch prerequisite
  • fix(exit): discard pending sends when capture is withdrawn (#448) — clark
    • docs: record combined exit capture acceptance and remaining adapter scope
    • docs: retain both delivery entries and active adapter plan
    • fix(exit): cancel pending sends when capture is withdrawn
    • docs: claim current NS local-side adapter adoption [skip ci]
  • fix(quick): preserve relay DNS and configuration error codes (#447) — clark
    • docs: record integrated Quick relay acceptance
    • fix(quick): retain typed relay resolution failures
    • docs: claim Quick relay failure investigation [skip ci]
  • merge: integrate qualified Quick relay diagnostics before exit delivery — clark
    • docs: record integrated Quick relay acceptance
    • fix(quick): retain typed relay resolution failures
    • docs: claim Quick relay failure investigation [skip ci]
  • fix(quick): report daemon startup failures before readiness timeout (#446) — clark
    • fix(quick): report bounded daemon startup failures
    • docs: claim bounded Quick startup diagnostics [skip ci]
  • merge: integrate verified Quick startup diagnostics — clark
    • fix(quick): report bounded daemon startup failures
    • docs: claim bounded Quick startup diagnostics [skip ci]
  • fix(ci): recover transient read-only API observations (#445) — clark
    • docs: record source-isolated delivery recovery verification
    • fix(ci): recover transient read-only API observations
    • docs: claim transient CI observation recovery
  • plan/file-transfer — silex
    • docs: refine file transfer plan and acceptance criteria
    • docs: claim live Account readmission and file transfer [skip ci]
  • release: reuse Windows ZIPs for Lode installs (#444) — clark
    • docs: trim Lode plan record
    • release: reuse Windows zips for Lode installs
  • fix(service): explain committed port arbitration conflicts (#443) — clark
    • fix(service): explain committed port arbitration conflicts
    • docs: claim Service port conflict diagnostics
  • docs: close verified temporary QA capacity (#442) — clark
    • docs: close verified temporary QA capacity
  • feat(ci): expose live nextest progress, slow tests and failures (#441) — clark
    • fix(ci): keep nested echoed headers outside test observations
    • feat(ci): expose bounded live nextest progress and failure evidence
  • docs(cli): describe simultaneous NSD and Quick memberships (#439) — clark
    • docs(cli): describe simultaneous NSD and Quick memberships
  • fix(cli): qualify help and tests without the optional updater (#436) — clark
    • fix(cli): qualify help and tests without the optional updater
  • build: scope the minimal-size recipe to the ns CLI (#434) — clark
    • build: scope the minimal-size recipe to the ns CLI
  • fix(ci): avoid duplicate CMake and qualify release bootstrap (#433) — clark
    • fix(ci): let rustup resolve the pinned bootstrap toolchain
    • fix(ci): avoid duplicate CMake and qualify release bootstrap

控制面(nsd)(4 项)

  • fix(api): reject ambiguous node management commands (#463) — clark
    • fix(api): reject ambiguous node management commands
    • docs: claim strict node management command input [skip ci]
  • docs: qualify same-NSD Network consumer isolation (#462) — clark
    • docs: record real same-NSD Network isolation acceptance
    • docs: release parallel Network claim pending ownership alignment
    • docs: claim same-NSD parallel Network qualification
  • fix(api): complete Network creation error contracts and acceptance (#461) — clark
    • docs: close verified manual CI runner routing
    • fix(api): document structured Network creation rejections
    • docs: record live idle-consumer renewal qualification
  • fix: validate Network commands and route manual CI (#460) — clark
    • fix(ci): select explicit runner for manual quality gates
    • fix(api): reject ambiguous Network creation commands