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

Issue 2875543002: [recipe_modules/step] do not set cwd if it is start_dir. (Closed)

Created:
3 years, 7 months ago by iannucci
Modified:
3 years, 7 months ago
Reviewers:
dnj, nodir
CC:
chromium-reviews, infra-reviews+recipes-py_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[recipe_modules/step] do not set cwd if it is start_dir. This makes expectations consistent (i.e. steps that are run without cwd and steps run in start_dir have the same representation in expectations, because they have the same behavior). R=dnj@chromium.org BUG= Review-Url: https://codereview.chromium.org/2875543002 Committed: https://github.com/luci/recipes-py/commit/c93ed98c3c3e6c9be82e88496e55cb1f3dd13372

Patch Set 1 #

Patch Set 2 : fix example #

Patch Set 3 : fix take 2 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -8 lines) Patch
M recipe_modules/step/api.py View 2 chunks +3 lines, -3 lines 0 comments Download
M recipe_modules/step/example.py View 1 2 4 chunks +13 lines, -5 lines 2 comments Download
M recipe_modules/step/example.expected/basic.json View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M recipe_modules/step/example.expected/defer_results.json View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M recipe_modules/step/example.expected/exceptional.json View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M recipe_modules/step/example.expected/infra_failure.json View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M recipe_modules/step/example.expected/invalid_access.json View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M recipe_modules/step/example.expected/warning.json View 1 2 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
iannucci
PTAL
3 years, 7 months ago (2017-05-10 01:42:28 UTC) #7
nodir
lgtm https://codereview.chromium.org/2875543002/diff/10009/recipe_modules/step/example.py File recipe_modules/step/example.py (right): https://codereview.chromium.org/2875543002/diff/10009/recipe_modules/step/example.py#newcode49 recipe_modules/step/example.py:49: api.step('something', ['bash', '-c', 'echo Why hello, there, in ...
3 years, 7 months ago (2017-05-10 01:52:25 UTC) #13
iannucci
https://codereview.chromium.org/2875543002/diff/10009/recipe_modules/step/example.py File recipe_modules/step/example.py (right): https://codereview.chromium.org/2875543002/diff/10009/recipe_modules/step/example.py#newcode49 recipe_modules/step/example.py:49: api.step('something', ['bash', '-c', 'echo Why hello, there, in a ...
3 years, 7 months ago (2017-05-10 01:56:51 UTC) #14
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/2875543002/10009
3 years, 7 months ago (2017-05-10 01:57:07 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:10009) as https://github.com/luci/recipes-py/commit/c93ed98c3c3e6c9be82e88496e55cb1f3dd13372
3 years, 7 months ago (2017-05-10 02:00:06 UTC) #19
nodir
On 2017/05/10 02:00:06, commit-bot: I haz the power wrote: > Committed patchset #3 (id:10009) as ...
3 years, 7 months ago (2017-05-17 17:37:10 UTC) #20
nodir
3 years, 7 months ago (2017-05-17 17:38:40 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:10009) has been created in
https://codereview.chromium.org/2886903004/ by nodir@chromium.org.

The reason for reverting is: see comment 20.

Powered by Google App Engine
This is Rietveld 408576698