Descriptiondashboard/app: ignore, try not to create partial Commits
It looks like the partial Commits are coming from the build breakages mails.
If you have commit A newer than commit B, then there are two code
paths depending on which reports its build result first.
For slow development, B finishes before A is committed, so when
A notices a failure it checks to see if B was okay.
That code path seems to be okay.
For submit of back-to-back changes, typically A finishes before B,
so when B notices an okay it checks to see if A failed.
That code path seems to zero the Commit for A while
trying to set its FailNotificationSent to true.
It does (did) succeed in setting FailNotificationSent to true,
it just zeroed everything else.
This CL adds code to refuse to do the datastore.Put to
update FailNotificationSent if the Commit info is incomplete.
It also tries to ignore Num=0 records, but that may not be
as important anymore.
Patch Set 1 #Patch Set 2 : diff -r 99379f9da939067a0856be9fc4f448a0e4eb3a43 https://code.google.com/p/go.tools #Patch Set 3 : diff -r 99379f9da939067a0856be9fc4f448a0e4eb3a43 https://code.google.com/p/go.tools #Patch Set 4 : diff -r 99379f9da939067a0856be9fc4f448a0e4eb3a43 https://code.google.com/p/go.tools #Patch Set 5 : diff -r 99379f9da939067a0856be9fc4f448a0e4eb3a43 https://code.google.com/p/go.tools #
MessagesTotal messages: 6
|