Handle Snippet file name errors in backfill

What does this MR do?

We need to modify the snippet backfill migration to handle snippets with file names that cause an error in Gitaly due to being unable to be parsed into valid git paths.

To do that, we are going to parametize the file name if it raises an error, or use the default (e.g. snippetfile1.txt) if that parameterised value is blank.

References #216273 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading