patchcheck.py
hangs infinitely on branches with merges from main
#103300
Labels
type-bug
An unexpected behavior, bug, or error
Bug report
Tools/patchcheck/patchcheck.py
stalls onGetting base branch for PR ...
on my Windows system if a processed branch has a moderately large diff relative tomain
.It's easy to achieve with merging
main
into the branch. For example,git diff --name-status origin/main
gives 8KB worth of text for gh-103244:The reason is waiting for Git using
Popen.wait()
. According to the documentation:As a result, the Azure Pipelines PR buildbot with a larger pipe buffer runs the script with no issue while my desktop edition fails to do so.
Your environment
Linked PRs
Popen.wait()
deadlock in patchcheck.py #103301The text was updated successfully, but these errors were encountered: