claude-code-best/src
unraid bc72dc2b09 test: keep Codecov coverage on real agent communication paths
PR #369 was merged before the final Codecov coverage fix landed, so this follow-up carries only the incremental real-path tests needed on top of main. The tests exercise AgentSummary lifecycle branches, mailbox fail-closed behavior, UDS client connection failure through a real capability file, and UDS response-reader framing without mock.module, warning suppression, feature fallback, or production-code churn.

Constraint: PR #369 is already merged; this branch must contain only the incremental Codecov repair on top of latest main

Rejected: Reopen or keep pushing the merged PR branch | merged PR refs do not update and would leave Codecov stale

Rejected: Mock bun:bundle or hide warnings | would reintroduce cross-test pollution and pseudo coverage

Rejected: Keep unrelated SendMessageTool production diff | it created avoidable patch-coverage debt without improving the runtime path

Confidence: high

Scope-risk: narrow

Directive: Keep these coverage tests on real paths; do not replace them with output suppression or feature-flag mocks

Tested: bunx tsc --noEmit --pretty false

Tested: bun run lint

Tested: bun test src\utils\__tests__\teammateMailbox.test.ts

Tested: bun test src\services\AgentSummary\__tests__\agentSummary.test.ts src\services\AgentSummary\__tests__\summaryContext.test.ts src\utils\__tests__\teammateMailbox.test.ts src\utils\__tests__\udsMessaging.test.ts src\utils\__tests__\udsResponseReader.test.ts packages\builtin-tools\src\tools\SendMessageTool\__tests__\udsRecipientSanitization.test.ts

Tested: bun run test:all

Tested: bun test --coverage --coverage-reporter lcov --coverage-dir coverage

Tested: bun run build

Tested: bun run build:vite

Tested: bun audit

Tested: git diff --check

Tested: Claude simplify review GO (.omx/artifacts/claude-simplify-codecov-20260427-1521.md)

Tested: Claude security review GO (.omx/artifacts/claude-security-codecov-20260427-1522.md)

Not-tested: GitHub-hosted Codecov upload after this amended commit until PR checks rerun
2026-04-27 15:14:38 +08:00
..
__tests__ feat: 正式启用 auto mode (#307) 2026-04-20 10:20:27 +08:00
assistant feat: 添加服务层增强与零散改进 2026-04-22 22:38:10 +08:00
bootstrap chore: 清理仓库审计问题——修正 CLAUDE.md、删除冗余 yoga-layout、清除 621 个未使用的类型 stub (#354) 2026-04-25 08:54:18 +08:00
bridge fix: bound agent communication memory growth (#369) 2026-04-27 14:47:18 +08:00
buddy feat: 全部类型问题解决 2026-04-11 10:24:00 +08:00
cli fix: bound agent communication memory growth (#369) 2026-04-27 14:47:18 +08:00
commands fix: bound agent communication memory growth (#369) 2026-04-27 14:47:18 +08:00
components fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
constants fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
context chore: 清理仓库审计问题——修正 CLAUDE.md、删除冗余 yoga-layout、清除 621 个未使用的类型 stub (#354) 2026-04-25 08:54:18 +08:00
coordinator feat: 工具层及 mcp 大重构 (#252) 2026-04-13 09:52:05 +08:00
daemon Feat/integrate lint preview (#285) 2026-04-16 20:59:29 +08:00
entrypoints fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
environment-runner feat: 全面清理类型错误 — tsc 零错误,any 标注全部消除 2026-04-01 01:00:10 +08:00
hooks fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
jobs Feat/integrate lint preview (#285) 2026-04-16 20:59:29 +08:00
keybindings Feature/add auto mode settings and fix bug (#368) 2026-04-26 15:43:25 +08:00
memdir Fixture/langfuse record auto mode data error (#308) 2026-04-20 13:30:05 +08:00
migrations chore: 清理仓库审计问题——修正 CLAUDE.md、删除冗余 yoga-layout、清除 621 个未使用的类型 stub (#354) 2026-04-25 08:54:18 +08:00
moreright 更新大量 tsx 原始文件; 已经迁移 login panel; 部分 (#121) 2026-04-04 23:24:27 +08:00
native-ts/file-index fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
outputStyles feat: build 2026-03-31 19:22:47 +08:00
plugins feat: 接入内建 weixin channel(同 #301 重构版本) (#303) 2026-04-19 21:33:27 +08:00
proactive Feat/integrate lint preview (#285) 2026-04-16 20:59:29 +08:00
query fix: 修复对穷鬼模式的 auto dream 和 session memory 越过 2026-04-12 23:24:12 +08:00
remote feat(remote-control): 优化 Web 展示、状态同步与桥接控制流程 (#288) 2026-04-17 16:21:27 +08:00
schemas chore: 清理仓库审计问题——修正 CLAUDE.md、删除冗余 yoga-layout、清除 621 个未使用的类型 stub (#354) 2026-04-25 08:54:18 +08:00
screens fix: 修复长时间运行会话的内存泄漏问题 2026-04-26 21:14:00 +08:00
self-hosted-runner feat: 全面清理类型错误 — tsc 零错误,any 标注全部消除 2026-04-01 01:00:10 +08:00
server feat: 全面清理类型错误 — tsc 零错误,any 标注全部消除 2026-04-01 01:00:10 +08:00
services test: keep Codecov coverage on real agent communication paths 2026-04-27 15:14:38 +08:00
skills chore: 清理仓库审计问题——修正 CLAUDE.md、删除冗余 yoga-layout、清除 621 个未使用的类型 stub (#354) 2026-04-25 08:54:18 +08:00
ssh feat: 实现 SSH Remote — 本地 REPL + 远端工具执行 2026-04-24 14:25:56 +08:00
state fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
tasks feat: ACP 协议版本 remote control (#293) 2026-04-18 21:54:22 +08:00
types Feature/add auto mode settings and fix bug (#368) 2026-04-26 15:43:25 +08:00
upstreamproxy feat: 问就是封包 2026-03-31 23:32:58 +08:00
utils test: keep Codecov coverage on real agent communication paths 2026-04-27 15:14:38 +08:00
vim feat: build 2026-03-31 19:22:47 +08:00
voice feat: 集成豆包 ASR 语音识别后端,支持 /voice doubao 切换 (#357) 2026-04-25 13:57:30 +08:00
commands.ts refactor: 解耦 BRIDGE_MODE 与 DAEMON,禁用 DAEMON 降低内存占用 2026-04-24 10:01:05 +08:00
context.ts feat: build 2026-03-31 19:22:47 +08:00
cost-tracker.ts feat: ACP 协议版本 remote control (#293) 2026-04-18 21:54:22 +08:00
costHook.ts feat: build 2026-03-31 19:22:47 +08:00
dialogLaunchers.tsx chore: 添加脚本与构建配置更新 2026-04-22 22:38:10 +08:00
history.ts feat: 添加服务层增强与零散改进 2026-04-22 22:38:10 +08:00
interactiveHelpers.tsx feat: 正式启用 auto mode (#307) 2026-04-20 10:20:27 +08:00
main.tsx fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
projectOnboardingState.ts feat: build 2026-03-31 19:22:47 +08:00
query.ts fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
QueryEngine.ts fix: 修复 ACP 模式下 messageSelector require 失败导致 submitMessage 崩溃 2026-04-24 09:59:23 +08:00
replLauncher.tsx Revert "Revert "feat: 第一个可以用的 ink 组件抽象 (#158)" (#175)" 2026-04-07 16:17:48 +08:00
setup.ts feat: 添加服务层增强与零散改进 2026-04-22 22:38:10 +08:00
Task.ts feat: build 2026-03-31 19:22:47 +08:00
tasks.ts feat: build 2026-03-31 19:22:47 +08:00
Tool.ts feat: 增强 auto mode 的易用性 (#312) 2026-04-20 21:13:09 +08:00
tools.ts feat: 添加 skill learning 技能学习闭环系统 2026-04-22 22:38:09 +08:00