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

Issue 208830043: Ignore command from included .isolate when the current one define a command. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 4 months ago by M-A
Modified:
10 years, 4 months ago
Reviewers:
vadimsh
CC:
swarming-eng_googlegroups.com, csharp+cc_chromium.org, vadimsh+cc_chromium.org
Base URL:
https://code.google.com/p/swarming.client@master
Visibility:
Public.

Description

Ignore command from included .isolate when the current one define a command. Fix issue with command when evaluating preference; since the whole tree was flattened, there was no information about which combination should take precendence. The problem wasn't with the 'or' operator but with the selection of the most appropriate 'command'. R=vadimsh@chromium.org BUG=swarming:211 Committed: https://code.google.com/p/swarming/source/detail?repo=client&r=b61a1802f5ef4bb8c7b81060cc80add47e6cf302

Patch Set 1 #

Total comments: 2

Patch Set 2 : Reworded #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -55 lines) Patch
M isolate_format.py View 1 2 chunks +28 lines, -15 lines 0 comments Download
M tests/isolate_format_test.py View 9 chunks +53 lines, -15 lines 0 comments Download
M tests/isolate_test.py View 6 chunks +10 lines, -25 lines 0 comments Download

Messages

Total messages: 4
M-A
10 years, 4 months ago (2015-02-26 02:04:39 UTC) #1
vadimsh
Sorry, overlooked this CL somehow. So if root isolate contains "command" var in unreachable conditional ...
10 years, 4 months ago (2015-03-02 23:39:05 UTC) #2
M-A
https://codereview.appspot.com/208830043/diff/1/isolate_format.py File isolate_format.py (right): https://codereview.appspot.com/208830043/diff/1/isolate_format.py#newcode628 isolate_format.py:628: # command is the one with the smallest number ...
10 years, 4 months ago (2015-03-09 19:16:57 UTC) #3
M-A
10 years, 4 months ago (2015-03-09 19:19:04 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
b61a1802f5ef4bb8c7b81060cc80add47e6cf302 (presubmit successful).
Sign in to reply to this message.

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