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

Issue 2885023004: [step_runner] Add a Placeholder Exception step when rendering placeholders raises a StepFailure. (Closed)

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

Description

[step_runner] Add a Placeholder Exception step when rendering placeholders raises a StepFailure. Previously an exception here would potentially allow the recipe to attempt to obtain the active_result in a finally clause, which would obscure the original error. With this change, both exceptions will render. R=tansell@chromium.org BUG=721466 Review-Url: https://codereview.chromium.org/2885023004 Committed: https://github.com/luci/recipes-py/commit/632d231c826e13b02ade64d77ed2a41e25aa6fb3

Patch Set 1 #

Patch Set 2 : include test #

Patch Set 3 : fix test #

Patch Set 4 : ... actually add expectation #

Total comments: 9

Patch Set 5 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -9 lines) Patch
M recipe_engine/step_runner.py View 1 2 3 4 2 chunks +21 lines, -9 lines 0 comments Download
A recipes/engine_tests/step_stack_exhaustion.py View 1 2 3 4 1 chunk +35 lines, -0 lines 0 comments Download
A recipes/engine_tests/step_stack_exhaustion.expected/basic.json View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (23 generated)
iannucci
3 years, 7 months ago (2017-05-17 07:34:26 UTC) #1
iannucci
Running the test recipe shows: .... some normal stuff ... some step @@@STEP_CLOSED@@@ @@@SEED_STEP@bad step@@@ ...
3 years, 7 months ago (2017-05-17 07:35:52 UTC) #6
iannucci
+tandrii and phajdan
3 years, 7 months ago (2017-05-17 07:41:13 UTC) #11
tandrii(chromium)
grammar nazi newbie question: why "an finally clause" and not "a finally clause"?
3 years, 7 months ago (2017-05-17 07:50:34 UTC) #18
iannucci
On 2017/05/17 07:50:34, tandrii(chromium) wrote: > grammar nazi newbie question: why "an finally clause" and ...
3 years, 7 months ago (2017-05-17 07:51:17 UTC) #20
tandrii(chromium)
lgtm with pep8 nazi nits https://codereview.chromium.org/2885023004/diff/60001/recipe_engine/step_runner.py File recipe_engine/step_runner.py (right): https://codereview.chromium.org/2885023004/diff/60001/recipe_engine/step_runner.py#newcode179 recipe_engine/step_runner.py:179: step_config = None # ...
3 years, 7 months ago (2017-05-17 08:00:19 UTC) #21
iannucci
https://codereview.chromium.org/2885023004/diff/60001/recipe_engine/step_runner.py File recipe_engine/step_runner.py (right): https://codereview.chromium.org/2885023004/diff/60001/recipe_engine/step_runner.py#newcode179 recipe_engine/step_runner.py:179: step_config = None # Make sure we use rendered ...
3 years, 7 months ago (2017-05-17 08:06:51 UTC) #24
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/2885023004/80001
3 years, 7 months ago (2017-05-17 08:09:53 UTC) #29
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 08:12:50 UTC) #32
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://github.com/luci/recipes-py/commit/632d231c826e13b02ade64d77ed2a41e25a...

Powered by Google App Engine
This is Rietveld 408576698