⚠️ Bulk mutation not editing all products

The number of items that were edited by the bulk mutation is sometimes less than the number of products that should have been edited. The number of lines in the output doesn’t match the input, so we have no idea why those products failed to be edited.

Example:

Bulk operation gid://shopify/BulkOperation/4712238055619 has 19 lines in the results file, but 22 products were in the input data. Product gid://shopify/Product/8225957937347 was specified in the input data, but was not available in the bulk operation results. There were a couple others missing.

This has happened on a few different shops recently, with various configurations, so it seems to be mostly a bulk operation issue.

This is rather urgent, as we have no way to explain to the users why the edit randomly fails partially.

Solved here: