Here's the rest of the review. http://codereview.appspot.com/5431048/diff/3002/misc/dashboard/app/build/build.go File misc/dashboard/app/build/build.go (right): http://codereview.appspot.com/5431048/diff/3002/misc/dashboard/app/build/build.go#newcode100 misc/dashboard/app/build/build.go:100: // It must ...
13 years, 3 months ago
(2011-11-24 06:20:28 UTC)
#4
LGTM http://codereview.appspot.com/5431048/diff/3/misc/dashboard/app/build/build.go File misc/dashboard/app/build/build.go (right): http://codereview.appspot.com/5431048/diff/3/misc/dashboard/app/build/build.go#newcode230 misc/dashboard/app/build/build.go:230: // if this isn't the first Commit test ...
13 years, 3 months ago
(2011-11-25 01:09:24 UTC)
#6
LGTM
http://codereview.appspot.com/5431048/diff/3/misc/dashboard/app/build/build.go
File misc/dashboard/app/build/build.go (right):
http://codereview.appspot.com/5431048/diff/3/misc/dashboard/app/build/build.g...
misc/dashboard/app/build/build.go:230: // if this isn't the first Commit test
the parent commit exists
On 2011/11/24 23:30:29, adg wrote:
> On 2011/11/24 06:20:28, dsymonds wrote:
> > seems this should happen *before* the datastore.Put in line 227.
>
> Does it matter? If it fails then the whole transaction is rolled back.
It doesn't matter for correctness, but it'll save an RPC if there's something
weird going on. Up to you.
On 25 November 2011 12:09, <dsymonds@golang.org> wrote: > LGTM > > > http://codereview.appspot.com/5431048/diff/3/misc/dashboard/app/build/build.go > File ...
13 years, 3 months ago
(2011-11-25 01:53:32 UTC)
#8
On 25 November 2011 12:09, <dsymonds@golang.org> wrote:
> LGTM
>
>
> http://codereview.appspot.com/5431048/diff/3/misc/dashboard/app/build/build.go
> File misc/dashboard/app/build/build.go (right):
>
>
http://codereview.appspot.com/5431048/diff/3/misc/dashboard/app/build/build.g...
> misc/dashboard/app/build/build.go:230: // if this isn't the first Commit
> test the parent commit exists
> On 2011/11/24 23:30:29, adg wrote:
>>
>> On 2011/11/24 06:20:28, dsymonds wrote:
>> > seems this should happen *before* the datastore.Put in line 227.
>
>> Does it matter? If it fails then the whole transaction is rolled back.
>
> It doesn't matter for correctness, but it'll save an RPC if there's
> something weird going on. Up to you.
Clarity of code is more important to me than saving an RPC in an
unusual failure state.
Issue 5431048: code review 5431048: dashboard: builder-facing implementation and tests
(Closed)
Created 13 years, 3 months ago by adg
Modified 13 years, 3 months ago
Reviewers:
Base URL:
Comments: 31