Candlepin 2.0: Add in rollback support for failed manifest imports and refreshes
Before removing the old orchestration code, we had a way to rollback failed imports. See my PR here:
Dynflow didn't have this yet but there is a PR open to add support for rolling back actions:
Have the Owner::Import action rollback and call del_owner_import in Provider.
#3 Updated by David Davis over 2 years ago
I started working on this but there's a snag. The existing code checks for a length of 1 for imports:
But here's what I see for imports. It seems to contain all attempts so it's rarely going to have a length of 1:
Here's my code which is a WIP. It reproduces the existing [broken] behavior in Dynflow: