New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/build/cmd/gopherbot: mark Gerrit comments as CI-generated #39828
Comments
This may have been resolved by placing the Go Bot account (and Gerrit Bot) in a "Service Users" group for Gerrit's Attention Set feature (documented here), see internal issue b/171883377 for details. Do you think there's more left to do here? |
I think the "Service Users" group simply exempts Go Bot from attention set logic. I still see Go Bot entries on older Patch Sets. I think this change would significantly reduce visual clutter. Finally, moving Go Bot to a service account from a GSuite account sounds like a nice cleanup. |
Go Bot's messages are still shown for all past Patch Sets. This is nearly undocumented, but what we need to do is tag those messages with a tag with an |
Ah, found the right docs. Sending a CL. https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#review-input |
Change https://golang.org/cl/310011 mentions this issue: |
Change https://golang.org/cl/310015 mentions this issue: |
It's nice to have a thread for the results because it starts unresolved, it gets marked resolved automatically if TryBots are happy, and it can be used to discuss the failure. Dropped the duplicate check on the beginning message because it's useful to know the TryBots have started again when dropping TryBotResult. Updates golang/go#39828 Change-Id: I66e8edec6dee10e8e1df2d2a6b501774ef373496 Reviewed-on: https://go-review.googlesource.com/c/build/+/310015 Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Alexander Rakoczy <alex@golang.org> Trust: Alexander Rakoczy <alex@golang.org> Trust: Filippo Valsorda <filippo@golang.org>
Change https://golang.org/cl/318129 mentions this issue: |
Third time's the charm. For golang/go#39828. Change-Id: I3eeb17b3c64bbcf27d2ce5e1a4a9207d5daf50d8 Reviewed-on: https://go-review.googlesource.com/c/build/+/318129 Trust: Filippo Valsorda <filippo@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
From https://www.gerritcodereview.com/2020-05-06-change-log-experiment.html
That sounds great!
However, as far as I can tell, Gobot Gobot is just pretending to be a human account, so it does not benefit from this logic. It'd be nice to port it to whatever system it needs to use to be recognized as a CI tool.
It might even have better security properties than a GSuite account.
/cc @golang/osp-team
The text was updated successfully, but these errors were encountered: