test: cover parsing edges, split fakes, and trim params wrappers#477
Merged
liujuanjuan1984 merged 2 commits intomainfrom May 6, 2026
Merged
test: cover parsing edges, split fakes, and trim params wrappers#477liujuanjuan1984 merged 2 commits intomainfrom
liujuanjuan1984 merged 2 commits intomainfrom
Conversation
Collaborator
Author
|
独立审查结果:当前未发现阻塞性问题,本 PR 的实现方向与 代码变动审查:
PR 标题与描述审查:
Issue 关系审查:
|
Collaborator
Author
|
补充一次独立审查结论,聚焦本次后续提交
|
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.
概要
src/opencode_a2a/parsing.py新增直接边界测试,覆盖 int/string/bool/timestamp 解析行为run_call()、配置错误格式化,以及更多 A2A / HTTP / JSON-RPC / agent-card 错误分支DummySessionQueryOpencodeUpstreamClient的宽接口 fake,按 session query、workspace control、interrupt 能力拆到独立测试支持模块,并迁移相关测试引用AgentCardResolutionError(status_code=...)走错错误映射路径的问题jsonrpc params中无额外语义的私有转发 helper,并移除冗余分支关联 Issue
验证
bash ./scripts/doctor.sh