Repository navigation
fix(traex): 明确固定模型不可用的启动提示 - #3505
Merged
deepcoldy merged 3 commits intoNov 17, 2026
Merged
Conversation
Co-authored-by: TRAE CLI <[email protected]>
xinna2001
requested review from
47seek,
LucasIcarus,
deepcoldy,
xiaoxueSunn and
xiongz-c
as code owners
November 16, 2026 06:23
- traexUnavailableModelFromStartupTail 增加 allowGluedRecord 模式: worker 证明本代从未到达 prompt 时,容忍 CUP 画帧被 stripAnsiForLog 剥离后与 Error 记录粘连的形状;旧 IPC 缺省路径保持严格行边界, 行为零变化 - 补经真实 stripAnsiForLog 的 PTY 字节回归夹具(0.214.1/0.211.1 三种画帧布局),不手写预剥离字符串 - 崩溃提示以飞书 text 消息发送,去掉模型名 markdown 转义(反斜杠会 原样显示,且同条消息的 logTail 仍含原始模型名) Co-Authored-By: Claude Fable 5 <[email protected]>
Owner
自动评审代修:修复画帧粘连导致新提示在真实输出下不触发基于评审中发现的一个 P2,已在作者分支追加提交(未 force-push、原提交保留),并同步了最新 master(merge 方式,含 #3507/#3508,无冲突)。 P2:真实 TraeX 输出下识别正则不匹配TraeX 0.211+ 用光标定位(CUP)绘制界面帧,worker 的 修复(
P3:去掉模型名的 markdown 转义崩溃提示以飞书 测试
这是自动评审的初步意见,最终以维护者审阅为准。 |
Owner
|
已合并,感谢贡献! 后续可关注(均非阻断):
|
|
@xinna2001 @deepcoldy 合入 master 后的 Midscene E2E 失败:Feishu live Midscene 失败。 这次运行覆盖 86b9b44…149b8e361(3 个提交),同批合入的还有 #3513 #3486,失败不一定由本 PR 引起。
|
This was referenced Nov 17, 2026
|
🚀 Released in v3.59.18 |
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.
背景
固定模型在当前 TraeX CLI/账号目录不可解析时,会重复产生原生启动/恢复错误。原提示只有短时间崩溃次数,用户无法区分模型不可用与其他启动失败。
改动
thread/start或thread/resume的模型元数据不可解析时,改用针对性提示。t(包含编码参数名)。不改变的机制与影响面
decideAutoRestart、重启次数、时间窗、永久退出累计、熔断、历史/轮次结算或诊断终端机制。本地验证
node node_modules/vitest/vitest.mjs run --project unit --maxWorkers 1 --no-file-parallelism test/traex-model-unavailable-notice.test.ts test/restart-policy.test.ts test/dashboard-url.test.ts:3 文件、92 项全部通过(新提示 25 项、重启策略 15 项、控制台 URL 52 项)。[email protected] run build:完整构建、类型检查、Dashboard bundle 与资源审计通过。bun scripts/fenced-run.ts -- <命令>,使用 Node 24.16 / Bun 1.4.4,所有输入、依赖 IO 与账号数据均为合成或私有临时夹具。对抗场景与修正
Error:、thread/startup/thread/resumed、引用 footer 和跨独立记录拼接元数据会误匹配;已收紧方法及记录边界,并加入回归反例。提示示意
当前代码生成的正文,控制台使用合成地址;为本地内容示意,非飞书线上截图。
未部署、未重启线上服务;不包含发版或合并操作。