Skip to content

release: 收口远端合同等待修复与 2.0.3 发布候选 - #773

Merged
SunSi12138 merged 7 commits into
mainfrom
release/2.0.3-main-candidate
Oct 3, 2026
Merged

SunSi12138 merged 7 commits into
mainfrom
release/2.0.3-main-candidate

Conversation

@SunSi12138

@SunSi12138 SunSi12138 commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

SharpLink 动态注册/替换之后,消费者需要等待新合同 ID/hash 对远端可见,避免同步 Get 抢在 manifest 更新之前绑定。2.0.3 增加可取消的远端合同等待接口及 multi-cluster 变体,保留已有 Get 校验、错误合同立即失败和替换补偿边界;同时收口版本元数据、三平台竞态测试修复与逐样本分配诊断。API 为加法变更,wire/生成 ABI 保持原兼容约束。

本候选包含正常进入 dev 的 #768、#769、#771、#772、#774。main 严格要求 head 包含最新 main,受保护 dev 拒绝直接 update-branch,因此从 main 创建发布候选并合入已审查 dev;保留原 #770。当前 head 11cf95315867a9ba9ecae213c75441877192e015 的完整 tree a3e4c6c534d1b9cbb0717dbda926555b53b65298 与 dev 8a57329e8beae1a811eff6c1084aa1b775c7924a 一致,并包含 main ancestry。

验证与发布状态:

  • 五个源 PR 的 Fast/相关检查通过。fix(test): 保证 dispatcher 竞态失败后的线程与池清理 #774 的 CI 为 Unit1877、Generator269、LoadTest60 全通过、零跳过;隔离早期故障注入证明 fixture 清理后可继续通过原竞争断言。
  • 原 head29a93760 的 Release Gate macOS 两个 dispatcher race fixture 失败,日志保留。fix(test): 保证 dispatcher 竞态失败后的线程与池清理 #774 修复 dedicated worker 与失败 release/join/清池,保留全部并发断言;日志不能独立证明计数失败根因,不能据此宣称生产池逻辑有缺陷。
  • 当前新精确 SHA 必须通过新的完整 Release Gate,不能用同 tree 或旧 head 替代。正常合入 main 后再次验证最终 main SHA,完成本地冻结、八包验证/空缓存安装、完整性能矩阵及 5 小时 release soak,随后才创建正式标签/发布包。
  • 原 release: 发布 2.0.3 远端合同可见性修复 #770 allocation 第四样本的稳定性失败保留,诊断补丁没有修改预算或通过条件,新 gate 通过不表示原失败根因已被证明。

关联 SharpLink #760 / Kan #203。正式包与标签尚未创建。

SunSi12138 and others added 5 commits October 3, 2026 09:12
* fix(client): 补齐动态注册与替换的远端合同等待边界 (#760)

* test: 将替换夹具纳入生成程序集依赖门禁 (#760)

---------

Co-authored-by: sunsi <suns12138@163.com>
* chore(release): 准备远端合同等待修复版本 2.0.3

* test(release): 同步 2.0.3 生成清单快照

* fix(release): 校准生成快照并限制标签推送发布

* test(release): 验证手工门禁不会发布 NuGet

* fix(release): 按单行读取发布条件

* fix(ci): 保留待校验的 GitHub 表达式字面值

---------

Co-authored-by: sunsi <suns12138@163.com>
* fix(test): 消除发布门禁的心跳与坏握手时序竞态

* fix(test): 明确 deadline 发送屏障并等待异常路径清理

---------

Co-authored-by: sunsi <suns12138@163.com>
Co-authored-by: sunsi <suns12138@163.com>
@SunSi12138
SunSi12138 merged commit 412d415 into main Oct 3, 2026
64 of 65 checks passed
@SunSi12138
SunSi12138 deleted the release/2.0.3-main-candidate branch October 3, 2026 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant