After further investigations, I do not actually think that the activity you are seeing is related to whether the time on the StatusInfo is a pointer or not, i.e.e the bug I linked is not relevant.
What is relevant is that we do check if the status changed since last time we have set it [1], but seem to update the status regardless [2].
Looking into making sure we do not update the status if nothing but the timestamp changed...
After further investigations, I do not actually think that the activity you are seeing is related to whether the time on the StatusInfo is a pointer or not, i.e.e the bug I linked is not relevant.
What is relevant is that we do check if the status changed since last time we have set it [1], but seem to update the status regardless [2].
Looking into making sure we do not update the status if nothing but the timestamp changed...
[1] /github. com/juju/ juju/blob/ develop/ state/status. go#L351
https:/
[2] /github. com/juju/ juju/blob/ develop/ state/status. go#L283
https:/