highfive icon indicating copy to clipboard operation
highfive copied to clipboard

Should we check the diffs whenever new code is committed?

Open wafflespeanut opened this issue 8 years ago • 2 comments

In servo/servo#11267, the author modified the stuff inside python, and I was notified by highfive when the PR was opened. Later, new commits were added, where the author went for modifying the CI scripts (whose watcher is @aneeshusa). Wouldn't it be better if he got notified by it?

I suggest we should check the diff whenever new code is committed. We should probably store the state of the notified watchers somehow and check it before notifying someone again (so that we don't thrash the PR with comments!).

Whenever I think of a new suggestion, I'm worried about #124. Then, there's the problem of feasibility. Can we actually do this?

wafflespeanut avatar May 19 '16 18:05 wafflespeanut

I'm generally favourable towards this, but I worry that we'll end up getting the same notifications over and over in the common case (such as modifying unsafe code and going through several rounds of review).

jdm avatar May 19 '16 19:05 jdm

A good heuristic might be to rescan new diffs, but stop doing scanning after rebases.

metajack avatar May 20 '16 03:05 metajack