Time to Restore Service DORA4 metric calculation inconsistency.
Summary
Currently we calculate Time to Restore Service DORA metric when an incident was closed. However if the incident was reopened and then closed again next day we recalculate Time to Restore Service metric for new closed_at
date only. So the same incident is involved in calculations twice.
DORA4 metric is not recalculated when an incident was reopened.
Proposal
When an incident was reopened we should recalculate Time to Restore Service metric for old "closed_at" date.