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

オープン
#26 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
TypeScript
スター
277
フォーク
27
平均マージ
2時間 47分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DuskBotAI/duskbot のほかの issue

DuskBotAI/duskbot の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。