Integrated: 2159: CheckRun repeats search for backport commit on each evaluation
Zhao Song
zsong at openjdk.org
Mon Jan 29 17:32:37 UTC 2024
On Fri, 26 Jan 2024 19:01:00 GMT, Zhao Song <zsong at openjdk.org> wrote:
> As Erik said in the issue description, when skara bot is searching for the original commit for a backport port, it's very inefficient for GitLab because GitLab doesn't provide the good rest api as GitHub for the bot to search for a commit by hash. So Skara have no choice but go through all the repositories and it's very slow right now.
>
> To fix it, we could store the repository name together with the commit hash in the comment, therefore the bot will only need to run the search once.
This pull request has now been integrated.
Changeset: f300ab2b
Author: Zhao Song <zsong at openjdk.org>
URL: https://git.openjdk.org/skara/commit/f300ab2be083c3f87bf7119c879d7d6c728a8dbe
Stats: 74 lines in 11 files changed: 40 ins; 4 del; 30 mod
2159: CheckRun repeats search for backport commit on each evaluation
Reviewed-by: erikj
-------------
PR: https://git.openjdk.org/skara/pull/1605
More information about the skara-dev
mailing list