Feature request: let one bot run tasks from different groups in parallel, or let the owner pick which queued task goes first

Đang mở
#26 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript

Hướng nghiên cứu

Start by locating the bot task queue and execution flow, then trace how group tasks are scheduled and how the group and bot pages display task status. The proposal spans parallel sessions, queue visibility and controls, and wait notifications; done means these behaviors work together while the default per-bot concurrency remains 1.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Version

0.2.15

Problem

A bot that is a member of several groups only works on one task at a time. On 17 Nov bikinin was in both "Deck Sales Kit Miso" and "Miso Cover Reels". Its deck revision turn started 18:11 WIB and was still running at 18:37 (152 tool calls, still making progress). The Cover Reels task it got at 18:11 sat in its queue the whole time, so the Cover Reels group (and the owner) waited about 30 minutes with no visible work. The other group member could only answer "waiting for its turn in the queue".

The groups themselves do run in parallel (Cover Reels and Deck turns overlap in the trail log), so the bottleneck is the per-bot single queue, and it is invisible in the UI.

Proposal
  1. Allow a bot to run up to N tasks in parallel when they come from different groups or threads (each in its own session/workspace subfolder), with N set per bot (default 1 for safety, 2 or 3 opt-in).
  2. Show the bot's queue in the group and in the bot's page: what it is doing now, what is waiting, and since when.
  3. Let the owner reorder the queue or press "do this first", which pauses the current task at the next step boundary.
  4. When a task has waited more than a few minutes, tell the group who it is waiting on and why, instead of staying silent.
Ngôn ngữ chính
TypeScript
Star
277
Fork
27
Merge trung bình
2 giờ 47 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DuskBotAI/duskbot

Tất cả issue của DuskBotAI/duskbot

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.