agentscope-ai / agentscope-ai/QwenPaw

[Bug]: Dingtalk task timeout and DingTalk session collision

Open
#2,414 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
34.9k
Forks
3.1k
Avg merge
1d 15h
Merged PRs (30d)
225

Description

## CoPaw Version

[Provide the version of CoPaw you are using, e.g. 0.x.x or git commit hash.]
[Using `copaw --version` in your command line or checking the version in the console UI can help.]

## Description

[Describe the bug clearly and concisely. What happened vs what you expected?]

**Related PR(s):** #(optional)

**Security considerations:** [If applicable, e.g. auth, env/config exposure]

## Component(s) Affected

- [ ] Core / Backend (app, agents, config, providers, utils, local_models)
- [ ] Console (frontend web UI)
- [x] Channels (DingTalk, Feishu, QQ, Discord, iMessage, etc.)
- [ ] Skills
- [ ] CLI
- [ ] Documentation (website)
- [ ] Tests
- [ ] CI/CD
- [ ] Scripts / Deploy

## Environment

- **CoPaw version:** [e.g. 0.x.x or git commit] 0.2.0
- **OS:** [e.g. macOS 14, Ubuntu 22.04, Windows 11]
- **Install method:** [pip / one-line install / Docker / from source] docker
- **Python version (if applicable):** [e.g. 3.10]

## Steps to Reproduce

1)当有多个钉钉频道用户(5个以上的,类似高并发的)同时发送请求
2)有长时间后台任务运行(比如修改xlsx文件、爬取网站获取数据)情况下:

1)当前钉钉用户长时间没有收到消息回复,只显示已读
2)情况二:回复消息都到其它钉钉用户的频道里了,其它用户收到了不属于自己消息
3)情况三:某个用户会被其它用户的回复产生消息轰炸,消息所属人收不到自己的消息

## Actual vs Expected

- **Actual:** 钉钉频道多用户并发情况下,消息回复会错乱
- **Expected:** 期待信息回复有序归位,支持企业级高并发回复

## Logs / Screenshots

[Paste relevant log output or attach screenshots. Use code blocks for logs.]

```
(paste logs here)
```

## Additional Notes

[Optional: workarounds, similar issues, etc.]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.