Repository navigation
refactor: 删除发布代码中的 test-only compatibility facades - #141
Conversation
tt-a1i
left a comment
There was a problem hiding this comment.
整体方向和实现都没问题,合并态的 focused/full tests、check 和 package dry-run 也都通过了。
有一个小地方请顺手修一下:extensions/subagents/src/ui/takeover.ts 约第 40 行的注释仍说 spinner frames/cadence 定义在 transcript.ts,但本 PR 已改为直接从 shared/spinner.ts 导入。这里请同步成新的真实 owner,避免这次 ownership 清理后留下相反的说明。
除此之外没有发现其他问题。
|
已修复,感谢指出。takeover.ts 中的注释现已明确 spinner frames 和 cadence 的真实 owner 是 shared/spinner.ts,与当前直接导入关系一致。修复提交为 cf492a8。\n\n已重新验证:\n- bun run check 通过\n- bun run test 通过(899 项 Node 测试及 30 项 Vitest 测试) |
tt-a1i
left a comment
There was a problem hiding this comment.
Thanks for removing these test-owned facades and routing coverage through the real owners. I verified that the deleted exports have no repository production consumers, the Direct and Workflow transcript paths still use the shared renderer, and the footer test now exercises renderFooter directly. A clean local integration with current main passes bun run check, 873 Node tests, and 30 Vitest tests. The npm pack dry-run contains no test-support, test, or spec files. No blocking issues from my side.
Summary
Validation
Closes #130