ci / test (pull_request) Failing after 17m6s
Why: The task card still pointed at a placeholder after the pull requests were opened. Evidence: Dev #116 and Frontend #29 are the open records. make test passed on this branch. Impact: Reviewers can open the records from the card. No runtime change. Refs: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/116 Co-authored-by: Cursor <cursoragent@cursor.com>
1.7 KiB
1.7 KiB
fix/empty-create-task 任务卡
任务主记录:Dev #116(Frontend #29);状态:进行中;owner:weichen
基线与授权
- 权威仓:ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)=
4c4071e5d8 - 工作区:/home/weichen/projects/Agent-System-Dev-wt-fix-empty-create-task(worktree);分支:fix/empty-create-task
- 授权与交付终点:浅色主题走查发现的空库主路径缺陷。只改前端
createTask。合入由所有者执行。
目标与非目标
- 目标:空库时点击「新建任务」先创建「默认项目」再打开会话。已有项目时不新建项目,只在当前项目(或列表第一项)开会话。
- 非目标:不改空状态文案、不改后端、不把走查笔记写进本记录以外的功能 PR。
同步记录
| 节点 | sync_base_sha | tested_head_sha | checked_at |
|---|---|---|---|
| 启动 | 4c4071e5d8 |
4c4071e5d8 |
2026-10-01T04:46:03Z |
结果与验证(完成后填写)
- 结果:Frontend
fix/empty-create-task@ 288d3ac。 - 验证:
npx tsc -b通过;vitest 40。make task-sync已与 origin/main 对齐(sync_base=4c4071e5d8)。make test通过(backend、frontend vitest 40、ui vitest 68、agent-command)。浏览器:空库点一次「新建任务」得到项目「默认项目」和一条会话;再点一次仍是这一个项目、会话变为 2。 - 影响与剩余项:第二次及以后的任务落在当前项目。