You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't start on this yet. #561 ("Allow bots to be filtered based on labels") has only one line of body and no How to test it or Done when section. Could you answer these, or edit the issue?
Where is the label filter set? Is it a per-bot field in the loopway config, for example labels: ["bug"] on a bot, or something else?
How should a bot with several labels match? Should the issue need any one of them, or all of them?
What should a bot with no label filter do? I'd assume it keeps reacting to every issue, as it does now.
Should the filter apply only to issues, or to pull requests too?
What are the steps you would run to test it, and what should you see when it works?
PR #562 adds a labels: expression to a bot's front matter, and a bot only starts a thread on subjects whose labels match it.
Syntax:labels: epic needs the label, and labels: "!epic" needs it absent. { and: [...] }, { or: [...] } and { not: ... } combine them, and a bare list means and. A bot with no labels: takes everything, and it applies to issues and pull requests.
Scratch bots:init-scratch now writes an epic bot, and dev has labels: "!epic".
Checks: build, test (289 and 41), typecheck, lint and format all pass.
Live in the sandbox:
An epic issue started only the epic bot.
A plain issue started only dev.
A label added later started the epic bot on an issue dev already had, and dev's thread stayed open.
Not run live: pull requests. The unit tests cover them.
Details are in verifications/562.md on the branch.
Activity
loopway-bot commentedon Nov 25, 2026
I can't start on this yet. #561 ("Allow bots to be filtered based on labels") has only one line of body and no How to test it or Done when section. Could you answer these, or edit the issue?
labels: ["bug"]on a bot, or something else?Reply here to answer: loopway-bot is waiting.
mcwhittemore commentedon Nov 25, 2026
epicbot. The issue bot shouldn't react to epic bot issues.loopway-bot commentedon Nov 25, 2026
PR #562 adds a
labels:expression to a bot's front matter, and a bot only starts a thread on subjects whose labels match it.labels: epicneeds the label, andlabels: "!epic"needs it absent.{ and: [...] },{ or: [...] }and{ not: ... }combine them, and a bare list meansand. A bot with nolabels:takes everything, and it applies to issues and pull requests.init-scratchnow writes anepicbot, anddevhaslabels: "!epic".epicissue started only theepicbot.dev.epicbot on an issuedevalready had, anddev's thread stayed open.Details are in
verifications/562.mdon the branch.