test: add coverage for issue #91 runtime modules#101
Open
knqiufan wants to merge 3 commits into
Open
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.
关联 Issue
Closes #91
变更类型(勾选所有适用项)
影响范围
变更说明(why,而非 what)
Issue #91 指出的七个关键运行时模块此前没有进入覆盖率统计,导致全局覆盖率无法反映这些模块的实际测试情况。本 PR 将它们纳入覆盖率报告,并为 AgentTeam、Harness、ToolRuntime、原生文件与 Shell 工具、CodingBridge 及 ConversationMemory 的关键路径补充单元测试。
本次 CI 失败修复:Grep 在没有
rg的环境会使用 JS 回退。该回退此前将include: *.ts仅匹配根目录文件,和 ripgrep 的任意目录深度文件名匹配行为不一致;现已修正并由新增用例覆盖。测试计划
pnpm testpnpm test:coverage自检清单
pnpm check已通过(lint / dep-guard / deadcode / tsc / format / test).test.tsvi.skipIf,未硬编码平台判断vitest.config.ts的coverage.include--no-verify绕过钩子