Repository navigation
ci: restore camera test and dependency audit gates - #2
Merged
Merged
Conversation
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.
原因
Node 测试会调用 Python 校准程序,但 GitHub Actions 在跑完 Node 测试后才安装 NumPy,导致 10 条相机测试失败。白平衡图像测试还依赖 Pillow。
变更
在相机相关测试之前安装 NumPy 和 Pillow。
修复随后的生产依赖审计阻塞,更新 body-parser、qs、Undici 和 Zod。Zod 迁移保留字符串键及稀疏规则表的校验行为。
校准宿主包测试的离线诊断名单,精确核对连接状态与版本查询。
验收
已复现缺少 NumPy 的原始错误。本地校准、白平衡、类型检查和生产依赖审计通过。完整 GitHub CI 通过后合并。