Agents module: a manual run reports 'queued' and executes nothing
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- next.js, typescript
調査の方向性
apps/web/src/app/api/agents/[id]/run/route.ts から始め、次に packages/outpost/queue と apps/worker を調べて、既存のジョブタイプとハンドラーを確認します。現在の response と lastRun の更新が UI でどのように利用されているかを確認します。選択した動作が一貫して実装され、何も実行されていないのに成功した queued run を報告しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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:
- Wire runs to a real
AGENT_RUNjob type and a handler, or - 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 ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CopilotKit/outpost のほかの issue
-
area: docs area: security roadmap: now
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
CopilotKit/outpost#277 ·
メンテナーはふだん 4 日以内に返信
-
area: infrastructure roadmap roadmap: later
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
CopilotKit/outpost#179 ·
メンテナーはふだん 4 日以内に返信
-
area: ai roadmap roadmap: now
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CopilotKit/outpost#145 ·
メンテナーはふだん 4 日以内に返信
-
area: integrations priority: low roadmap roadmap: later
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
CopilotKit/outpost#124 · コメント 3 件 ·
メンテナーはふだん 4 日以内に返信
-
area: integrations priority: low roadmap roadmap: later
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
CopilotKit/outpost#123 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
CopilotKit/outpost の issue をすべて見る
似ている issue
-
perf(core): getComments() runs the approved count and the comment list as two sequential queriesオープンarea/core bot:bug bot:working
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
emdash-cms/emdash#3905 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
lingdojo/kana-dojo#31728 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
selective-claw: freshTailTurns=0 keeps ALL turns verbatim and summarizes none (slice(-0) === slice(0))対応中かも @zjncs が今日担当しました。 オープンcomponent:tokenless
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
agentic-os-org/ANOLISA#6112 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
rjsf-team/react-jsonschema-form#5439 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信