RFR: 2159: CheckRun repeats search for backport commit on each evaluation [v2]

Zhao Song zsong at openjdk.org
Fri Jan 26 21:25:21 UTC 2024


> 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.

Zhao Song has updated the pull request incrementally with one additional commit since the last revision:

  review comment

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

Changes:
  - all: https://git.openjdk.org/skara/pull/1605/files
  - new: https://git.openjdk.org/skara/pull/1605/files/6611eec2..a752c865

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=skara&pr=1605&range=01
 - incr: https://webrevs.openjdk.org/?repo=skara&pr=1605&range=00-01

  Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/skara/pull/1605.diff
  Fetch: git fetch https://git.openjdk.org/skara.git pull/1605/head:pull/1605

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


More information about the skara-dev mailing list