Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-2159

CheckRun repeats search for backport commit on each evaluation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0
    • None
    • bots
    • None

      Every time we do a CheckRun on a backport PR, we search the forge for the actual commit of for the original hash. On GitLab, this search is rather inefficient as it will go through every repository in the configured list of groups. As this list grows over time, this search becomes increasingly time consuming.

      To alleviate this, we should at least make sure to cache the result, by which I mean the repository we found the commit in, together with the hash in an MR comment so we only need to perform the search once.

            zsong Zhao Song
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: