buildbucket: fill the "user" Swarming task request field on CQ+1 and CQ+2 jobs |
|
Issue descriptionRight now buildbucket doesn't fill the "User" field when creating a Swarming task. This makes it harder to see who is generating most load; CQ+1 and CQ+2 combined. CQ+1 load can be determined with "Authenticated" field. This makes the "User" column in /tasklist useless.
,
Aug 29
Filed issue 878942 for automatic task tag for authenticated user. The "user" field is meant to be "on behalf of" so it is a free form field. This is useful when a process (the CQ) triggers tasks on behalf of a non-committer. Otherwise there will be no way to know how much load a non-committer generates.
,
Aug 29
to be clear: the identity of the request is the only user buildbucket knows about, i.e. buildbucket does not have a concept of "on behalf of" because this use case is handled by the underlying user impersonation: buildbucket always sees "on behalf of" user as the requester identity and sets swarming's Authenticated to it. For example, in the past, when Rietveld server scheduled a build on buildbucket, it did so on behalf of the rietveld user, bulidbucket treated the request as coming from the end user and set Authenticated field to the end user. I'd prefer CQ to start using user impersonation aka delegation so that Authenticated is set to the end user, as opposed to introducing a new concept to buildbucket API. |
|
►
Sign in to add a comment |
|
Comment 1 by no...@chromium.org
, Aug 29