-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
log_vc_info: support large diffs #5117
Comments
The project diff was ~62k lines. Because of the size of the diff the svn diff had exhausted Python's buffer causing the svn command to hang (write blocked). There is some special logic in the subprocpool which handles this case. Either we port this logic into the subprocess calls that |
(Removing the question label, this was about timeouts) |
cylc-flow/cylc/flow/subprocpool.py Lines 347 to 397 in 277c7a5
|
I've seen a case where
svn diff --internal-diff --non-interactive
was hanging for some reason. Not sure why just yet but it might be worth putting a default timeout onsvn
commands called by thelog_vc_info
plugin to be safe.Tagged against 8.0.2 but not a critical priority unless others run into it.
When the process was killed the only logged error was:
The
-9
presumably coming fromkill -9
looking at the code.Pull requests welcome!
This is an Open Source project - please consider contributing a bug fix
yourself (please read
CONTRIBUTING.md
before starting any work though).The text was updated successfully, but these errors were encountered: