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
proposal: gerrit: change TryBot failure score from -1 to -2 #37848
Comments
We don't want to block changes like doc changes on a broken builder. Can you point to examples of merges that had trybot failures? I don't want to single people out, but it may be instructive to look at what the trybot failures were like. |
Two recent examples that have failed trybots results: https://go-review.googlesource.com/c/go/+/221603 cmd/compile/internal/syntax: faster and simpler source reader And: |
Those two examples were both modified after the trybots failed. |
I didn't mean to be overly prescriptive in my suggestion. It was intended just to highlight that there appears to be a workflow problem where trybots errors /appear/ to be being overlooked or not revalidated after a patchset update. I would suggest considering something that blocks on failure by default but is easily overridden when needed. |
The TryBots generally all run on fresh VMs, so that's not usually an issue. That said, it's also handy to be able to submit after fixing a couple of typos or comments and only re-building locally (to make sure the typo-fix didn't also introduce a stray edit elsewhere), without waiting on another TryBot run. (For example, see https://golang.org/cl/222277: I submitted PS16, which had the same code as the TryBot+1 PS14 but a few comment and commit-message changes.) |
https://golang.org/cl/143023 was another recent example of a change with a TryBot -1 and subsequent break (the revert in https://golang.org/cl/220237 was abandoned after a trivial fix in https://golang.org/cl/220277 was submitted). |
I notice that Gerrit has started to prompt when I hit the Submit button with unresolved comment threads. Perhaps it could do the same for changes that lack a TryBot +1? |
TryBot failures are now unresolved comments, which cause a prompt when trying to submit but do not completely block it the way a -2 would. That seems like the right balance to me. Does anyone object to closing this issue? |
Based on the discussion above, this proposal seems like a likely decline. |
No change in consensus, so declined. |
What version of Go are you using (
go version
)?n/a
Does this issue reproduce with the latest release?
n/a
What operating system and processor architecture are you using (
go env
)?n/a
What did you do?
n/a
What did you expect to see?
go-review gerrits that show failure for the most recent TryBots run are not merged.
What did you see instead?
I observed that:
Comments
Examples can be provided on request (but I suspect that the go team are aware of the workflow issue described above).
I propose that TryBots be given -2 block merge privileges to ensure that the failing test build results are never overlooked. If needed for emergent purposes, a gerrit user with appropriate privileges would still be able to remove the -2 and submit regardless.
The text was updated successfully, but these errors were encountered: