NSIO 开发日报

11月21日 / 周六

2026-11-21,NS 推进 Exit 路由、会话恢复和普通构建修复,数据网关修正成功入站的处理判定,但修复后全栈容量验收仍未达标。共享协议新增 Node 路由保留式清理命令,要求相关组件协调采用。

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

今日要点

01
全栈容量验收仍未达标nsgw
数据网关 #249 修正了 Exit 入站分发成功却未被标记为已处理的问题。修复后全栈容量记录仍显示未达标,不能据此通过容量验收。
02
Exit 专项结项与主线交付需分别确认ns
NS 已合入 Default Exit UDP 丢包和 rtnetlink 对账的专项结项记录。#1320 曾记录 #1310 和 #1317 未进入 main,另有保留 Default 捕获的旧修复被主线实现取代。发布前仍需按目标构建核对实际包含的修复。
03
刷新集合时保留已授权 Peer 的权限ns
NS #1322 修复了应用刷新后的 Peer 集合时的权限连续性。#1304 修复嵌入式 Start 读取 Account 投影的一致性,并记录了签名 Core 启动和托管首个请求的验收结果。
04
Node 路由清理命令需要协调升级ns-shared
共享协议新增 clear-except 命令,用于清理路由时保留指定项。相关组件需要协调采用,混合版本行为待验证。

分模块详情

NS ns · 57 项

集中修复 Exit 路由与选择状态、Service 会话接管和 Core 启动一致性,并补充 ABI 6 与真实入口的交接和回归记录。

做了什么
  • 修复切换 Exit 提供方时的旧选择残留,以及拒绝后首次清除仍被 NSD 保留的选择。补齐旧版选择重放、孤立 Node 路由恢复、冲突清扫后重试和延迟启动清扫。
  • Default Exit Linux 路由应用改为有界批处理,按阶段记录捕获状态,处理替换和回滚,并让仅执行核验的对账保留已应用的捕获。Exit 对账与 Node underlay 观测改用 rtnetlink 读取。
  • 退役旧 Gateway Exit 连接器引用,支持无连接器的独立守卫,修复默认特性构建和 Runtime 测试接口,保留无可选 Exit 时的守卫断言。Linux kill switch 补齐非 root 拒绝反馈并抑制不符合条件的重试。
  • 在后继 Service 会话连接前保留拒绝后的接管责任,清理过时的接入工作,让同一会话的流和 Snapshot 读取共享一次尝试,并限制报告重置对会话进度的影响。中继交接连续性另有待处理提案。
  • 保护已授权 Peer 在集合刷新期间的权限,立即确认新安装的 publisher listener 授权,并在嵌入式 Start 中读取一致的已提交 Account 投影。记录 ABI 6 publisher、实时 FFI、Linux 迁移及 publisher 服务运行交接,并维护普通 Peer 回归的真实入口。
怎么验证
  • 在 ns 仓库运行 git log --oneline --all,找到 rebuild real-stack harness binaries 对应记录,再用 git show 加该行开头的提交号打开验收说明。按说明为目标构建重建测试程序并复跑 Default Exit,预期未变更的对账不会撤掉捕获,切换提供方会替换旧选择。
  • 运行 git log --oneline --all,找到 qualified ordinary Core public Exit and cleanup acceptance,再用 git show 加提交号打开验收记录。按记录走普通 Core 的公开 Exit 入口并清除选择,预期公开操作有效,清理后旧选择不再活动。
  • 运行 git log --oneline --all,找到 record signed Core startup and managed first-request results,再用 git show 加提交号打开 QA 记录。按记录启动签名 Core 并发出首个托管请求,预期启动读取到一致的已提交 Account 状态,首个请求符合记录中的验收条件。
重点关注
  • 最终目标构建的真机组合回归待验证,重点包括默认构建下的 Linux kill switch、publisher listener 即时授权和普通 Peer 真实入口。已有记录涵盖 Linux live、macOS live 路由与 helper 恢复,以及 iOS 设备恢复,证据范围以各记录为准。
  • Service 中继交接已有故障观测和待处理提案,恢复期间的连续性待验证。realm-peers 再发布材料为代码阅读记录,运行时行为待验证。
数据网关 nsgw · 14 项

修正 Exit 入站处理结果,减少重复的绑定检查和传输维护,并记录仍未达标的全栈容量验收。

做了什么
  • 成功的 Exit 入站分发返回已处理,并补充 TCP 测试阶段引擎丢包报告的归因记录。
  • 内核无变化时跳过重复读取 Exit 绑定。复用 Node transport gate 的输入,并限制丢包报告触发的维护频率。
  • 修复双地址族状态行中的 IPv4 Peer 选择和 secondary view 的创建顺序,调整 relayd 容量测试的读取时序。记录 Default Exit 排查结项、剩余容量门槛和 K1 warm-outage 测试程序的复验任务。
怎么验证
  • 在 nsgw 仓库运行 git log --oneline --all,找到 record dispatch verdict verification,再用 git show 加提交号查看验证记录。按记录发送一条能成功分发的 Exit 入站流量,预期分发结果标记为已处理。
  • 运行 git log --oneline --all,找到 record the final real-stack capacity acceptance run,再用 git show 加提交号查看容量记录。用记录中的拓扑和命令复跑,将实测结果逐项与记录中的门槛比较。预期各项均达到相应门槛才判定通过。
重点关注
  • 已有修复后全栈容量记录显示未达标。后续构建能否达标以及 K1 warm-outage 真机复验结果均待验证。
共享协议 ns-shared · 3 项

新增 Node 路由 clear-except 协议命令,并更新公开入站主机契约的交付跟踪。

做了什么
  • 新增 Node 路由 clear-except 命令,协议说明要求相关组件协调采用。
  • #51 完成公开入站主机契约任务跟踪,并调整对应变更日志条目的日期顺序。
怎么验证
  • 在 ns-shared 仓库运行 git log --oneline --all,找到 add Node route clear-except command 和 require coordinated clear-except adoption,分别用 git show 加对应提交号查看定义与采用说明。待两端按说明部署后,在测试环境保留一条指定路由并发起该命令,预期指定路由保留,其余符合清理范围的路由被移除。
重点关注
  • clear-except 的跨组件联调、混合版本行为和真机路由清理结果待验证。

风险与待办

上线容量门槛:nsgw 修复后的全栈容量验收仍未达标,K1 warm-outage 已记录复验任务,结果待验证。
目标构建的修复覆盖:专项结项、分支组合和 main 交付记录覆盖的提交范围不同。目标构建包含哪些 Default Exit 修复,以及最终真机回归结果,均待验证。
协议升级兼容性:Node 路由 clear-except 要求协调采用。旧组件与新组件混用时的路由清理行为待验证。

原始合入记录

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

