If, for some reason, an uploaded artifact gets physically deleted, it is impossible to re-upload it or tell sentry that some file no longer exists, even if a new release is created.
Upload succeeds, returns the correct SHA1 hash and file size but the file isn’t persisted. Trying to open it from the dashboard shows:
{"detail": "Internal Error", "errorId": "cdc84aa2bb2c49..."}
Manually deleting release or artifacts using the cli tool or the dashboard doesn’t helps because it only deletes the release-file relation, not the file itself.
The only way I see to re-upload a file is to manually update the database… I guess there should be a better way.
Any ideas?