mirror of
https://github.com/cexll/myclaude.git
synced 2026-02-05 02:30:26 +08:00
修复 --parallel 模式下日志路径在任务完成后才显示的问题,导致长时间运行任务无法实时查看日志进行调试。 主要改进: - 在 executeConcurrent 中任务启动时立即输出日志路径到 stderr - 使用 sync.Mutex 保护并发输出,避免多任务输出行交错 - 添加 "=== Starting Parallel Execution ===" banner 标识执行开始 - 扩展 TaskResult 结构体添加 LogPath 字段,确保最终总结仍包含路径 - 统一 parallel 和非 parallel 模式的日志路径输出行为 测试覆盖: - 总体覆盖率提升至 91.0% - 核心函数 executeConcurrent 达到 97.8% 覆盖 - 新增集成测试验证启动日志输出、依赖跳过、并发安全等场景 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>