Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(70)

Issue 38720044: code review 38720044: go.tools/dashboard/builder: do not fatal on subrepo fet... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by jsing
Modified:
12 years, 6 months ago
Reviewers:
adg
CC:
adg, dvyukov, golang-dev
Visibility:
Public.

Description

go.tools/dashboard/builder: do not fatal on subrepo fetch errors When fetching repos it is not uncommon for a 500 or 503 to be returned from code.google.com. When this happens, log the error and continue so that we try again later, rather than treating this as fatal.

Patch Set 1 #

Patch Set 2 : diff -r 027d1cf6c8c1 https://code.google.com/p/go.tools #

Patch Set 3 : diff -r b77e326362d5 https://code.google.com/p/go.tools #

Patch Set 4 : diff -r 563f7f5657bb https://code.google.com/p/go.tools #

Patch Set 5 : diff -r 563f7f5657bb https://code.google.com/p/go.tools #

Patch Set 6 : diff -r 563f7f5657bb https://code.google.com/p/go.tools #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M dashboard/builder/main.go View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 5
jsing
Hello adg@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.tools
12 years, 6 months ago (2013-12-10 13:21:31 UTC) #1
dvyukov
I would add some backoff, because it's usually either rate limiting or the repo is ...
12 years, 6 months ago (2013-12-10 13:32:22 UTC) #2
jsing
On 2013/12/10 13:32:22, dvyukov wrote: > I would add some backoff, because it's usually either ...
12 years, 6 months ago (2013-12-10 14:29:33 UTC) #3
adg
LGTM I'm happy with the simple approach.
12 years, 6 months ago (2013-12-11 02:38:34 UTC) #4
jsing
12 years, 6 months ago (2013-12-11 12:47:46 UTC) #5
*** Submitted as
https://code.google.com/p/go/source/detail?r=efda98edbd15&repo=tools ***

go.tools/dashboard/builder: do not fatal on subrepo fetch errors

When fetching repos it is not uncommon for a 500 or 503 to be returned
from code.google.com. When this happens, log the error and continue so
that we try again later, rather than treating this as fatal.

R=adg, dvyukov
CC=golang-dev
https://codereview.appspot.com/38720044
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b