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

Tasks: Server-side input queue for auto-resume

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
領域
api, backend, database

調査の方向性

coderd/aitasks.go と task_pending_inputs の新しい migration から始め、次に参照されている lifecycle RFC と既存の job-system integration を確認してください。/send が一時停止中の task をどのように処理するか、また workspace の準備完了状態と配信がどのように表現されるかを追跡してください。キューに入れられたメッセージが ID 付きで 202 を返し、自動的な workspace 起動後に配信され、指定どおりに失敗状態を記録すれば完了です。

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

説明

project/tasks

Repo: coder/coder

Scope: Allow /send to accept messages for paused tasks, queue them, and deliver asynchronously.

Note: Consider ACP (Agent Communication Protocol) impact before implementation. ACP standardization may influence message queue design and delivery mechanism.

Changes:

  • Create task_pending_inputs table:
    • id UUID PRIMARY KEY
    • task_id UUID REFERENCES tasks(id)
    • content TEXT NOT NULL
    • status TEXT NOT NULL DEFAULT 'pending'
    • created_at TIMESTAMPTZ NOT NULL
    • delivered_at TIMESTAMPTZ
    • error TEXT
  • Modify /send to accept messages for paused tasks
  • Return 202 Accepted with message ID for queued messages
  • Background worker: trigger workspace start, poll for ready, deliver message, update status
  • Handle failures (build fails, delivery fails) with appropriate status updates

Benefits beyond auto-resume (per RFC):

  • Solves Terraform env var length limits for long prompts
  • Unifies initial prompt + follow-up delivery path
  • Enables prompt modification until task starts
  • Enables prebuilds for tasks

Files:

  • New migration for task_pending_inputs table
  • coderd/aitasks.go (modified send handler)
  • New background worker or integration with existing job system

Acceptance criteria:

  • /send to paused task returns 202 and queues message
  • Workspace automatically starts
  • Message delivered when workspace ready
  • Failure states handled gracefully with status tracking
  • Direct API consumers no longer need orchestration logic

Dependencies:

  • GA phase complete
  • ACP (Agent Communication Protocol) evaluation (does not block, but may influence design)

References:

主要言語
言語のデータがありません
スター
3
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

coder/internal のほかの issue

coder/internal の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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