Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-7403

Cherry-pick bot no longer staging relation chains together

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • None
    • production
    • Cherry-pick bot
    • None
    • 157ded45d (dev)

      Due to changes in the gerrit API, internal cherry-pick bot logic for listening to events on other changes has broken.

      The API changed the root-level `.id` field to use a new format of `repo~change_number`, but the listener setup relies on the format `repo~branch~change_id`. The bot must be updated to use the new `.triplet_id` field from queried changes. The event stream still does not deliver a triplet id, even though the API specification states that a ChangeInfo object is used which should be the same as the REST API, so we must continue to construct the triplet id for incoming events.

      Note: while it should be possible to use the new two-part format, it's likely safer in the bot to refactor using the triplet id, as significant logic is based upon parsing the triplet ID for needed information points.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            daniel.smith Daniel Smith
            daniel.smith Daniel Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes