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

Issue 2717043002: Add LogDog log stream fetcher code. (Closed)

Created:
3 years, 10 months ago by dnj
Modified:
3 years, 9 months ago
Reviewers:
nodir, hinoka
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Add LogDog log stream fetcher code. Add the LogDog log stream fetcher TypeScript code. This is a class and associated facilities capable of asynchronously fetching LogDog log streams via promises and reporting the fetch status. BUG=chromium:678673 TEST=None Review-Url: https://codereview.chromium.org/2717043002 Committed: https://github.com/luci/luci-go/commit/1a272ab20c4b42c9d2a18871a864904d95629fa8

Patch Set 1 #

Total comments: 24

Patch Set 2 : comments, retry "do" #

Total comments: 43

Patch Set 3 : operations, comments #

Total comments: 3

Patch Set 4 : use operation token #

Total comments: 6

Patch Set 5 : add missing client #

Patch Set 6 : fix bug, underscore variable names #

Unified diffs Side-by-side diffs Delta from patch set Stats (+601 lines, -167 lines) Patch
A web/inc/logdog-stream-view/fetcher.ts View 1 2 3 4 5 1 chunk +452 lines, -0 lines 0 comments Download
D web/inc/logdog-stream-view/logdog-stream-fetcher.html View 1 chunk +0 lines, -162 lines 0 comments Download
A web/inc/logdog-stream/client.ts View 1 2 3 4 1 chunk +139 lines, -0 lines 0 comments Download
M web/inc/luci-operation/operation.ts View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M web/inc/tslint.json View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M web/web.py View 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 16 (5 generated)
dnj
PTAL
3 years, 10 months ago (2017-02-25 19:00:48 UTC) #2
hinoka
mostly lg + naming comments Main concern is added complexity with the triply nested retry ...
3 years, 9 months ago (2017-02-27 21:50:26 UTC) #3
dnj
https://codereview.chromium.org/2717043002/diff/1/web/inc/logdog-stream-view/fetcher.ts File web/inc/logdog-stream-view/fetcher.ts (right): https://codereview.chromium.org/2717043002/diff/1/web/inc/logdog-stream-view/fetcher.ts#newcode39 web/inc/logdog-stream-view/fetcher.ts:39: * and retrying calls due to: - Transient failures ...
3 years, 9 months ago (2017-03-08 04:13:43 UTC) #4
nodir
https://codereview.chromium.org/2717043002/diff/20001/web/inc/logdog-stream-view/fetcher.ts File web/inc/logdog-stream-view/fetcher.ts (right): https://codereview.chromium.org/2717043002/diff/20001/web/inc/logdog-stream-view/fetcher.ts#newcode156 web/inc/logdog-stream-view/fetcher.ts:156: allLogs.push.apply(allLogs, logs); nit, in my experience this is usually ...
3 years, 9 months ago (2017-03-08 07:41:29 UTC) #5
dnj
Fixed. PTAL now that I've implemented this via operations. https://codereview.chromium.org/2717043002/diff/20001/web/inc/logdog-stream-view/fetcher.ts File web/inc/logdog-stream-view/fetcher.ts (right): https://codereview.chromium.org/2717043002/diff/20001/web/inc/logdog-stream-view/fetcher.ts#newcode156 web/inc/logdog-stream-view/fetcher.ts:156: ...
3 years, 9 months ago (2017-03-08 08:50:15 UTC) #6
dnj
PTAL, updated w/ operation token
3 years, 9 months ago (2017-03-09 02:36:24 UTC) #7
nodir
lgtm https://codereview.chromium.org/2717043002/diff/20001/web/inc/logdog-stream-view/fetcher.ts File web/inc/logdog-stream-view/fetcher.ts (right): https://codereview.chromium.org/2717043002/diff/20001/web/inc/logdog-stream-view/fetcher.ts#newcode156 web/inc/logdog-stream-view/fetcher.ts:156: allLogs.push.apply(allLogs, logs); On 2017/03/08 08:50:14, dnj wrote: > ...
3 years, 9 months ago (2017-03-13 19:48:22 UTC) #8
hinoka
lgtm here also
3 years, 9 months ago (2017-03-13 19:54:32 UTC) #9
dnj
https://codereview.chromium.org/2717043002/diff/40001/web/inc/logdog-stream-view/fetcher.ts File web/inc/logdog-stream-view/fetcher.ts (right): https://codereview.chromium.org/2717043002/diff/40001/web/inc/logdog-stream-view/fetcher.ts#newcode54 web/inc/logdog-stream-view/fetcher.ts:54: private cancelledValue = false; On 2017/03/13 19:48:22, nodir wrote: ...
3 years, 9 months ago (2017-03-14 00:14:41 UTC) #10
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/2717043002/100001
3 years, 9 months ago (2017-03-14 00:14:53 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 00:20:34 UTC) #16
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://github.com/luci/luci-go/commit/1a272ab20c4b42c9d2a18871a864904d95629fa8

Powered by Google App Engine
This is Rietveld 408576698