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

Issue 2946343004: scheduler: add rpcs for actions on job and invocation. (Closed)

Created:
3 years, 6 months ago by tandrii(chromium)
Modified:
3 years, 5 months ago
Reviewers:
Vadim Sh.
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

scheduler: add rpcs for actions on job and invocation. Also: * refactor API messages to use JobRef and InvocationRef consistently. * introduce named errors to engine BUG=712427 Review-Url: https://codereview.chromium.org/2946343004 Committed: https://github.com/luci/luci-go/commit/8315cf5fcf6a6048afd984cec0dc32a4027ff4da

Patch Set 1 #

Total comments: 12

Patch Set 2 : with tests, without error codes #

Patch Set 3 : with errors #

Total comments: 6

Patch Set 4 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1058 lines, -353 lines) Patch
M scheduler/api/scheduler/v1/pb.discovery.go View 1 1 chunk +323 lines, -159 lines 0 comments Download
M scheduler/api/scheduler/v1/scheduler.proto View 1 2 chunks +79 lines, -35 lines 0 comments Download
M scheduler/api/scheduler/v1/scheduler.pb.go View 1 13 chunks +392 lines, -123 lines 0 comments Download
M scheduler/appengine/apiservers/scheduler.go View 1 2 3 5 chunks +70 lines, -7 lines 0 comments Download
M scheduler/appengine/apiservers/scheduler_test.go View 1 2 3 9 chunks +180 lines, -23 lines 0 comments Download
M scheduler/appengine/engine/engine.go View 1 2 7 chunks +11 lines, -6 lines 0 comments Download
M scheduler/appengine/presentation/acl.go View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M scheduler/appengine/presentation/state.go View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (22 generated)
tandrii(chromium)
PTAL the WIP % (no tests) High level questions: 1. TriggerInvocation returns nothing, because I ...
3 years, 6 months ago (2017-06-22 21:14:28 UTC) #4
tandrii(chromium)
ping
3 years, 5 months ago (2017-06-26 15:04:43 UTC) #7
Vadim Sh.
> 2. What's the best way to "catch" JobNotFound error and alike? Introduce special Error ...
3 years, 5 months ago (2017-06-26 17:36:33 UTC) #8
tandrii(chromium)
https://codereview.chromium.org/2946343004/diff/1/scheduler/api/scheduler/v1/scheduler.proto File scheduler/api/scheduler/v1/scheduler.proto (right): https://codereview.chromium.org/2946343004/diff/1/scheduler/api/scheduler/v1/scheduler.proto#newcode16 scheduler/api/scheduler/v1/scheduler.proto:16: rpc GetJobs(JobsRequest) returns (JobsReply); On 2017/06/26 17:36:32, Vadim Sh. ...
3 years, 5 months ago (2017-06-26 18:33:57 UTC) #9
Vadim Sh.
https://codereview.chromium.org/2946343004/diff/1/scheduler/api/scheduler/v1/scheduler.proto File scheduler/api/scheduler/v1/scheduler.proto (right): https://codereview.chromium.org/2946343004/diff/1/scheduler/api/scheduler/v1/scheduler.proto#newcode16 scheduler/api/scheduler/v1/scheduler.proto:16: rpc GetJobs(JobsRequest) returns (JobsReply); On 2017/06/26 18:33:57, tandrii(chromium) wrote: ...
3 years, 5 months ago (2017-06-27 01:43:03 UTC) #10
tandrii(chromium)
PTAL https://codereview.chromium.org/2946343004/diff/1/scheduler/api/scheduler/v1/scheduler.proto File scheduler/api/scheduler/v1/scheduler.proto (right): https://codereview.chromium.org/2946343004/diff/1/scheduler/api/scheduler/v1/scheduler.proto#newcode16 scheduler/api/scheduler/v1/scheduler.proto:16: rpc GetJobs(JobsRequest) returns (JobsReply); On 2017/06/27 01:43:03, Vadim ...
3 years, 5 months ago (2017-07-05 12:47:21 UTC) #18
Vadim Sh.
lgtm with nit don't forget to update CL description before committing https://codereview.chromium.org/2946343004/diff/40001/scheduler/appengine/apiservers/scheduler.go File scheduler/appengine/apiservers/scheduler.go (right): ...
3 years, 5 months ago (2017-07-05 18:38:48 UTC) #21
tandrii(chromium)
what's wrong with description? https://codereview.chromium.org/2946343004/diff/40001/scheduler/appengine/apiservers/scheduler.go File scheduler/appengine/apiservers/scheduler.go (right): https://codereview.chromium.org/2946343004/diff/40001/scheduler/appengine/apiservers/scheduler.go#newcode8 scheduler/appengine/apiservers/scheduler.go:8: scheduler "github.com/luci/luci-go/scheduler/api/scheduler/v1" On 2017/07/05 18:38:48, ...
3 years, 5 months ago (2017-07-05 19:21:51 UTC) #22
tandrii(chromium)
On 2017/07/05 19:21:51, tandrii(chromium) SLOW wrote: > what's wrong with description? Ah, it's just title! ...
3 years, 5 months ago (2017-07-05 19:22:17 UTC) #23
tandrii(chromium)
3 years, 5 months ago (2017-07-05 19:22:31 UTC) #24
Vadim Sh.
On 2017/07/05 19:21:51, tandrii(chromium) SLOW wrote: > what's wrong with description? > > https://codereview.chromium.org/2946343004/diff/40001/scheduler/appengine/apiservers/scheduler.go > ...
3 years, 5 months ago (2017-07-05 19:23:47 UTC) #27
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/2946343004/60001
3 years, 5 months ago (2017-07-05 19:50:54 UTC) #32
tandrii(chromium)
On 2017/07/05 19:23:47, Vadim Sh. wrote: > On 2017/07/05 19:21:51, tandrii(chromium) SLOW wrote: > > ...
3 years, 5 months ago (2017-07-05 19:51:44 UTC) #33
commit-bot: I haz the power
3 years, 5 months ago (2017-07-05 19:55:40 UTC) #36
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://github.com/luci/luci-go/commit/8315cf5fcf6a6048afd984cec0dc32a4027ff4da

Powered by Google App Engine
This is Rietveld 408576698