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

Create Cherry-pick bot recovery endpoints

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • None
    • Cherry-pick bot
    • None
    • fe5ddb347 (dev)

      If a cherry-pick process bombs out at some point due to a bug or unrecoverable service outage, it would be useful to be able to replay events in the bot or otherwise restart a process which was aborted or marked as a hard-fail.

      Probably the easiest way to accomplish this would be to create new POST endpoints which directly access the event-driven logic of the core cherry-pick bot, effectively creating an RPC interface for the bot.

      A limitation of this approach is that the admin user must know which parameters are required by the endpoint, and pass correctly formed parameters, since in a recovery scenario, the bot has likely written a "done_*" status to the database and removed the last-used function parameters. Perhaps we have enough leeway in the database to retain the last-called arguments regardless of the current done_* status of the pick. This should be investigated separately.

        For Gerrit Dashboard: QTQAINFRA-7269
        # Subject Branch Project Status CR V

            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