Skip to content

[IMP] runbot: kill hanging git child process#1418

Draft
d-fence wants to merge 1 commit into
19.0from
19.0-kill-hanging-git-moc
Draft

[IMP] runbot: kill hanging git child process#1418
d-fence wants to merge 1 commit into
19.0from
19.0-kill-hanging-git-moc

Conversation

@d-fence
Copy link
Copy Markdown
Contributor

@d-fence d-fence commented May 27, 2026

When fetching from GitHub, the git process sometimes hangs for a long time regardless of whether https or ssh is used. Investigation showed that the last child process of the git command is always the one hanging. Killing that subprocess allows git to retry the operation without data loss.

This commit monitors the git process and kills its hanging child process on timeout.

@d-fence d-fence force-pushed the 19.0-kill-hanging-git-moc branch from 7f7baf5 to d2ae757 Compare May 27, 2026 13:07
When fetching from GitHub, the git process sometimes hangs for a long
time regardless of whether https or ssh is used. Investigation showed
that the last child process of the git command is always the one
hanging. Killing that subprocess allows git to retry the operation
without data loss.

This commit monitors the git process and kills its hanging child
process on timeout.
@d-fence d-fence force-pushed the 19.0-kill-hanging-git-moc branch from d2ae757 to 61bdc4e Compare May 27, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant