Repository navigation
Conversation
Signed-off-by: Ace <[email protected]>
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.
Summary
关联 Issue #69。本 PR 完成 Python Agent Loop 工具调用的 Run Remaining、工具 timeout、截止时间取消、进程清理和 retry/backoff 预算边界。PR-04 是 Issue #69 的分阶段实现,只使用
Relates to #69,不在本 PR 合并时关闭父 Issue。Behavior
ToolExecutionState.UNKNOWN,使用deadline_exceeded失败分类,并禁止自动重试。UNKNOWN,不会发布迟到事件或自动重试。该边界请维护者结合 Issue [Agent Core] 任务设置了 10 秒却可能跑几分钟:为 Agent 增加真正的截止时间 #69 的不可强杀非目标确认。taskkill /T /F,在 POSIX 使用独立进程组;即使父进程已经返回,也继续尝试清理仍可能持有输出管道的后代进程。Validation
126 passed。该结果是在测试进程内临时注入缺失Sztubuddy模块兼容别名后取得,未写入仓库。ModuleNotFoundError: sztu_code.core.prompts.Sztubuddy。这是origin/main基线资源缺失,不是本 PR 引入;本 PR 不修改该无关基线问题。Ruff check:通过。mypy:通过。compileall:通过。git -c core.whitespace=cr-at-eol diff --check:通过。仓库已有 mixed/CRLF 行尾,未执行全仓库行尾重排。Risk
unknown,调用方应按失败处理,不重复执行可能产生副作用的操作。taskkill /T /F;若平台无法确认清理完成,结果仍保持unknown。Sztubuddy导入缺失会阻断 Python 测试 collection,需维护者单独修复或恢复资源后再观察完整 CI。UI evidence
N/A:本 PR 不涉及 TUI 或桌面端视觉变化。
Checklist
Signed-off-by(DCO)。