Integrated: 1818: Get rid of extra REST request in GitLabMergeRequest#author

Zhao Song zsong at openjdk.org
Mon Feb 13 23:00:17 UTC 2023


On Mon, 13 Feb 2023 21:01:06 GMT, Zhao Song <zsong at openjdk.org> wrote:

> Currently, in GitLabMergeRequest#author, the bot makes an unnecessary REST request to retrieve the HostUser object. 
> However, with recent advancements in GitLab, it's possible to parse the HostUser directly from the pull request JSON. 
> Getting rid of this redundant REST request would also solve the 'user is inactive' issue.

This pull request has now been integrated.

Changeset: 5b209c62
Author:    Zhao Song <zsong at openjdk.org>
URL:       https://git.openjdk.org/skara/commit/5b209c62e2e18e9951711972413ae5d239553aa5
Stats:     7 lines in 1 file changed: 0 ins; 6 del; 1 mod

1818: Get rid of extra REST request in GitLabMergeRequest#author

Reviewed-by: erikj

-------------

PR: https://git.openjdk.org/skara/pull/1471


More information about the skara-dev mailing list