Repository navigation
Conversation
Karl-Dai
marked this pull request as ready for review
October 7, 2026 05:27
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.
适用范围
基于 Go 重写分支
worktree-go-rewrite-fixes的042282400697226b0738a0010479c155991af95f。改动仅涉及go/与新增 Go 专用测试工作流,目标不是main;与 Rust/Tauri + Vue 的 PR #14 分开。保持草稿,不合并、不发布。修复内容
回归与验证
先在原始 Go 基线上复现,再修复。原有测试、race 和 vet 均通过,但新增回归分别捕获 API 错误目标、地址回绕、读取 panic、扫描生命周期、错误应答、map 竞态和 React 陈旧结果。
go test ./...、go test -race ./...、go vet ./...全部通过;325 项通过事件(含子测试)。npm ci --ignore-scripts --no-audit --no-fund,11 项真实 React 组件回归测试和 TypeScript/Vite 生产构建通过。react-test-renderer测试依赖及必要闭包,原有锁文件依赖条目保持不变;go.mod/go.sum未变。Go testsCI,运行 Go 测试/race/vet 与 React 测试/构建;现有 Rust/发布工作流不变。验证边界
这是已复现问题的定向修复,不代表 Go 与原版全部功能对等。未启动 GUI 或开发服务器,未做真实串口硬件验收。锁修复覆盖本地数值读写与协议请求,其他直接操作设备映射的 CRUD/配置路径仍需独立并发审查。
远端 CI(head a699652)