-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
kelos/needs-inputkind/featureCategorizes issue or PR as related to a new featureCategorizes issue or PR as related to a new featureneeds-actorpriority/important-longtermtriage-accepted
Description
Summary
The /reset-worker GitHub Actions workflow (.github/workflows/reset-kelos-worker.yaml) can be replaced by the spawner's TriggerComment retrigger feature (#432), but there's a blocker: the kelos/needs-input excludeLabel prevents the spawner from even discovering issues that need retriggering.
Current flow
- Spawner discovers issue (no
kelos/needs-input) → creates task - Agent finishes → adds
kelos/needs-inputlabel - Human posts
/reset-worker→ workflow removes label + deletes task via kubectl - Next poll cycle → spawner rediscovers the issue and creates a new task
Problem
TriggerComment retrigger (#432) can delete completed tasks and recreate them, but excludeLabels: [kelos/needs-input] filters out the issue at the GitHub API level before the spawner ever sees it. The trigger comment is never evaluated.
Proposal
Teach the spawner to remove the kelos/needs-input label (or a configurable excludeLabel) when it retriggers a completed task. This would let TriggerComment fully replace the /reset-worker workflow:
- Human posts trigger comment (e.g.,
/kelos pick-up) - Spawner discovers the issue (label no longer blocks discovery for retrigger)
- Spawner deletes the completed task, removes the excludeLabel, and creates a new task
Considerations
- The
kelos/needs-inputlabel is also used bykelos-triage.yaml— changes should not break that flow /reset-workeralso resets running tasks; TriggerComment only handles completed ones- Admin-only access control on
/reset-workerwould be lost unless replicated
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kelos/needs-inputkind/featureCategorizes issue or PR as related to a new featureCategorizes issue or PR as related to a new featureneeds-actorpriority/important-longtermtriage-accepted