Skip to content

test: cover query engine error paths and memory injection - #41

Merged
Anai-Guo merged 1 commit into
mainfrom
chore/auto-maint-2026-10-11
Oct 12, 2026
Merged

Anai-Guo merged 1 commit into
mainfrom
chore/auto-maint-2026-10-11

Conversation

@Anai-Guo

Copy link
Copy Markdown
Owner

自动维护改动

类型:维护
改动:为 harness/engine/query.py 的 run_query 补 9 个测试(LLM 异常退出、记忆快照注入/跳过、畸形工具参数、未知工具、工具执行异常、tool 消息历史),覆盖率 78%→100%
测试:通过(本地全量 484 passed / 1 skipped)
参考:无

本 PR 由每日维护任务生成,请人工 review 后再合并。

🤖 Generated with Claude Code

run_query's LLM-failure exit, memory snapshot injection, malformed tool
arguments, unknown tools and tool exceptions were untested (query.py at
78%). Add 9 cases with a stubbed LLMRouter, bringing it to 100%.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Anai-Guo
Anai-Guo merged commit 3abc59d into main Oct 12, 2026
3 checks passed
@Anai-Guo
Anai-Guo deleted the chore/auto-maint-2026-10-11 branch October 12, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant