修复策划agent panic死掉问题 #405

Merged
lhk229 merged 6 commits from codex/fix-design-panic-boundary into master 2026-09-17 18:11:54 +08:00
Owner
No description provided.
lhk229 added 2 commits 2026-09-17 17:14:26 +08:00
finish_design_command 的 run_design_loop 调用包入 catch_unwind,panic 转成普通失败由既有错误分支恢复
新增固定公开文案:策划运行发生内部错误,本轮已中断,可直接重试;若反复出现请反馈。
panic 负载仅写入私有 design_debug,不进入用户可见消息
新增回归测试 design_tool_panic_becomes_visible_retryable_error 覆盖 panic 恢复与重试
实施计划文档新增策划 Agent 运行 panic 边界小节
Merge remote-tracking branch 'origin/master' into codex/fix-design-panic-boundary
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
97bf8cb864
lhk229 added 1 commit 2026-09-17 17:28:28 +08:00
策划panic时把代码位置和负载写入design_debug
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
73729394e2
运行段经tokio task-local携带项目根,多线程runtime跨worker迁移也能归因
首次运行安装panic hook(take_hook包装原hook,update_hook在1.96仍unstable)
hook仅在策划运行段内生效,其它任务直接透传原hook
design_panic_error只返回固定公开文案,debug记录由hook统一写入
回归测试断言panic记录落盘且包含design_runtime.rs位置与注入payload
lhk229 added 2 commits 2026-09-17 17:57:23 +08:00
新增静态互斥锁串行化进程级debug开关修改
DesignDebugEnvGuard在drop时恢复原值,覆盖断言失败与panic路径
锁中毒时取内部值继续,避免失败放大到后续用例
Merge remote-tracking branch 'origin/master' into codex/fix-design-panic-boundary
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 6m25s
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Successful in 5m39s
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 1m48s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Successful in 4m50s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Successful in 4m34s
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
1a88ae3ffa
lhk229 marked the pull request as ready for review 2026-09-17 17:57:57 +08:00
lhk229 added 1 commit 2026-09-17 18:11:39 +08:00
Merge branch 'master' into codex/fix-design-panic-boundary
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
5f332a068f
lhk229 merged commit 504e26da43 into master 2026-09-17 18:11:54 +08:00
lhk229 deleted branch codex/fix-design-panic-boundary 2026-09-17 18:11:55 +08:00
Sign in to join this conversation.