Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(883)

Issue 2241843002: gclient: kill git fetch operation that hangs. (Closed)

Created:
4 years, 4 months ago by tandrii(chromium)
Modified:
4 years, 3 months ago
Reviewers:
Ryan Tseng, hinoka
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

gclient: kill git fetch operation that hangs. This provides env variable GCLIENT_KILL_GIT_FETCH_AFTER that kills git fetch if it produces no output for that many seconds. Note that this is not final patch, but an experiment. See http://crbug.com/635641#c24 for the deployment plan. BUG=635641 R=hinoka@chromium.org Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/f8757b7e02226594655230ccbeae3543c7dc49c6

Patch Set 1 #

Patch Set 2 : gclient: kill git fetch operation that hangs. #

Patch Set 3 : works #

Patch Set 4 : i love pylint #

Patch Set 5 : better #

Patch Set 6 : no more thread respawns #

Patch Set 7 : Final = not really #

Patch Set 8 : Final. #

Total comments: 1

Patch Set 9 : Pylint. #

Patch Set 10 : Pylint. #

Patch Set 11 : De-flakify test. #

Patch Set 12 : Nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -2 lines) Patch
M gclient_scm.py View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M gclient_utils.py View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +65 lines, -1 line 0 comments Download
M tests/gclient_scm_test.py View 1 2 3 4 5 6 7 2 chunks +62 lines, -0 lines 0 comments Download
M tests/gclient_utils_test.py View 1 2 3 4 5 6 7 8 9 10 3 chunks +63 lines, -0 lines 0 comments Download

Messages

Total messages: 60 (48 generated)
tandrii(chromium)
PTL at my approach first, then if you like it, at tests.
4 years, 4 months ago (2016-08-16 16:37:28 UTC) #18
Ryan Tseng
I'm wary of starting and stopping a thread everytime a line is printed. Threads are ...
4 years, 4 months ago (2016-08-16 23:59:01 UTC) #20
tandrii(chromium)
On 2016/08/16 23:59:01, Ryan Tseng wrote: > I'm wary of starting and stopping a thread ...
4 years, 4 months ago (2016-08-17 11:16:30 UTC) #21
tandrii(chromium)
See PS#6 - no more thread creation on every char.
4 years, 4 months ago (2016-08-17 11:59:37 UTC) #26
Ryan Tseng
Given that you'd otherwise be able to halve this CL (by removing the nag_interval/fn abstraction ...
4 years, 4 months ago (2016-08-18 18:32:45 UTC) #29
tandrii(chromium)
On 2016/08/18 18:32:45, Ryan Tseng wrote: > Given that you'd otherwise be able to halve ...
4 years, 4 months ago (2016-08-18 18:56:22 UTC) #30
tandrii(chromium)
PTAL not really halved, but removed unnecessary stuff yet kept test thorough. Deployment plan: see ...
4 years, 4 months ago (2016-08-24 15:06:10 UTC) #41
Ryan Tseng
lgtm! This is easier to follow. remember to update description
4 years, 4 months ago (2016-08-25 00:06:21 UTC) #52
tandrii(chromium)
On 2016/08/25 00:06:21, Ryan Tseng wrote: > lgtm! This is easier to follow. > > ...
4 years, 3 months ago (2016-08-25 10:55:28 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2241843002/220001
4 years, 3 months ago (2016-08-25 10:55:31 UTC) #57
commit-bot: I haz the power
Committed patchset #12 (id:220001) as https://chromium.googlesource.com/chromium/tools/depot_tools/+/f8757b7e02226594655230ccbeae3543c7dc49c6
4 years, 3 months ago (2016-08-25 11:02:26 UTC) #59
tandrii(chromium)
4 years, 2 months ago (2016-10-11 12:16:27 UTC) #60
Message was sent while issue was closed.
A revert of this CL (patchset #12 id:220001) has been created in
https://codereview.chromium.org/2410853002/ by tandrii@chromium.org.

The reason for reverting is: Didn't help..

Powered by Google App Engine
This is Rietveld 408576698