[bug] agent-team.ts 的 sleep 不支持 AbortSignal
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- nodejs, typescript
- Domain
- cli
Research direction
Start in agent-team.ts and compare its sleep behavior with the AbortSignal handling already present in agent-loop.ts. Reproduce a delegation or handoff cancellation with Ctrl+C, then verify that the wait rejects immediately instead of waiting for delayMs to expire.
Written by the indexing model from the issue text.
Description
step-realtime-cli 版本
1.0.0
Node 版本 & OS
Node 24.16.0 / Linux (Fedora 44)
复现步骤
- Agent team 发起 delegation 或 handoff
- 内部调用
sleep等待延迟 - 用户此时点击取消(Ctrl+C)
- 操作无法被立即中断,需等待
delayMs超时自然结束
期望行为
用户取消时应立即中断等待,promise rejected
实际行为
取消信号被忽略,需等待完整超时。而 agent-loop.ts 中的 sleep 函数已正确处理 AbortSignal,存在不一致
日志 / 堆栈
截图(可选)
No response
自检
- 我已搜索 existing issues,确认这不是重复问题
- 我已阅读 CONTRIBUTING.md
- Dominant language
- TypeScript
- Stars
- 54
- Forks
- 20
- Avg merge
- 2h 58m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stepfun-ai/Step-Code
-
status/needs-triage type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
stepfun-ai/Step-Code#84 ·
-
status/needs-triage type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
stepfun-ai/Step-Code#83 ·
-
status/needs-triage type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
stepfun-ai/Step-Code#81 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
stepfun-ai/Step-Code#80 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
stepfun-ai/Step-Code#118 ·
All issues in stepfun-ai/Step-Code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
area:tools bug good first issue help wanted priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
newrelic-experimental/preflight#793 · 1 comment ·
-
bug 🐞
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·