Uploaded image for project: 'Build'
  1. Build
  2. BUILD-866

New command: every 30 minutes, monitor if the current changelog was updated

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Neutral
    • None
    • None
    • None
    • None

    Description

      And if so, log the diff to #pd-maintenance. This is to avoid last-minute wrong changes such as the removal of CTS on the day we released 6.2.21.

      Implementation A:

      • store a copy of the CL in S3 or DynamoDB (depending on BUILD-865)
      • run and compare the current CL to the copy
      • print the diff, if any

      Implementation B:

      • Monitor changes using AuditRestClient.
      • Announce changes in #pd-maintenance
      • Store changes in DynamoDB so the process can resume the next excution from the last event recorded. (Avoiding message loss in case we miss executions) 

      We rather implement option B, as it gives more information (as such who performed the change) and frees developers from posting into #pd-maintenance, because the bot can do it instead of them. For the implementation B to be feasible we depend on having admin privileges to query the Audit enpoint (see CSH-4567).

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                roberto.gomez Roberto Gomez
                mmichel Maxime Michel
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR