You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's good practice to also manually test your recipes. You can test your recipe
72
+
changes against a build that was performed with the same recipes. To do so
73
+
follow these steps:
74
+
- authenticate with `led auth-login`
75
+
- select a particular build that ran with your target recipe ([example](https://ci.chromium.org/ui/p/devtools-frontend/builders/try/dtf_linux_dbg/14161))
76
+
- got to Infra tab and collect the Buildbucket id (8700153319150087425 for the example above)
77
+
- run `led get-build --real-build 8700153319150087425 | led edit-recipe-bundle | led edit-system -p 25 | led launch` while in your local recipe checkout
78
+
- collect the output link to your test build and verify that you got the expected result
79
+
80
+
## Pin older version of DevTools recipes to a branch
81
+
82
+
Updating a recipe that depends on DevTools repo recent changes can break the
83
+
build in beta/stable/extended branches. If those changes cannot be back-merged
84
+
into the branches you can pin the older version of the recipe to the branches in
85
+
infra/config.
86
+
87
+
To do so update the `legacy_recipe` config in `definitions.star` with the number
88
+
of the last branch you need the old version of the recipe to run on and with the
89
+
revision hash of that version. Branches with number higher than the one you
90
+
configured will run ToT recipe version. [Example](https://crrev.com/c/7003685)
91
+
71
92
## Updating test commands in the infrastructure
72
93
73
94
The DevTools recipes are defined in
@@ -228,6 +249,17 @@ Below is a detailed description of what happens in such a build:
228
249
- fail the builder if tests failed in the deflaking phase
229
250
- otherwise report build as passing
230
251
252
+
## Skip flake detection
253
+
254
+
Test that are already flaky can end up being updated in CLs that do not deal
255
+
with the original flakiness nor can be blamed for introducing or increasing the
256
+
flakiness of the test. However CQ builder will fail in Flake Detection steps
257
+
because they picked up the test as it was being touched.
258
+
259
+
You can skip Flake Detection for your tests by adding the `Skip-Flake-Detection`
260
+
CL footer (see example [CL](https://crrev.com/c/6994031)). Make sure you use the
261
+
full path to your test.
262
+
231
263
### Common build failures
232
264
233
265
The first place where a build usually fails is on `bot_update` and this usually
0 commit comments