Skip to content

Refactor IncidentCreator to close the incident if it needs to

Rémy Coutable requested to merge refactor-incident-creator into master

What does this MR do and why?

This is a follow-up to !2221 (comment 1384756191).

With this MR, I'm closing the incident using the API directly in IncidentCreator#execute, so that we get fresh data from the API directly, without having to set the incident's data manually or "fake" them.

Expected impact & dry-runs

The behavior would be exactly the same. I only simplify the internal implementation.

Action items

Edited by Rémy Coutable

Merge request reports