makecindy / makecindy/cindy

协同模式下 Lead 设置目标模式后任务卡死

Open
#2,706 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: 匿名
**客户端版本**: 0.1.46

---

## 现象

在协同模式中,Worker 任务基本已经创建后,如果由 Lead 再设置目标模式,任务会卡住。

## 复现步骤

1. 开启协同模式。
2. 创建或准备好 Worker 任务。
3. 由 Lead 设置目标模式并继续执行任务。
4. 等待 Worker 返回 Result,并观察 Lead 是否继续处理。

## 期望行为

任务应继续运行;Lead 能读取 Worker 返回的 Result,并继续发送或处理新的消息。

## 实际行为

目标会暂停,Worker 反馈的 Result 全部堆叠排队;Lead 无法读取这些 Result,也无法发送新消息,整个任务卡住。

## 复现频率

满足上述条件时基本每次都会发生。

## 已尝试

刷新和重启均无法解决。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in collaborative mode with a prepared Worker task, then trace the Lead/Worker coordination path after the Lead sets the target mode. Observe where Worker Result messages are queued and where the Lead stops reading or sending messages; done means the Lead continues processing Results and the task proceeds normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.