diff --git a/tasks.py b/tasks.py index 4f69e6dd..36daf10c 100644 --- a/tasks.py +++ b/tasks.py @@ -1159,17 +1159,17 @@ def archive_pipeline_tick(): @huey.periodic_task(crontab(minute="*/15")) def triage_issues(): - """Score and assign unassigned issues across all repos.""" + """Passively scan unassigned issues without posting comment spam.""" g = GiteaClient() - found = 0 + backlog = [] for repo in REPOS: for issue in g.find_unassigned_issues(repo, limit=10): - found += 1 - g.create_comment( - repo, issue.number, - "🔍 Triaged by Huey — needs assignment." - ) - return {"triaged": found} + backlog.append({ + "repo": repo, + "issue": issue.number, + "title": issue.title, + }) + return {"unassigned": len(backlog), "sample": backlog[:20]} @huey.periodic_task(crontab(minute="*/30"))