Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUnexpected input can cause the release script to fail #7563
Comments
|
Moving this to 1.1 for now as I think this both should be fixed soon and shouldn't be too hard. |
|
I looked into this a bit and want to implement 2 things:
What do you think @ohemorange? I wanted to get your +1 before spending time implementing this. |
Are we sure that's what triggers the error? I'm having trouble finding where it says anything about this in the documentation; I was assuming it was an issue with taking input at the wrong point in time. Not that I have any issue with getting rid of the Either way, I think using |
I couldn't find much documentation on it, but I couldn't make it fail on any other keyboard input.
I am not aware of a way to catch an error at an arbitrary point in the script and then resume execution from that point unfortunately. Are you? The idea here was just to print a loud warning like
to make it clearer that it failed rather than perhaps not noticing and trying to continue with the release process. If you don't think that's useful though I can leave it out. |
I am not, but I was optimistically interpreting your comment to mean that you were, which I see now was the wrong choice (optimism). Given that, a large message seems better than nothing. So overall, plan sgtm. |
|
Unfortunately I don't think it's possible. What I think we can easily do though is write better error handling in specific problem areas where the release script sometimes fails. With our current setup, I'm not aware of any after removing the calls to |
The release script fails silently after any keyboard input from the user.The release script can fail silently when given unexpected input. This can potentially delay the release by hours.