NSIO 开发日报

8月20日 / 周四

2026-08-20包含23项提交,分布于NS和控制面。NS方向推进遗留系统退休验收,完成平台crate重命名和传输路由稳定化;控制面完成账户范围权限体系、API文档实现和自动化表面审计,修复存储层18个事务迁移和多个UI问题。

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

今日要点

01
完成账户作用域与设备权限体系权限
新增账户作用域授权检查、机器库存批处理和设备权限完整性功能,直接影响多租户隔离和权限决策。
02
NSC覆盖设备网关会话劫持修复安全
防止覆盖设备劫持出口网关会话,保护核心网关路由逻辑安全性。
03
NS遗留系统退休验收架构
完成遗留验证文档、原生和交叉QA证据、平台crate重命名,支持架构演进和维护简化。
04
API文档和自动化表面完成API
实现OpenAPI文档完整分页、API令牌和webhook签名验证记录、用量计费表面审计,提升文档完整性和集成可靠性。

分模块详情

NS ns · 7 项

遗留系统退休推进,隧道和NSC稳定化修复。

做了什么
  • 遗留系统退休重构:完成验收文档、libns引用重命名、原生/交叉QA证据、归档验证状态、windows平台crate修复
  • 隧道修复:NSD撤销机器后停止候选报告
  • NSC修复:防止覆盖设备劫持出口网关会话
  • QA修复:清除交叉目标lint关卡、移除工作区QA多余返回
  • 依赖清理:移除未使用的工作区依赖
  • 出口传输稳定化:稳定化transport route admission
怎么验证
  • 验证遗留引用重命名:在NS模块搜索legacy/libns旧名称,预期零结果
  • 验证隧道候选报告停止:模拟NSD撤销机器后,检查隧道代理日志无后续报告
  • 验证NSC会话保护:配置覆盖设备加入网络,验证不会篡夺出口网关会话
  • 验证工作区QA通过:执行完整工作区检查,预期所有检查项绿灯
重点关注
  • 遗留系统退休的QA证据记录为文档形式,具体功能验证待在测试环境完整执行
  • 出口传输路由稳定化的实际表现待在生产网络条件下验证
控制面 nsd · 16 项

权限体系完善、API文档建设、存储层迁移和UI优化。

做了什么
  • 权限体系:账户作用域授权检查、机器库存批处理、设备权限完整性
  • 出口选择修复:避免存储失败被掩盖为无出口选择,记录TASK-203根因(NSGW消息丢弃、实时路径陈旧)
  • 控制引导快速开始:修复服务器命令引号、本地控制引导启动、QUIC代理指纹打印
  • 网关出口配对调查:记录NFT证据和根因分析(仅调查,未修复)
  • 策略修复:ACL资源关联所属网关命名
  • 存储迁移:迁移遗漏的18个SQLite写事务、写锁前置获取优化
  • Web UI:Space菜单宽度匹配触发器、切换器样式完善
  • 设备流修复:错误响应返回JSON而非text/plain
  • 用量计费:允许已发布平台网关计费所服务Networks
  • API文档:OpenAPI索引完整分页、文档页面实现、读取合同审计
  • SSO重构:停止租户侧企业身份管理路由
  • 自动化表面审计:API令牌/webhook/用量表面完整审计(TASK-200)、webhook交付签名验证记录(TASK-199)
怎么验证
  • 验证Space菜单宽度:打开Web控制台,切换Space菜单,检查下拉菜单宽度与触发按钮对齐
  • 验证账户权限隔离:以租户A用户身份调用API访问租户B设备,预期返回403禁止
  • 验证机器库存性能:查询1000+设备,预期响应时间<2秒
  • 验证出口选择错误报告:配置无效存储后选择出口,预期收到具体存储错误而非模糊提示
  • 验证本地控制引导:执行./quickstart.sh脚本,预期本地nsd启动成功且QUIC代理输出引导指纹
  • 验证OpenAPI文档分页:访问Web控制台API文档页面,预期完整加载OpenAPI规范且能搜索所有endpoint
  • 验证设备流JSON错误:调用/auth/device-flow传入无效参数,预期返回application/json格式错误
  • 验证SSO变更:打开Web控制台检查导航菜单已移除Enterprise identity项
重点关注
  • 账户作用域权限为新功能,跨租户/跨机器的权限隔离完整性待充分验证
  • 网关出口配对调查仅完成根因分析,修复未实现待验证
  • SQLite写锁前置获取性能待在高并发写入场景下验证
  • 存储事务迁移涉及关键写操作,数据一致性和原子性待完整验证
  • Webhook交付和签名验证审计仅为记录形式,生产可靠性待验证
  • SSO路由移除涉及流程重构,多租户环境兼容性待验证

