Repository navigation
fix(release): 修复 1.3.1 边界行为并补齐兼容验收 - #16
Merged
Merged
Conversation
added 3 commits
November 11, 2026 13:59
修复 sticky 重入和发送恢复反序导致的 replay 回退,保留代际、背压、取消及订阅通知契约;scope 绑定在登记前校验 Job,Android/Compose 同步拒绝无效生命周期阈值。 增加正式 1.3.0 原版编译字节码、API 快照与候选 R8/身份检查,保留历史兼容矩阵;将 private 内部类的 JVM 差异单独记录,公开符号仍严格校验。源码目标切换为未发布的 1.3.1,公开安装仍为 1.3.0。 本地 API、201 core/81 Android/2 示例 JVM 测试、release lint 和候选制品校验通过;原型候选的 Java 8 同字节码及 Android/Compose R8/身份检查通过,五项负向校验按预期失败且清除旧报告。首次性能测量发现 sticky 分配回退,已依据采样减少单值 replay 分配,最终正式对照和 API21/35 CI 待验收。
首轮 PR 九项检查和 API21/35 新增阶段均已核对。本机正式测量受后台负载影响,保留六组实际数据及环境限制;PR 显式启用现有 consumers job 的三场景正式对照,保持原必需检查和 smoke,不设置性能硬阈值。YAML 解析、差异检查与七项基准脚本回归通过,最终 CI 待执行。
第二轮九项 CI 及 API21/35 的 8/12/11 阶段均通过并核对候选身份。保存同 runner 正式 JMH 对照:三场景吞吐比约 1.003/1.018/0.998,sticky 分配下降约 22%,保留误差、模式差异和 JVM 限制。生产与基准输入不变;最终文档提交仍执行完整 CI,随后核验合并 main CI。链接、JSON、正式参数与差异检查通过。
logan0817
marked this pull request as ready for review
November 11, 2026 06:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1.3.0 在 sticky 回调立即重入时,实时收到
[1, 2]后 replay 可能回退为1;无 Job 的 scope 绑定失败会遗留登记;DESTROYED 阈值会静默不订阅。本 PR 修复这三项边界,保持公共签名、依赖、最低 SDK、背压、取消和来源所有权。docs/implementation-plan-1.3.1.md和双语发布说明。已验收:两轮 PR CI 全部九项通过,包含 201 core + 81 Android + 2 示例 JVM 测试、API/release lint、Kotlin 1.8.22/1.9.22/2.0.21/2.1.0、Java8、历史字节码/公开符号、release R8、API21/35 库层及示例 instrumentation。两档 API 的 Android/effect/policy 8/12/11 阶段均核对当前 runId、同包 UI 和候选清单;五项兼容负向检查拒绝错误输入且清除旧成功报告。
正式性能:CI 42971579052 在同一 runner 对照正式 1.3.0,3 forks、5×1s 预热/测量。noSubscribers/stickySend/active1 吞吐比分别约 1.003/1.018/0.998,误差区间重叠,未观察明显耗时退化;sticky 分配约下降 22%。本机受扰记录及正式 CI 原始迭代/身份均归档于
benchmarks/jvm/results/1.3.1/。仅覆盖所测 JVM 场景,不承诺 ART 或稳定提速。生产与基准输入已冻结;最后文档提交仍执行全部 CI,通过后合并并核验 main CI。正式测量输入未变,本轮不重复正式 JMH。此 PR 不执行 Maven 上传、正式 release、tag 或 GitHub Release。回退 1.3.0 会恢复三个旧问题,现有公共 API 无须移除。
最终 main 验收已完成:PR 最终 head
4fe5dea29cac896665825fce6329abe76c9c253c合并为2dbd9581af58ae376141d8ada62d4f26e6507754,文件树一致。main CI 42975281531,attempt 2 九项检查全部通过。已下载审计 284 项 JVM 测试、三份零 issue lint、九份公开符号报告、十份原版字节码/冻结报告和 API21/35 六组 8/12/11 阶段;库 instrumentation 各3项、示例 release 20项均无失败或跳过。五份候选清单一致,18份 Maven 文件逐项摘要一致,core 内容与正式性能受测实现一致。最终 main 候选 ZIP:
sha256:71d9e8f9a3bc1dab39a32d81d7ff9cb8c9a4ba4216f2b26f293ee8746b4904ae,与 GitHub artifact digest 一致。正式发布时使用本次成功 main attempt 2 的固定候选,不能混用 attempt 1 或重新编译替代。保留限制:main attempt 1 的 API35 示例 UI 出现
RootViewWithoutFocusException,同时模拟器报 ColorBuffer/纹理错误,失败时 InputDispatcher 为 NO_WINDOW、截图黑屏;确切根因未确认。保留原始现场后完整重跑一次,源码、测试和断言未改,attempt 2 全部通过。该偶发环境问题没有被宣称修复;没有扩大超时、跳过检查或混合不同 attempt。Maven 上传、正式发布、tag 和 GitHub Release 均未执行。