(If you also implement the requested "don't run on third_party, except third_party/blink" bit, make sure comments aren't disabled when code moves from third_party to non-third_party. Else there are no comments in third_party and then none on the move either.)
Good edge case thakis, I didn't think of that :-)
So, regarding implementation of this:
- when initially polling the CLs, we have the information from Gerrit about whether the file is a rename, but this information isn't saved
- when actually filtering out comments that aren't in the diff, we have the patch, which doesn't explicitly mark anything as a rename, it just lists one file as deleted and another file as added -- but we don't have the original information from gerrit that this was a rename (code link https://cs.chromium.org/chromium/infra/go/src/infra/tricium/appengine/gerrit/gerrit.go?l=151)
Comment 1 by qyears...@chromium.org
, Oct 1