Repository navigation
test: enforce code coverage and public API assertion gates - #8
Merged
Merged
Conversation
TypeScript import types contained checkout-specific absolute paths, causing Linux CI to disagree with the committed API signatures. Canonicalize repository imports and cover relocation plus Windows paths. Render the browser smoke frame in the same task as pixel readback while retaining the GPU assertions.
cuimmm
approved these changes
Nov 17, 2026
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
建立公开 API、字段和常量到功能场景及测试断言的可追溯清单,并将零缺口检查和代码覆盖率接入 CI。修复禁用滚动策略后
setAutoFit(true)无法恢复自动适配的问题。Evidence
false滚动策略下的自动适配恢复行为缺少回归保护。After: 新增覆盖率报告、983 个可追溯 API 场景以及门禁反例测试;
auto-fit state follows disabled strategies and resumed data following回归用例通过。main的f376431后,Node 22 全量测试 1,424 通过、2 跳过,类型检查、构建和 npm 包入口检查通过。docs/api-test-map.md/.json,占位说明和部分实现限制位于docs/api-test-policy.json。场景映射不代表全部参数组合或浏览器行为均已验收。Merge Danger
Door: two-way
可通过 revert 回退,无数据迁移。
Blast Radius: CI
新增门禁会拒绝覆盖率不足、缺少字段/常量场景或丢失既有断言的改动;运行时行为变更为坐标轴自动适配恢复修复。