-
Notifications
You must be signed in to change notification settings - Fork 0
缩短工作树环境验证以恢复完整验证预算 #42
Copy link
Copy link
Open
Labels
P2Medium priority / non-blocking retained issueMedium priority / non-blocking retained issuebugSomething isn't workingSomething isn't workingready-for-agentReady for an implementation agentReady for an implementation agent
Description
Metadata
Metadata
Assignees
Labels
P2Medium priority / non-blocking retained issueMedium priority / non-blocking retained issuebugSomething isn't workingSomething isn't workingready-for-agentReady for an implementation agentReady for an implementation agent
问题
新增的
verify.worktree-setup在 PR #41 的 Windows CI(持续集成)中耗时约 57 秒,使 Build and Verify(构建与验证)完整运行约 88 秒,超过配置的 60 秒预算。流程最终通过,但每次完整验证都会承担重复创建真实.venv的高成本。证据
verify.worktree-setup seconds=56.92。totalSeconds=87.55 budgetSeconds=60 exceededSeconds=27.55。tests/test_setup_worktree.py多个场景分别创建真实 Python 虚拟环境。建议解决方案
让测试会话复用一个临时虚拟环境,或用最小测试可执行文件覆盖非端到端场景;保留一次从工作树共享链接进入 Build and Verify 的真实端到端检查。
验收标准
补充信息
优先级:P2 → P2(本次复盘确认 1 次,无动态调整)。