Skip to content

Conversation

@zeripath
Copy link
Contributor

After cancelling the context we still need to wait for the
command to finish otherwise zombie processes may occur

Fix #13987

Signed-off-by: Andrew Thornton art27@cantab.net

After cancelling the context we still need to wait for the
command to finish otherwise zombie processes may occur

Fix go-gitea#13987

Signed-off-by: Andrew Thornton <art27@cantab.net>
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 15, 2020
@codecov-io
Copy link

Codecov Report

Merging #14006 (ed67755) into master (b8c58ed) will decrease coverage by 0.10%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #14006      +/-   ##
==========================================
- Coverage   42.23%   42.12%   -0.11%     
==========================================
  Files         710      710              
  Lines       77261    77259       -2     
==========================================
- Hits        32629    32544      -85     
- Misses      39266    39363      +97     
+ Partials     5366     5352      -14     
Impacted Files Coverage Δ
modules/git/command.go 87.50% <0.00%> (-0.85%) ⬇️
modules/indexer/stats/queue.go 52.94% <0.00%> (-11.77%) ⬇️
modules/notification/ui/ui.go 84.72% <0.00%> (-11.12%) ⬇️
models/issue_comment.go 45.46% <0.00%> (-7.26%) ⬇️
modules/queue/unique_queue_channel.go 58.06% <0.00%> (-6.46%) ⬇️
modules/notification/mail/mail.go 33.33% <0.00%> (-5.75%) ⬇️
modules/git/commit.go 49.67% <0.00%> (-3.95%) ⬇️
modules/notification/base/null.go 74.28% <0.00%> (-2.86%) ⬇️
modules/notification/notification.go 83.92% <0.00%> (-2.68%) ⬇️
models/notification.go 66.25% <0.00%> (-0.99%) ⬇️
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b8c58ed...ed67755. Read the comment docs.

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Dec 16, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 17, 2020
@6543
Copy link
Member

6543 commented Dec 17, 2020

🚀

@6543 6543 merged commit 80a299d into go-gitea:master Dec 17, 2020
@6543
Copy link
Member

6543 commented Dec 17, 2020

@zeripath pleace backport :)

@zeripath zeripath deleted the fix-13987-zombie-zombie-zombie branch December 17, 2020 18:17
zeripath added a commit to zeripath/gitea that referenced this pull request Dec 17, 2020
Backport go-gitea#14006

After cancelling the context we still need to wait for the
command to finish otherwise zombie processes may occur

Fix go-gitea#13987

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
6543 pushed a commit that referenced this pull request Dec 17, 2020
Backport #14006

After cancelling the context we still need to wait for the
command to finish otherwise zombie processes may occur

Fix #13987
@zeripath zeripath added the backport/done All backports for this PR have been created label Dec 26, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Jan 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lots of zombie Git processes

6 participants