When overwrite_existing is set on ah_collection module the task to delete doesn't always complete before the new upload starts. This means that the task isn't being tracked properly and there are issues with timing.
Issue Type
Bug Report
OS / ENVIRONMENT
CI (on my fork because CI is working there, existing PRs will replicate this in devel)
Summary
When
overwrite_existing
is set on ah_collection module the task to delete doesn't always complete before the new upload starts. This means that the task isn't being tracked properly and there are issues with timing.Issue Type
OS / ENVIRONMENT
CI (on my fork because CI is working there, existing PRs will replicate this in devel)
Desired Behavior
CI works, particularly this section:
Actual Behavior
Failure to import because timing issues with deletion.
Suggested Resolution
Add a wait for task completion after the deletion