.2) revert the anti-lgtm bot for a set of "trusted" authors (likely OWNERS)
And, regardless of which of the two we choose, we will implement a "btw, this was merged with changes" note. We'll try to get the diff, but I'm not positive how easy it is to get the diff from github if the commit has changed.
Per https://groups.google.com/d/msg/kubernetes-dev/SxcnadJQcr0/0GDnkC90BwAJ
We'll try to get the diff, but I'm not positive how easy it is to get the diff from github if the commit has changed.
This might be tricky. The problem is that when people force-push or do a rebase, the original git commit drops out and gets garbage collected at some unspecified point. There might be some way around this or some guarantee on how long the old commit sticks around, but there might not.
at least in the web ui, force-pushes show up as new events, could we maybe use the API to just grab commits since the last LGTM label? if it's a whole new patchset vs incremental diff, so be it?
@pkaminski I'm sure you're busy but hoping you can provide some insight :-). How does Reviewable produce a diff across PR revisions (including force-pushes)? Could the same technique be applicable here?
To summarize a bunch of fiddly code, Reviewable:
I'm sure you could reproduce this technique -- and I'm happy to provide more details if desired -- but it might be too much work depending on what you're trying to achieve. BTW, I asked GitHub support previously and they declined to provide any guarantees, or even estimates, on how long it takes for a commit to get GC'd.
We need to find an owner, update and/or close
/area mungegithub
lgtm-after-commit munger
Soon, something that will be handled by prow: https://github.com/kubernetes/test-infra/pull/3821
/area prow
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale
/remove-lifecycle stale
Lots of wishes for something like this when I raised the idea of revoking direct write access to k/k https://github.com/kubernetes/kubernetes/issues/57667
/unassign @brendandburns
/remove-area mungegithub
How about if you own all the files you're modifying we don't remove the LGTM label?
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale
/remove-lifecycle rotten
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/assign @hklai
/remove-lifecycle rotten
Should we consider this fixed?
@fejta: GitHub didn't allow me to assign the following users: hklai.
Note that only kubernetes members and repo collaborators can be assigned.
For more information please see the contributor guide
In response to this:
/assign @hklai
/remove-lifecycle rottenShould we consider this fixed?
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/assign @cjwagner
I plan to refine the trusted user definition to further reduce the scope from all org members. Will send another PR soon-ish.
https://github.com/kubernetes/test-infra/pull/10019 is merged and is deployed to Istio.
I think we can consider this as fixed now.
Most helpful comment
How about if you own all the files you're modifying we don't remove the LGTM label?