fix(runtime): 修复显示边界、恢复流程与共享会话竞态 - #140
Merged
Merged
Conversation
- 统一逐模式 HiDPI 像素边界并同步 Runtime 诊断及事务证据 - 整组重建失败后继续恢复有效屏幕并保留取消与回滚语义 - 使用进程级发布端编号和锁内条件关闭隔离旧会话回调 - 并发有界采集诊断日志并补齐相关回归测试
CI SummaryRun: Open
|
- 用独立 Dispatch 队列控制阻塞屏障和发布完成信号 - 保留慢消费者不会阻塞后续帧发布的断言 - 补充单协作线程红绿验证并通过完整 Swift 测试
- 在独立 Dispatch 队列执行管道读写,保证超时和取消任务能继续运行 - 按换行读取响应并覆盖跨多个缓冲区的就绪消息 - 通过单协作线程超时回归、完整 Swift 测试和本机 Debug 构建
- 单元门禁持续运行三分钟后采样测试进程并保存诊断附件 - 保留失败状态和原有检查,定位完成后移除临时采样
- 避免同步日志采集等待共享线程池导致死锁 - 添加可控屏障覆盖多命令并发排空大输出 - 移除已完成取证的临时 CI 堆栈采样
- 监听错误提示状态变更,消除固定轮询时限对调度速度的依赖 - 保留测试超时保护、错误内容及共享租约断言
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.
Summary
Root Cause
原分辨率公式按最大面积模式及全局 HiDPI 放大,且多个入口重复计算。整组恢复遇到首个创建错误就退出。房间局部计数器会复用身份,断线回调的身份检查与资源关闭又分为两步。日志先等待进程退出再读取会写满管道;同步调用方等待共享线程池中的读取任务还会发生线程饥饿。独立读取线程已通过远端堆栈和本地并发回归验证。
Runtime 诊断快照升级到 schema 5。持久化配置格式、Host 通信格式和共享 HTTP/WebSocket 协议保持不变,无新增依赖或兼容层。没有新增应用文案,已核对无需修改本地化资源。
Related Issues
来自本地代码审查,无关联 Issue。
Validation
当前提交:
2cba884a2c6cd1213cb4619475cd24f91b9264b2,共 35 个变更文件。ci-gate通过:CI 34147132078。8 项成功;dependency-review 与 intel64 Release 按工作流规则跳过。临时堆栈采样已移除,工作流文件与基线一致。