Commit graph

6 commits

Author SHA1 Message Date
ryan
a25fdf52d3 fix(issue-triage): only count a duplicate notice posted by the workflow itself
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-19 01:15:27 +00:00
ryan
2d3ae5a780 fix(issue-triage): trust only the workflow's own dispatch marker and keep a clear rerun off flagged issues
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-19 00:51:55 +00:00
ryan
a5d7f6a262 ci(issue-triage): add the dup:clear label and a dry-run dispatch gate that locks bugs with repro:running
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-19 00:38:16 +00:00
ryan-crabbe-berri
0d3001d41c ci(duplicate-check): drop the unused considered field from the verdict schema
The flag step never read it: parseVerdict destructures duplicate_of,
confidence and evidence only, so considered cost tokens on every issue
and went straight on the floor. The parse test now covers extra keys
being dropped instead of asserting a field that no longer exists.
2026-09-13 15:41:30 -07:00
ryan-crabbe-berri
5bad1a85f7 ci(duplicate-check): only warn about the auto close the sweep will actually do
The notice now asks the sweep's own duplicateTarget whether the title
match would close the issue, so a two-word title no longer gets a close
warning the sweep would refuse to act on. The ask no longer promises
that a reply removes the label, since nothing does that automatically
2026-09-12 20:27:37 -07:00
ryan-crabbe-berri
009d6f364b ci(duplicate-check): move the flag step into a tested bun script
A verdict is now dropped when it names a pull request, the issue itself,
or a newer issue, and the label goes on before the comment so a failed
comment leaves no marker and the rerun finishes the job. The flag logic
lives in scripts/flag-duplicate-issue.ts next to the sweep it feeds,
sharing normalizeTitle and the marker format, with bun tests that run on
pull requests touching it
2026-09-12 20:10:30 -07:00