Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(server): trigger agent on comments regardless of issue status (#1209)
Bohan Jiang209300c86fcf
diff --git a/server/internal/handler/issue.go b/server/internal/handler/issue.goindex f8b5b92eed..1d4e9d2f9c 100644--- a/server/internal/handler/issue.go+++ b/server/internal/handler/issue.go@@ -1185,13 +1185,10 @@ func (h *Handler) shouldEnqueueAgentTask(ctx context.Context, issue db.Issue) bo}// shouldEnqueueOnComment returns true if a member comment on this issue should-// trigger the assigned agent. Fires for any non-terminal status — comments are-// conversational and can happen at any stage of active work.+// trigger the assigned agent. Fires for any status — comments are+// conversational and can happen at any stage, including after completion+// (e.g. follow-up questions on a done issue).func (h *Handler) shouldEnqueueOnComment(ctx context.Context, issue db.Issue) bool {- // Don't trigger on terminal statuses (done, cancelled).- if issue.Status == "done" || issue.Status == "cancelled" {- return false- }if !h.isAgentAssigneeReady(ctx, issue) {return false}