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

Issue 1001183002: Make allow_subannotations more robust. (Closed)

Created:
5 years, 9 months ago by luqui
Modified:
5 years, 8 months ago
Reviewers:
iannucci
CC:
chromium-reviews, cmp-cc_chromium.org, kjellander-cc_chromium.org, stip+watch_chromium.org
Target Ref:
refs/heads/master
Project:
tools
Visibility:
Public.

Description

Make allow_subannotations more robust. This patch makes the recipe engine parse and re-emit subannotations when allow_subannotations is True. This means that any of the subannotator's steps which are duplicates of other steps executed will be disambiguated. When an allow_subannotations step is actually emits annotations, an (end) step is emitted after it is done to have something to hang metadata on (it also conveniently communicates when we re-enter recipes). BUG=466409 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=294727

Patch Set 1 : Moved step disambiguation to the recipe engine #

Patch Set 2 : Changed _step_history to _step_results, including StepData #

Patch Set 3 : Oops amend previous patchset #

Patch Set 4 : Another amend, fixed another mutable StepData problem #

Patch Set 5 : Implementation of subannotations (with engine refactor) #

Total comments: 3

Patch Set 6 : Only emit (end) when subannotations were actually emitted #

Total comments: 13

Patch Set 7 : fixnits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -78 lines) Patch
M scripts/common/annotator.py View 1 2 3 4 5 6 6 chunks +23 lines, -17 lines 0 comments Download
M scripts/slave/annotated_run.py View 1 2 3 4 5 6 10 chunks +141 lines, -51 lines 0 comments Download
M scripts/slave/recipe_modules/step/api.py View 2 chunks +0 lines, -9 lines 0 comments Download
A scripts/slave/recipes/example/subannotations.py View 1 2 3 4 5 1 chunk +48 lines, -0 lines 0 comments Download
A scripts/slave/recipes/example/subannotations.expected/basic.json View 1 2 3 4 5 1 chunk +67 lines, -0 lines 0 comments Download
M scripts/slave/unittests/recipe_simulation_test.py View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (3 generated)
luqui
ptal Remaining issues: * Running expectations, many tests added (start) and (end) versions because apparently ...
5 years, 9 months ago (2015-03-14 04:48:03 UTC) #2
luqui
+ offline comments https://codereview.chromium.org/1001183002/diff/80001/scripts/common/annotator.py File scripts/common/annotator.py (right): https://codereview.chromium.org/1001183002/diff/80001/scripts/common/annotator.py#newcode466 scripts/common/annotator.py:466: def run_step(stream, name, cmd, This function ...
5 years, 9 months ago (2015-03-23 23:26:33 UTC) #3
luqui
ptal https://codereview.chromium.org/1001183002/diff/80001/scripts/common/annotator.py File scripts/common/annotator.py (right): https://codereview.chromium.org/1001183002/diff/80001/scripts/common/annotator.py#newcode466 scripts/common/annotator.py:466: def run_step(stream, name, cmd, On 2015/03/23 23:26:32, luqui ...
5 years, 9 months ago (2015-03-27 22:46:58 UTC) #4
iannucci
lgtm. probably want to PSA the sherriff/troopers +blink +v8 before this lands, and be ready ...
5 years, 8 months ago (2015-04-03 20:46:00 UTC) #5
luqui
I'm planning on landing this around noon tomorrow https://codereview.chromium.org/1001183002/diff/100001/scripts/common/annotator.py File scripts/common/annotator.py (right): https://codereview.chromium.org/1001183002/diff/100001/scripts/common/annotator.py#newcode543 scripts/common/annotator.py:543: def ...
5 years, 8 months ago (2015-04-07 23:26:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1001183002/120001
5 years, 8 months ago (2015-04-08 19:15:02 UTC) #9
commit-bot: I haz the power
Committed patchset #7 (id:120001) as http://src.chromium.org/viewvc/chrome?view=rev&revision=294727
5 years, 8 months ago (2015-04-08 19:19:07 UTC) #10
luqui
5 years, 8 months ago (2015-04-08 20:57:21 UTC) #11
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.chromium.org/1071733003/ by luqui@chromium.org.

The reason for reverting is: Maybe it broke extract_build.

Powered by Google App Engine
This is Rietveld 408576698