rust-lang / rust-log-analyzer

Analyzing Travis and Azure Pipelines logs to find encountered errors
MIT License
40 stars 27 forks source link

Automatically mark all but the last comment as resolved #19

Open killercup opened 6 years ago

killercup commented 6 years ago

GitHub now allows comments to be marked as "Resolved". I propose we automatically mark all old "failed on Travis" comments as resolved every time a new one gets added. This will improve the readability of discussions in PRs (especially in cases like https://github.com/rust-lang/rust/pull/51249).

Sadly, it doesn't look like there is an API endpoint for doing this (neither in the REST v3 nor in the GraphQL API).

kennytm commented 6 years ago

See also https://github.com/rust-ops/rust-log-analyzer/issues/10#issuecomment-382517000 :)

killercup commented 6 years ago

Ah, great! Before researching this I was hoping it was just a simple API call. I agree the Checks API might be better suited.