Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Agents module: a manual run reports 'queued' and executes nothing

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
next.js, typescript
領域
api, backend

調査の方向性

apps/web/src/app/api/agents/[id]/run/route.ts から始め、次に packages/outpost/queue と apps/worker を調べて、既存のジョブタイプとハンドラーを確認します。現在の response と lastRun の更新が UI でどのように利用されているかを確認します。選択した動作が一貫して実装され、何も実行されていないのに成功した queued run を報告しなくなれば完了です。

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

説明

area: product roadmap roadmap: next

POST /api/agents/[id]/run returns 202 Accepted with status: 'queued' and the message Agent "<name>" run has been queued. Nothing is queued.

// apps/web/src/app/api/agents/[id]/run/route.ts
    // Update the agent's lastRun timestamp
    await prisma.agent.update({ where: { id }, data: { lastRun: new Date() } });

    const result = { ..., status: 'queued', message: `Agent "${agent.name}" run has been queued...` };
    return NextResponse.json(result, { status: 202 });

Its own docstring is honest about it — "In a full implementation, this would also enqueue a job via the job queue for the configured action type." Nothing in packages/outpost/queue or apps/worker reads Agent rows at all.

Why it matters

The row's lastRun timestamp is updated, so the UI shows a recent successful run. An operator gets a 202, a "queued" status, and a fresh timestamp — three independent signals that the agent ran. It did not. This is a false completion rather than a missing feature, which is the more expensive kind.

Phase 3F is marked ✅ DONE in the Build Plan, with the caveat buried in the plan text: "Execution framework TBD — may be simple cron-style automations initially." That TBD was never resolved.

Decision needed

The Build Plan lists this as an open decision: full automation framework, or simple cron-style jobs? Until it is answered, the honest options are:

  1. Wire runs to a real AGENT_RUN job type and a handler, or
  2. Return 501 and disable the run button, so the UI stops reporting success.

Either is better than the current state. (2) is a few lines and can ship immediately while (1) is decided.

主要言語
TypeScript
スター
10
フォーク
4
平均マージ
4日 2時間
マージ済み PR(30日)
7

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

CopilotKit/outpost のほかの issue

CopilotKit/outpost の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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