File a bug report without filing it twice
Example input: a failing run’s summary, the target repository and a unique label such as run-report. The run searches issues in that repository for the same failure signature first.
Expected result: one issue per real failure. When the search finds a match, the run comments on the existing issue; when it finds nothing, it creates the issue with the label attached.
Check: search allows 30 requests per minute authenticated and at most 1,000 results, so the query uses repo and label qualifiers instead of paging broadly. Issue listings also return pull requests, so the run checks the pull_request key before treating a match as its earlier report.


