Closed iainelder closed 4 years ago
Opsgenie support has opened a support ticket with the engineering team about this. The internal reference number is ALX-4227.
Hi @iainelder, thanks for the detailed feedback. With version 0.23.0, we started to sort JSON lists alphabetically by ID.
The order for some elements in the backup is not stable. The order of the list elements in the JSON changes even when the configuration in the application has not changed.
This makes git less effective as a change tracking tool because lots of non-functional changes are logged.
The backup should maintain the order of elements so that only functional changes show as diffs in the git repo.
I've seen the instability for the following objects:
For example, a user notification policy that sends an email and a mobile notification when an alert is assigned to them.
Between runs of the backup tool, I see diffs like this in my git repo. The contact methods have changed order in the backup, although nothing in the configuration has changed.
As another example, a scheduled maintenance is set to disable multiple integrations:
Bedtween runs of the backup tool, I see diffs like this. The IDs of the disabled integrations have changed order in the backup, although nothing in the configuration has changed.