Repository navigation
feat: 统一十分钟等待并补齐宿主超时 - #327
Merged
Merged
Conversation
Owner
Author
|
评审完成(R2,可合并)
|
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.
长任务原先每四分钟让 boss 空醒一次,部分宿主的原生工具超时又短于服务等待。现在所有 boss(含 WorkBuddy 和未知宿主)的默认
wait统一为 600 秒,完成、阻塞、待答弹框及审核仍提前唤醒;wait_seconds只接受0、600,移除240。seq并回显,待收回执提示下一次序号,用于区分正常连续等待;不保存序号、不去重或重放,收件箱仍只交付一次。-1。Grok 保留更长原生默认值,补齐已有较短服务和等待相关工具覆盖值。不修改其他服务或宿主全局超时。验证:与 CI 相同的 Python 3.12 全量
pytest533 通过、5 跳过;Ruff format/check、Pyright、cargo fmt、cargo clippy --all-targets -- -D warnings 已通过;Rust 全量串行运行 292 通过、2 忽略。环境记录:首次并行编译期间既有短时限测试超时,独立补跑通过;Rust HTTP fixture 和 Python PTY fixture 需要本地回环监听/只读 ps 权限,已在允许对应能力后验证。新建环境曾自动选择 Python 3.14,既有深层 JSON 清理测试失败;相同测试在未改动的 main 上用 3.14 同样失败,主 checkout 与 CI 的 Python 3.12 则通过,未混入无关修复。
剩余边界:CodeBuddy 保留已核实的一小时原生默认值,已有更短的宿主进程
MCP_TOOL_TIMEOUT需由用户调整;WorkBuddy 原生工具超时字段尚未核实,按本次选择同样使用十分钟等待。尚未逐宿主做真实十分钟长调用,seq不承诺消除所有宿主的重复调用检测。未合并、未发布。