Edge case, should only happen when DataCite is unavailable when dataset is published. In this case, the dataset page shows an error happened and retains the draft and unpublished tags but the dataset card seems to have updated the tags so does not appear to be unpublished. The card also appears in listing to an anonymous user as if public but permissions still as draft (prompts log in). So, seems like it is being indexed anyway even though publish failed.
Edge case, should only happen when DataCite is unavailable when dataset is published. In this case, the dataset page shows an error happened and retains the draft and unpublished tags but the dataset card seems to have updated the tags so does not appear to be unpublished. The card also appears in listing to an anonymous user as if public but permissions still as draft (prompts log in). So, seems like it is being indexed anyway even though publish failed.