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

Issue 2546433003: [Findit] Query master flake analyses 100 at a time and add previous/next buttons to check flake dash (Closed)

Created:
4 years ago by lijeffrey
Modified:
4 years ago
Reviewers:
chanli, stgao
CC:
chromium-reviews, infra-reviews+infra_chromium.org, Sharu Jiang
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Findit] Query master flake analyses 100 at a time and add previous/next buttons to check flake dashboard Sample page: https://lijeffrey-dot-findit-for-me.appspot.com/waterfall/list-flakes BUG=662562 Committed: https://chromium.googlesource.com/infra/infra/+/b0b95c0f42e36db94517e8f126931e127b86a55b

Patch Set 1 #

Patch Set 2 : Fixing unintentional change #

Total comments: 2

Patch Set 3 : Addressing comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -43 lines) Patch
M appengine/findit/handlers/flake/list_flakes.py View 1 2 4 chunks +17 lines, -5 lines 1 comment Download
M appengine/findit/handlers/flake/test/list_flakes_test.py View 8 chunks +16 lines, -13 lines 0 comments Download
M appengine/findit/templates/config.html View 1 2 1 chunk +8 lines, -8 lines 0 comments Download
M appengine/findit/templates/flake/dashboard.html View 1 2 4 chunks +75 lines, -17 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
lijeffrey
This change should speed up the check flake dashboard a lot just by querying 100 ...
4 years ago (2016-12-01 00:10:40 UTC) #4
chanli
Generally LGTM. But from https://cloud.google.com/appengine/docs/python/ndb/queries, we can simply use cursor to go previous or next, ...
4 years ago (2016-12-01 00:45:35 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2546433003/40001
4 years ago (2016-12-01 13:47:21 UTC) #8
lijeffrey
I'm not familiar with the cursor approach, but from what I can tell it doesn't ...
4 years ago (2016-12-01 13:48:59 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/infra/infra/+/b0b95c0f42e36db94517e8f126931e127b86a55b
4 years ago (2016-12-01 14:02:46 UTC) #12
stgao
not lgtm This broke the filtering by status. Was that tested at all?
4 years ago (2016-12-01 18:22:14 UTC) #14
stgao
On 2016/12/01 18:22:14, stgao (slow on Monday) wrote: > not lgtm > > This broke ...
4 years ago (2016-12-01 18:24:52 UTC) #15
stgao
4 years ago (2016-12-01 18:26:06 UTC) #16
Message was sent while issue was closed.
https://codereview.chromium.org/2546433003/diff/40001/appengine/findit/handle...
File appengine/findit/handlers/flake/list_flakes.py (right):

https://codereview.chromium.org/2546433003/diff/40001/appengine/findit/handle...
appengine/findit/handlers/flake/list_flakes.py:23: end_date=None,
status_code=result_status.UNSPECIFIED, offset=0):
We'd better use cursor instead of offset for performance, IIRC.

Powered by Google App Engine
This is Rietveld 408576698