Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(523)

Issue 650253003: Added HTTP endpoints for Correctness counts (Closed)

Created:
6 years, 2 months ago by stephana
Modified:
6 years, 2 months ago
Reviewers:
*jcgregorio
CC:
reviews_skia.org, rmistry
Base URL:
https://skia.googlesource.com/buildbot@master
Visibility:
Public.

Description

This adds http endpoints for correctness counts that are easily consumable by front-end JS. One can request the counts of positive/negative/untriaged digests aggregated over tests and also for individual tests. A second resource allows to request the counts for a specific test and also get labels for digests in the traces for the test. BUG=skia: Committed: https://skia.googlesource.com/buildbot/+/18fa8608981deb898f382162ab0b8224ba55ebd6

Patch Set 1 #

Patch Set 2 : Fixed typos #

Total comments: 15

Patch Set 3 : Addressed comments #

Patch Set 4 : Addressed Comments #

Total comments: 8

Patch Set 5 : Addressed comments 3 #

Patch Set 6 : Rebasing #

Total comments: 6

Patch Set 7 : Addressed comments 4 #

Patch Set 8 : Fixed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -48 lines) Patch
M golden/go/analysis/analysis.go View 1 2 3 4 5 6 10 chunks +137 lines, -31 lines 0 comments Download
M golden/go/db/db.go View 1 2 3 4 5 6 7 2 chunks +7 lines, -8 lines 0 comments Download
M golden/go/expstorage/sqlexpstore.go View 1 2 chunks +7 lines, -1 line 0 comments Download
M golden/go/skiacorrectness/main.go View 1 2 3 4 5 6 1 chunk +103 lines, -7 lines 0 comments Download
M golden/go/types/types.go View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 15 (3 generated)
stephana
6 years, 2 months ago (2014-10-17 17:35:27 UTC) #3
jcgregorio
https://codereview.chromium.org/650253003/diff/20001/golden/go/analysis/analysis.go File golden/go/analysis/analysis.go (right): https://codereview.chromium.org/650253003/diff/20001/golden/go/analysis/analysis.go#newcode90 golden/go/analysis/analysis.go:90: Counts map[string][][3]int64 `json:"counts"` [3]int64 is a little ambiguous as ...
6 years, 2 months ago (2014-10-17 18:07:52 UTC) #4
stephana
https://codereview.chromium.org/650253003/diff/20001/golden/go/analysis/analysis.go File golden/go/analysis/analysis.go (right): https://codereview.chromium.org/650253003/diff/20001/golden/go/analysis/analysis.go#newcode90 golden/go/analysis/analysis.go:90: Counts map[string][][3]int64 `json:"counts"` On 2014/10/17 18:07:52, jcgregorio wrote: > ...
6 years, 2 months ago (2014-10-17 20:01:45 UTC) #5
jcgregorio
https://codereview.chromium.org/650253003/diff/20001/golden/go/skiacorrectness/main.go File golden/go/skiacorrectness/main.go (right): https://codereview.chromium.org/650253003/diff/20001/golden/go/skiacorrectness/main.go#newcode53 golden/go/skiacorrectness/main.go:53: func (rr *RestResources) GetTileCountsHandler(w http.ResponseWriter, r *http.Request) { On ...
6 years, 2 months ago (2014-10-17 20:12:16 UTC) #6
stephana
I made analyzer a global for now. We cal always change that down the road ...
6 years, 2 months ago (2014-10-17 20:38:36 UTC) #7
jcgregorio
https://codereview.chromium.org/650253003/diff/60001/golden/go/analysis/analysis.go File golden/go/analysis/analysis.go (right): https://codereview.chromium.org/650253003/diff/60001/golden/go/analysis/analysis.go#newcode17 golden/go/analysis/analysis.go:17: // Stores a Trace with labels and digests in ...
6 years, 2 months ago (2014-10-18 00:09:03 UTC) #8
stephana
https://codereview.chromium.org/650253003/diff/60001/golden/go/analysis/analysis.go File golden/go/analysis/analysis.go (right): https://codereview.chromium.org/650253003/diff/60001/golden/go/analysis/analysis.go#newcode17 golden/go/analysis/analysis.go:17: // Stores a Trace with labels and digests in ...
6 years, 2 months ago (2014-10-20 12:56:08 UTC) #9
jcgregorio
https://codereview.chromium.org/650253003/diff/100001/golden/go/analysis/analysis.go File golden/go/analysis/analysis.go (right): https://codereview.chromium.org/650253003/diff/100001/golden/go/analysis/analysis.go#newcode171 golden/go/analysis/analysis.go:171: return a.currentTestCounts[testName], nil This looks like it will always ...
6 years, 2 months ago (2014-10-20 14:03:46 UTC) #10
stephana
Incorporated feedback and fixed more comments. https://codereview.chromium.org/650253003/diff/100001/golden/go/analysis/analysis.go File golden/go/analysis/analysis.go (right): https://codereview.chromium.org/650253003/diff/100001/golden/go/analysis/analysis.go#newcode171 golden/go/analysis/analysis.go:171: return a.currentTestCounts[testName], nil ...
6 years, 2 months ago (2014-10-20 14:36:15 UTC) #11
jcgregorio
LGTM
6 years, 2 months ago (2014-10-20 14:39:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/650253003/140001
6 years, 2 months ago (2014-10-20 14:43:18 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-10-20 14:43:27 UTC) #15
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as 18fa8608981deb898f382162ab0b8224ba55ebd6

Powered by Google App Engine
This is Rietveld 408576698