NS(ns)(57 项)

  • test: preserve current real entrypoints for ordinary peer regression — quick
    • docs(plan): update mock retirement verification status
    • docs(r3): record the abi 6 publisher handoff
    • docs(r3): record linux migration acceptance
    • docs(r3): record the live publisher ffi handoff
    • docs(r3): record publisher service operation acceptance
  • refactor/s3-real-entrypoints — silex
    • docs(plan): update mock retirement verification status
    • docs(r3): record the abi 6 publisher handoff
    • docs(r3): record linux migration acceptance
    • docs(r3): record the live publisher ffi handoff
    • docs(r3): record publisher service operation acceptance
  • chore(s3): synchronize the entrypoint branch with main — silex
    • docs: synchronize bounded Exit closeout tracking
    • docs(task): record code-reading notes for the realm-peers republication
    • docs(task): close the Default Exit UDP loss and rtnetlink reconcile tasks
    • docs(exit): correct the forwarding path and conflict checks
    • docs: close the verified capture expiry channel diagnosis
  • Merge PR #1326: source-bound Exit investigation closeout — clark
    • docs: synchronize bounded Exit closeout tracking
    • docs(task): close the Default Exit UDP loss and rtnetlink reconcile tasks
  • Merge commit '7406c28fcd98b35ac4c188569bd9f1a95ea8e2aa' into docs/20261121-exit-closeout-current-review — quick
    • docs(task): record code-reading notes for the realm-peers republication
    • fix: confirm publisher listener grants immediately
  • Merge PR #1328: scoped source-reading note with no runtime claim — clark
    • docs(task): record code-reading notes for the realm-peers republication
  • Confirm newly installed publisher listener grants immediately — noah
    • fix: confirm publisher listener grants immediately
  • chore(exit): merge connector-free exit guard into main — silex
    • docs(exit): correct the forwarding path and conflict checks
    • refactor(exit): remove retired connector references
    • fix(exit): plan standalone guards without a connector
  • main — silex
    • docs: close the verified capture expiry channel diagnosis
  • Merge PR #1324: close independently verified capture expiry diagnosis — clark
    • docs: close the verified capture expiry channel diagnosis
  • Merge PR #1322: preserve peer permissions across verified collection refresh — clark
    • docs: fix the changelog merge of the landed peer collection refresh entries
    • docs(test): rebuild real-stack harness binaries for main and re-run the Default Exit validation
    • docs(task): claim real-stack harness rebuild for current main
    • fix(runtime): keep an authorized peer permitted while a refreshed peer collection is applied
    • fix(route): test the pending journal batch as non-empty at the apply entry
  • Merge PR #1320: record actual stacked Default Exit delivery state — clark
    • docs(pma): record that the Default Exit loss fixes #1310 and #1317 are stranded off main
  • Merge PR #1316: no-choice guard regression with current ordinary-build fix — clark
    • docs: record verified current ABI6 Runtime test repair
    • docs: claim current ABI6 Runtime test interface repair
  • fix(exit): restore the default-feature build broken by the kill-switch connector — eleven
    • fix(exit): keep the default-feature build with the kill-switch connector
    • docs(task): claim the default-feature build repair for the kill-switch connector
  • test: retain no-choice guard assertion on the merged Runtime fixtures — quick
    • docs(task): claim the ns-runtime lib tests compile repair
  • test(runtime): repair lib tests left stale by the gateway exit retirement — eleven
    • docs(task): claim the ns-runtime lib tests compile repair
  • test(real-stack): rebuild harness binaries for current main and re-run the Default Exit validation with #1310 — eleven
    • docs(test): rebuild real-stack harness binaries for main and re-run the Default Exit validation
    • docs(task): claim real-stack harness rebuild for current main
    • docs: record retained Service authority during relay recovery
    • docs: claim Service relay handoff investigation
    • docs: plan managed Service relay handoff continuity
  • Merge main into runtime lib tests compile repair — eleven
    • fix(exit): keep the Default capture applied while the reconcile only verifies
    • docs(task): claim default exit residual udp loss
  • Merge commit 'af3d2550fe7f9a99dc7904b55f922fae98ec5867' into test/20261121-current-abi6-interfaces-delivery — quick
    • fix(exit): keep the Default capture applied while the reconcile only verifies
    • docs(task): claim default exit residual udp loss
  • test(exit): pin the Default capture staying applied across unchanged reconcile passes (fix superseded by main 8821496c6) — eleven
    • fix(exit): keep the Default capture applied while the reconcile only verifies
    • docs(task): claim default exit residual udp loss
  • chore(s3): reconcile main merge conflicts — silex
    • docs(exit): close gateway exit retirement
    • docs(task): record netns capture-source connector diagnosis
    • docs: record retained Service authority during relay recovery
    • docs(task): claim netns capture-source connector repair
    • docs: claim Service relay handoff investigation
  • Merge main into default exit residual loss branch — eleven
    • docs(exit): close gateway exit retirement
    • docs(task): record netns capture-source connector diagnosis
    • docs: record retained Service authority during relay recovery
    • docs(task): claim netns capture-source connector repair
    • docs: claim Service relay handoff investigation
  • chore(exit): merge gateway exit retirement — silex
    • docs(exit): close gateway exit retirement
    • docs(exit): record ios device recovery
    • docs(exit): verify macos helper recovery
    • docs(exit): record macos live route acceptance
    • docs(exit): close linux live acceptance
  • chore(exit): reconcile the main merge — silex
    • docs: record retained Service authority during relay recovery
    • docs: claim Service relay handoff investigation
    • docs: plan managed Service relay handoff continuity
    • docs(exit): record gate repair and underlay verification
    • fix(exit): repair platform and dependency checks
  • main — ijs
    • docs(task): record netns capture-source connector diagnosis
    • docs: record retained Service authority during relay recovery
    • docs(task): claim netns capture-source connector repair
    • docs: claim Service relay handoff investigation
    • docs: plan managed Service relay handoff continuity
  • Merge PR #1313: netns connector fixture diagnosis and task closure — clark
    • docs(task): record netns capture-source connector diagnosis
    • docs(task): claim netns capture-source connector repair
  • Merge #1297 branch (superseded by main's retained Default capture) into peer endpoint branch — eleven
    • docs(exit): record gate repair and underlay verification
    • fix(exit): repair platform and dependency checks
    • perf(platform): read the Node underlay observation over rtnetlink
    • docs(pma): claim the Node underlay observation over rtnetlink
    • docs(exit): record composed head verification
  • Merge PR #1311: observed Service handoff failure and pending safety proposal — clark
    • docs: record retained Service authority during relay recovery
    • docs: claim Service relay handoff investigation
    • docs: plan managed Service relay handoff continuity
  • Merge main into default exit residual loss branch — eleven
    • docs(exit): record gate repair and underlay verification
    • fix(exit): repair platform and dependency checks
    • perf(platform): read the Node underlay observation over rtnetlink
    • docs(pma): claim the Node underlay observation over rtnetlink
    • docs(exit): record composed head verification
  • Merge PR #1304: consistent committed Account projection during embedded Start — clark
    • docs(qa): record signed Core startup and managed first-request results
    • fix(core): read a consistent Account projection during embedded Start
  • Merge main into consistent Account Start repair — quick
    • docs(exit): record gate repair and underlay verification
    • fix(exit): repair platform and dependency checks
    • perf(platform): read the Node underlay observation over rtnetlink
    • docs(pma): claim the Node underlay observation over rtnetlink
    • docs(exit): record composed head verification
  • main — ijs
    • docs(exit): record gate repair and underlay verification
    • fix(exit): repair platform and dependency checks
    • docs(exit): record composed head verification
    • docs(exit): record privilege feedback verification
    • fix(exit): reject non-root enable and suppress ineligible guard retries
  • Preserve working Exit selections and add a Linux kill switch — noah
    • docs(exit): record gate repair and underlay verification
    • fix(exit): repair platform and dependency checks
    • docs(exit): record composed head verification
    • docs(exit): record privilege feedback verification
    • fix(exit): reject non-root enable and suppress ineligible guard retries
  • Merge main and qualify the Exit guard underlay inputs — ijs
    • perf(platform): read the Node underlay observation over rtnetlink
    • docs(pma): claim the Node underlay observation over rtnetlink
  • perf(platform): read the Node underlay observation over rtnetlink — eleven
    • perf(platform): read the Node underlay observation over rtnetlink
    • docs(pma): claim the Node underlay observation over rtnetlink
  • Merge main into default exit residual loss branch — eleven
    • fix(route): harden the ip batch and settle replacements and rollback
    • Reconcile legacy route retries after a conflict sweep
    • Keep deferred startup route sweeps due
    • fix(exit): replay a legacy different-ID select unchanged
    • Fix Node route recovery custody transitions
  • Merge main and compose Exit guard with route recovery and batches — ijs
    • fix(route): harden the ip batch and settle replacements and rollback
    • Reconcile legacy route retries after a conflict sweep
    • Keep deferred startup route sweeps due
    • fix(exit): replay a legacy different-ID select unchanged
    • Fix Node route recovery custody transitions
  • fix(route): bound the Default Exit host route application — noah
    • fix(route): harden the ip batch and settle replacements and rollback
    • docs(pma): record the Default route apply verification
    • fix(route): journal and read the Linux capture per stage, not per object
  • main — ijs
    • Reconcile legacy route retries after a conflict sweep
    • Keep deferred startup route sweeps due
    • Fix Node route recovery custody transitions
    • Record Node route recovery verification
    • Recover orphaned Node route selections
  • Recover orphaned Node route selections — noah
    • Reconcile legacy route retries after a conflict sweep
    • Keep deferred startup route sweeps due
    • Fix Node route recovery custody transitions
    • Record Node route recovery verification
    • Recover orphaned Node route selections
  • Merge main into Node route recovery — ijs
    • fix(exit): replay a legacy different-ID select unchanged
    • fix(control): share one attempt between a session's stream and Snapshot reads
    • fix(exit): replay a legacy select only after clearing the selection beside it
    • docs: record qualified ordinary Core public Exit and cleanup acceptance
    • fix(control): abandon superseded session admission work on a live refusal
  • fix(exit): end the NSD selection that a refusal left active — noah
    • fix(exit): replay a legacy different-ID select unchanged
    • fix(exit): replay a legacy select only after clearing the selection beside it
    • fix(exit): end the held NSD selection on the first clear after a refusal
    • fix(exit): end the NSD selection that a refusal left active
  • fix(control): keep refusal custody until the service session connects — noah
    • fix(control): share one attempt between a session's stream and Snapshot reads
    • fix(control): abandon superseded session admission work on a live refusal
    • fix(control): abandon an obsolete stream opening when recovery needs a fresh session
  • main — ijs
    • docs: record qualified ordinary Core public Exit and cleanup acceptance
  • Merge PR #1302: ordinary Core public Exit and cleanup evidence — clark
    • docs: record qualified ordinary Core public Exit and cleanup acceptance
  • Merge PR #1300: qualified refusal custody and owned component shutdown — clark
    • docs: record verification of refusal custody before the connected session
    • docs(pma): claim independent control concurrency qualification
    • docs: describe refusal custody before the connected session
    • fix(control): keep refusal custody until the service session connects
  • Fence Service report resets and preserve session progress — noah
    • docs: record Service report review verification
    • fix: fence Service report work and session progress
  • main — ijs
    • fix(exit): replace the active selection when switching providers
    • docs: retain cross-target cache failure and combined verification scope
    • docs: retain reproduced pending-bind refusal and scoped follow-up
    • docs: scope pending-bind refusal qualification
  • test: compose current refusal-custody owner and shared test barrier — quick
    • docs: record verification of refusal custody before the connected session
  • test: compose unchanged report-reset and session-progress repair — quick
    • docs: record Service report review verification
    • fix: fence Service report work and session progress
  • test: compose unchanged pending-connect custody repair — quick
    • docs: describe refusal custody before the connected session
    • fix(control): keep refusal custody until the service session connects
  • Merge PR #1294: preserve independently qualified pre-bind refusal regression — clark
    • docs: retain cross-target cache failure and combined verification scope
    • docs: retain reproduced pending-bind refusal and scoped follow-up
    • docs: scope pending-bind refusal qualification
  • test: compose independent refusal acceptance with current provider-switch main — quick
    • fix(exit): replace the active selection when switching providers
  • fix(exit): replace the active selection when switching providers — noah
    • fix(exit): replace the active selection when switching providers
  • main — ijs
    • docs: qualify netlink platform evidence and unresolved loss
    • docs(pma): record refusal custody during preparation
    • fix(control): retire a refused attachment while its preparation is pending
    • docs(route): record the netlink read verification and residual tasks
    • docs(pma): approve the scoped Account startup read repair
  • fix(control): keep service admission after an unknown report outcome — noah
    • docs(pma): record refusal custody during preparation
    • fix(control): retire a refused attachment while its preparation is pending
    • docs(pma): record the recovery custody review fix
    • fix(control): keep recovery custody until a successor session is admitted
    • docs(pma): record the service admission review follow-up
  • main — ijs
    • docs: qualify netlink platform evidence and unresolved loss
    • docs(route): record the netlink read verification and residual tasks
    • perf(route): read the exit reconcile state over rtnetlink

数据网关(nsgw)(14 项)

  • Merge PR #249: preserve successful Exit ingress as handled — clark
    • docs(exit): record dispatch verdict verification
    • fix(exit): report successful ingress dispatch as handled
  • docs: reconcile Exit dispatch with current integration records — quick
    • docs(capacity): attribute engine drop reports during TCP legs
  • Merge PR #248: source-bound Exit dispatch counters — clark
    • docs(capacity): attribute engine drop reports during TCP legs
  • docs(capacity): final real-stack capacity acceptance run on the post-fix stack (acceptance not met) — eleven
    • docs(capacity): complete the iperf3 message truncated in the raw tables
    • docs(capacity): record the final real-stack capacity acceptance run on the post-fix stack
    • docs(task): claim the final real-stack capacity acceptance
  • docs(pma): claim the K1 warm-outage harness re-qualification — eleven
    • docs(pma): claim the K1 warm-outage harness re-qualification
  • Merge PR #244: record Default Exit investigation and remaining capacity gates — clark
    • docs(pma): close out the Default Exit loss investigation records
  • Merge PR #243: independently reviewed and qualified Gateway delivery — clark
    • docs: claim current CLI real-stack observation repair
  • test(relayd): hold the awaited read in the capacity process test — eleven
    • docs(pma): record the custody denial test timeout investigation
  • perf(exit): skip re-reading unchanged Exit bindings while the kernel is quiet — eleven
    • docs(pma): retain the original single claim during Gateway integration
    • perf(exit): skip re-reading unchanged Exit bindings while the kernel is quiet
    • docs(pma): claim the Gateway Exit binding validation cadence
  • fix(ci): synchronize the qualified Gateway branch with main — quick
    • fix(test): select the exact IPv4 peer among dual-family status rows
    • fix(test): create the secondary view after its owned network exists
  • Merge PR #238: independently reviewed and qualified Gateway delivery — clark
    • fix(test): select the exact IPv4 peer among dual-family status rows
    • fix(test): create the secondary view after its owned network exists
  • perf(exit): compose reviewed kernel watch with current transport-gate main — quick
    • docs: record the transport gate projection, measurements and residual tasks
    • perf(server): project the Node transport gate and throttle ladder passes on drop reports
    • docs(task): claim transport-gate-realm-size
  • test: compose multi-NSD payload acceptance with the delivered transport gate — quick
    • docs: record the transport gate projection, measurements and residual tasks
    • perf(server): project the Node transport gate and throttle ladder passes on drop reports
    • docs(task): claim transport-gate-realm-size
  • Merge PR #237: reuse Node transport inputs and bound drop-triggered upkeep — clark
    • docs: record the transport gate projection, measurements and residual tasks
    • perf(server): project the Node transport gate and throttle ladder passes on drop reports
    • docs(task): claim transport-gate-realm-size

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

  • Require coordinated Node route clear-except adoption — noah
    • docs(control): require coordinated clear-except adoption
  • Add Node route clear-except contract — noah
    • feat(control): add Node route clear-except command
  • Merge PR #51: complete delivered public ingress contract tracking — clark
    • docs(pma): place the public ingress host changelog entry in date order
    • docs(pma): complete the public ingress host contract task