fix(copilot): 保留清理失败首错和进程诊断 - #520
Merged
Merged
Conversation
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.
普通 planner 关闭时偶发超时,原日志既缺少进程归属,也可能被 finally 的清理异常盖住首错。本 PR 补齐诊断和失败现场保留,便于定位 #518;原始超时本轮没有复现,不宣称根因修复,也不关闭 #518。
最终提交
7f5f86893899fdf083bf1b261bf54e07cebf16f8,macOS arm64,Node 22.23.2;临时 HOME/stateRoot,全部 live 开关为 0。(cd ts && npx tsc --noEmit)node scripts/build-dist-compat-tests.mjsGOTRY_SESSION_LIVE=0 GOTRY_HBCLI_LIVE=0 GOTRY_HOTELBYTE_SKILLS_LIVE=0 GOTRY_LAVISH_LIVE=0 bash scripts/run-all-tests.shALL SUITES GREEN(明细见各节;真 LLM 巡检:replay-real.ts / time-eval-tests.ts --real,ADR-11 层),944.42 秒最终完整日志 SHA-256:
14e44ef87aadf4939b84157d290aaaaaa626a0400a8c1f7086df58a575b6ecbc;完成于2026-09-19T14:48:08.831216+00:00。提交前完整回归也通过(873.54 秒);源代码冻结摘要及两轮日志均已归档。E2E:完整回归包含真实安装的 SDK → worker → CLI/GoTry 插件 → 本地 HTTP/SSE provider → concluded turn → shutdown。末行
BOOKING COPILOT DSH CORE PROOF: real subprocess/sdk/plugin/tool-call/concluded-turn/session event/idle OK。Node 24.16.0 定向 core 与诊断 proof 也通过;旧 wrapper 对照按预期在缺少诊断的断言处失败。边界:观察失败注入是诊断契约测试,不是历史超时复现;本地 provider 不代表真实供应商 UAT。进程组采集仅覆盖 Darwin detached fallback,Linux/Windows 明确返回未知或不支持,不能据此声称跨平台范围验收。没有新增依赖或架构/交易边界变化;回滚诊断协议和对应测试即可恢复原面。
双语专业测试报告。Related to #518;#510/#511/#513 各自的验收仍保留。