1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:54:42 -07:00
go/dashboard/app
Russ Cox 46e9d8e060 dashboard/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.

LGTM=cmang
R=cmang
CC=golang-codereviews
https://golang.org/cl/154080043
2014-10-07 15:37:31 -04:00
..
build dashboard/app: ignore, try not to create partial Commits 2014-10-07 15:37:31 -04:00
cache dashboard: split key handler into key package, add TimeKey to cache 2014-06-02 08:39:03 +10:00
key dashboard: split key handler into key package, add TimeKey to cache 2014-06-02 08:39:03 +10:00
static go.tools/dashboard/app: drop green coloring from perf dashboard 2014-09-03 12:54:38 +10:00
app.yaml dashboard: server app UI changes for performance dashboard 2014-05-13 11:01:50 +04:00
cron.yaml dashboard/app: actually learn noise levels 2014-09-01 12:51:14 +04:00
index.yaml dashboard: server app changes for performance dashboard 2014-05-13 11:00:32 +04:00