Renaming Python "master" branch to "main" (1.4k PRs & 700 repositories) triggered server HTTP error 500 #21636
-
Hi, the default “master” branch of the python/cpython project was renamed to “main”. The dialog announced that 1.4k pull requests and 747 repositories will be impacted. A few minutes later, a “main” branch was created, the default remains “master”, and https://github.com/python/cpython/branches displays an HTTP error 500. Right now, Pull requests · python/cpython · GitHub PRs still point to “master” (I checked a few of them, there are 1.4k+ open PRs, 25k+ PRs in total). Should we retry to rename the branch? Is a job still running in the GitHub server side? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Copy of the “rename branch” dialog:
Screenshot: https://twitter.com/DeejayNof/status/1389328007375036421/photo/1 |
Beta Was this translation helpful? Give feedback.
-
Looks like it just needed time to process. https://github.com/python/cpython/branches now shows “main” as the default and no sign of a “master” branch. I checked one random PR and it now targets “main”. |
Beta Was this translation helpful? Give feedback.
-
Not quite: https://twitter.com/willsmythe/status/1389332999720800256 |
Beta Was this translation helpful? Give feedback.
-
Hi, I’m an engineer on GitHub’s coding team. I just manually processed that branch rename. One of the initial steps of the rename was taking long enough that it timed out and so the rename didn’t finish on its own. Generally you can expect a rename to be finished within a couple minutes of when it starts, but if you do find one that hangs like this feel free to reach out to support and we can take a look. |
Beta Was this translation helpful? Give feedback.
-
Thanks! We suspected it was something like that. |
Beta Was this translation helpful? Give feedback.
Hi, I’m an engineer on GitHub’s coding team. I just manually processed that branch rename. One of the initial steps of the rename was taking long enough that it timed out and so the rename didn’t finish on its own.
Generally you can expect a rename to be finished within a couple minutes of when it starts, but if you do find one that hangs like this feel free to reach out to support and we can take a look.