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

Cherry-pick bot should monitor changes it stages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • production
    • Cherry-pick bot
    • None

    Description

      On somewhat rare instances, a change will be staged in gerrit and never picked up by COIN. When a user stages a change that then hangs, they usually act to fix the issue by unstaging and restaging the change. If Cherry-pick bot is the only user added to a change that hangs, no one is watching and the change may get left behind.

       To work around COIN's unreliability in this, Cherry-pick bot should watch changes it stages and make sure that the status moves to INTEGRATING after a period.

       

      Proposal:

      Poll for INTEGRATING after 24 hours. Allow incoming messages about "change-merged", "change-integration-fail" to cancel the polling. If the status remains STAGED after 24 hours, try to restage the change.

      Further, monitor for change-integration-failed events to take action by either restaging or alerting a user.

      Attachments

        Activity

          People

            daniel.smith Daniel Smith
            daniel.smith Daniel Smith
            Jukka Jokiniva Jukka Jokiniva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: