-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upload: Push a dummy commit to work around reordering issues
We've had a long running issue where github may mark prs as merged or closed when trying to reorder relative series. This is caused by push + update not being atomic (see comments for more details). To work around this we'll - detect it in a dumb way, if 2 or more prs had their base changed this upload. this will result in some false positives, but the only cost is an additional ~1s push that people likely won't notice, and will save us from needing to write more complex logic to detect it correctly. - push a dummy commit to every single branch initially that prevents github from marking any of the prs as merged. - update as normal - do an extra push to remove the dummy commit Topic: reorder4 Reviewers: aaron, brian-k
- Loading branch information
1 parent
159f964
commit dd0d6b9
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters