How can I prevent the new indexing bug from creating useless pages on Google?

The devs looked into these dates and nothing was done on our end regarding robots.txt files.