修复 AGC 异步操作恢复闭环 #346
Reference in New Issue
Block a user
Delete Branch "codex/agc-async-recovery"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
变更内容
AGC 登录、Runner 会话、最近项目检查和首页自动创建原先各自维护异步状态,响应体卡住、单目录变慢或切页会导致按钮长期 busy、项目列表整体不可用或重复创建项目。本 PR 将这些入口收口到可恢复的生命周期边界:
验证
npm --prefix apps/ai-game-creator-shell run typechecknpm --prefix apps/ai-game-creator-shell exec -- vitest run tests/clientHttp.test.ts tests/clientApi.test.ts tests/recentProjectsModel.test.ts --reporter=dotnpm --prefix apps/ai-game-creator-shell exec -- vitest run tests/appSurface.test.ts --reporter=dotcargo check --manifest-path apps/ai-game-creator-shell/src-tauri/Cargo.tomlnpm run check:doc-indexnpm run check:encodinggit diff --checkappSurface.test.ts390/390 通过;保留仓库既有 act/jsdom media warning。本 PR 未触发真实 Provider 或发布安装包。