Codex 下 Orca Worker 回传结果报 cancelled-before-dispatch,需手动重试才能送达
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 401
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 散修院院长
**客户端版本**: 0.1.30
---
## 现象
使用 Codex 时,主 Agent 派出 Orca Worker(subagent)执行任务。Worker 完成任务并上报结果后,结果进入对话等待列表;但主 Agent 执行完当前任务后,首次接收上报会报错:
```
cancelled-before-dispatch: Session send was cancelled before vendor dispatch: SEND/83521c7e-824b-4db3-bffb-e1103ec0d97a/send
```
## 复现步骤
1. 主 Agent 通过 Orca 创建/派出一个 Worker(subagent)执行任务。
2. Worker 完成任务并上报结果,结果进入对话等待队列。
3. 主 Agent 继续执行完当前任务后,尝试接收/展示 Worker 的上报,此时触发上述报错。
4. 手动 Retry 后,subagent 的信息才会正常上报到主会话。
## 期望行为
Worker(subagent)完成任务后的上报应正常送达主 Agent 会话,无需手动重试。
## 实际行为
首次上报失败并抛出 `cancelled-before-dispatch: Session send was cancelled before vendor dispatch` 错误;只有手动 Retry 后才会成功上报。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26100)
**界面语言**: zh-CN
Contributor guide
Research direction
Start by reproducing the Orca Worker result flow described in the issue on the listed Windows client version, then trace the first `Session send` attempt that produces `cancelled-before-dispatch`. Compare the initial delivery with the successful manual Retry and verify that a completed Worker result reaches the main Agent session without user intervention.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100