coder / coder/create-task-action

Resume existing task instead of sending new input

Aperta
#15 0 commenti 1 reazione 1 assegnatario Rivendicata da @johnstcn Vedi su GitHub
Lingua principale
TypeScript
Stelle
2
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently, when the create-task action finds an existing task with the same name, it waits for the task to become active/idle and then sends the prompt as new input via `sendTaskInput`. This does not resume the original task's work — it gives the task a brand new instruction.

The action should attempt to resume the existing task (i.e. continue/retry the original work) rather than just sending new input to it.

## Current Behavior

1. `getTask()` finds an existing task by name
2. `waitForTaskActive()` waits for the task to be active and idle
3. `sendTaskInput()` sends the prompt as new input to the existing task
4. Returns `taskCreated: false`

## Expected Behavior

When an existing task is found, the action should attempt to resume/retry the task's original work.

---

Created on behalf of @johnstcn

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.