风险与待办

存储事务迁移的数据一致性风险:迁移18个SQLite写事务涉及多个关键操作,需确保事务隔离性和原子性,建议在完整数据集上验证后方可上线。
权限隔离体系覆盖不足风险:账户作用域权限跨越API、存储、UI多层,需系统性端到端集成测试确保所有权限检查点完整覆盖。
网关出口配对问题未完全解决:调查仅记录了NSGW消息丢弃和实时路径陈旧问题,修复代码未提交,用户影响待进一步评估。
Webhook和自动化可靠性待验证:自动化表面审计仅为文档形式,webhook实际交付、重试机制和签名验证的生产可靠性需实际运行验证。

原始合入记录

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

NS(ns)(7 项)

  • refactor/ns-legacy-retirement — silex
    • docs(plan): close legacy retirement verification
    • docs(identity): rename active libns references
    • docs(plan): record native and cross qa evidence
    • fix(control): use renamed windows platform crate
    • docs(plan): record archive verification status
  • fix(tunnel-wg): stop candidate reporting once NSD revokes the machine — eleven
    • fix(tunnel-wg): stop candidate reporting once NSD revokes the machine
  • fix(nsc): stop the overlay device from stealing the exit's gateway session — eleven
    • fix(nsc): stop the overlay device from stealing the exit's gateway session
  • fix(qa): restore workspace QA to green — eleven
    • fix(qa): clear the gates hidden behind the cross-target lint failure
    • fix(host-smoke): drop the needless return that kept workspace QA red
  • fix: remove unused workspace dependencies — silex
  • docs(plan): define ns legacy retirement — silex
  • fix(exit): stabilize transport route admission — silex

控制面(nsd)(16 项)

  • fix(web): match Space menu width to its trigger — eleven
    • fix(web): match Space menu width to its trigger
  • fix(exit): stop laundering store failures into "no exit selection" — eleven
    • fix(exit): stop laundering store failures into "no exit selection"
    • docs(task-203): correct the ping root cause; the real defect is a silent fail-open
    • docs(task-203): root cause — the cross-realm wake-up is a message NSGW discards
    • docs(task-203): instrumentation settles emit-vs-install; defect is live-path staleness
  • feat/control-bootstrap-quickstart — silex
    • fix(quickstart): quote server command
    • feat(dev-host): add local control bootstrap
    • feat(quic-proxy): print bootstrap fingerprint
  • investigate/gateway-exit-pairing-missing — eleven
    • docs(task-203): record the gateway nft evidence and the single next step
  • feat: complete account scope and machine context — clark
    • fix: enforce account scope authorization
    • perf: batch organization machine inventory
    • feat: complete account scope and device authority
  • fix(policies): name the gateway an ACL resource belongs to — eleven
    • fix(policies): name the gateway an ACL resource belongs to
  • fix(store): migrate the 18 write transactions the first pass missed — eleven
    • fix(store): migrate the 18 write transactions the first pass missed
  • fix(store): take the SQLite write lock up front in write transactions — eleven
    • fix(store): take the SQLite write lock up front in write transactions
  • fix(web): style the Space switcher — eleven
    • fix(web): style the Space switcher
  • fix(device-flow): answer rejections with JSON, not axum text/plain — eleven
    • fix(device-flow): answer rejections with JSON, not axum's text/plain
  • fix(usage): let published platform gateways bill the Networks they serve — eleven
    • fix(usage): let published platform gateways bill the Networks they serve
  • fix(api-docs): page the complete OpenAPI index — eleven
    • docs(api): record live read contract audit
    • fix(api-docs): page the complete OpenAPI index
  • feat(web): implement the API documentation page — eleven
    • feat(web): implement the API documentation page
  • refactor(sso): stop routing tenant-side enterprise identity administration — eleven
    • refactor(sso): stop routing tenant-side enterprise identity administration
  • fix(automation): audit and complete the API-token, webhook, and usage surfaces — eleven
    • docs: renumber the automation surface audit to TASK-200
    • docs: record the live webhook delivery and signature verification for TASK-199
    • docs: record TASK-199 / PLAN-116 automation surface audit
    • feat(web): drop Enterprise identity from the console navigation
    • docs(api): describe the console's current feature set and hold it there
  • fix(quickstart): restore pinned transport bootstrap — silex