Replace /reset-worker workflow with TriggerComment-based retrigger
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 331
- Forks
- 40
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 70
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading .github/workflows/reset-kelos-worker.yaml and tracing the spawner's TriggerComment handling and excludeLabels behavior. Review kelos-triage.yaml before changing label handling. Done means completed-task retriggering can remove the configured exclude label without breaking triage, running-task behavior, or the existing admin access expectations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, go, kubernetes
- Domain
- ci-cd, devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100