多 Worker 协作时,完成通知应仅在 Lead 结束时触发
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 401
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: zym
**客户端版本**: 0.1.58
---
## 使用场景
在多 Worker 协同模式下并行处理任务时,用户会依赖灵动岛、声音、系统横幅等完成通知来判断「这一轮是否真正结束」。
## 当前痛点
目前任意 Worker 完成都会触发完成通知。多 Worker 并行时会连续弹出大量提醒,打断正在进行的协作,也让 Lead 本轮结束的信号被淹没。
## 诉求
把所有完成通知的触发条件统一改为:仅当 Lead 完成本轮任务时才发出提醒。单个 Worker 完成时不应再触发这些通知。
## 建议方案
- 覆盖全部完成通知通道(灵动岛展开/紧凑、声音、系统横幅等),不要只改其中一种
- Worker 完成仍可在会话列表或协同面板中更新状态,但不主动弹出完成提醒
- Lead 完成本轮后再发出一次完成通知
---
**版本区域**: CN
**OS**: darwin arm64 (25.5.0)
**界面语言**: zh-CN
Contributor guide
Research direction
Trace the completion-notification entry points for Dynamic Island expanded/compact states, sound, and system banners, then identify how Lead and Worker completion are distinguished. Verify that Worker completion still updates session or collaboration-panel status without prompting, while Lead completion produces one notification across every listed channel. Test the behavior in multi-Worker collaboration on macOS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100