Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert behavior that uses placeholder GitHub issues for PRs
Summary: D42050143 (e77e67b) / e77e67b changed the default behavior for `sl pr submit` in hopes of being more performant [by rearchitecting things so that more work could be done in parallel], but ended up causing the following issues: - could not be used with repos that disabled GitHub issues: #371 - unexpected failures when trying to convert a placeholder issue to a pull request (such as #384) meant that users often found themselves with stale placeholder issues - third-party tools, such as Slack apps, that have triggers based on the creation of new GitHub issues, find this noisy: #383 This diff changes `sl pr submit` such that it defaults to the previous behavior (in which pull requests are created in series, rather than in parallel, and is subject to a race condition where pull request numbers may not match branch numbers), though for now, it still makes the old behavior available behind a boolean config, `github.placeholder-strategy`. Because quite a few changes were made to `eden/scm/edenscm/ext/github/submit.py` since D42050143 (e77e67b) was committed, this diff is not a straight revert of the original diff. Reviewed By: muirdm Differential Revision: D42550052 fbshipit-source-id: 68d6d1e00b5af2d166b7e3aab2dda959fae5de82
- Loading branch information