Wez | d91cbbe | 2018-10-02 00:11:19 | [diff] [blame] | 1 | # Cr-Fuchsia Gardening |
| 2 | |
| 3 | ## Gardener Responsibilities |
| 4 | |
| 5 | In priority order, the responsibilities of the Fuchsia Gardener are as follows (though see notes below!): |
| 6 | |
| 7 | 1. **Chromium waterfall:** Keep [the Fuchsia bots on the Chromium waterfall](https://ci.chromium.org/p/chromium/g/chromium.linux/console) green. |
| 8 | 1. Join the #chromium IRC channel on Freenode. |
| 9 | 1. Not all waterfall bots have a corresponding try-bot configuration. |
| 10 | 1. E.g. the Cast Fuchsia bots are not run on the CQ by default. |
| 11 | 1. E.g. the CQ builds have DCHECKs enabled, whereas our Cast waterfall bots don't. |
| 12 | 1. **Chromium try-bots:** Ensure that Fuchsia bots are not causing CQ flake. |
| 13 | 1. Join the #chromium IRC channel on Freenode. |
| 14 | 1. Watch for try-flakes emails & investigate any tests/suites reported flakey. |
| 15 | 1. Watch for IRC mentions of flakiness on the Fuchsia bots. |
| 16 | 1. **Fuchsia SDK rolls:** Keep [the Fuchsia SDK auto-roller](https://autoroll.skia.org/r/fuchsia-sdk-chromium-autoroll) working. |
| 17 | 1. Watch for emailed status updates from auto-roller CLs. |
| 18 | 1. If a roll CL fails, check the failed bot to confirm SDK-related fail vs other flake. |
| 19 | 1. If it was an actual SDK-related failure, note the latest auto-roller patch-Id, and stop the auto-roller. |
| 20 | 1. Create a local branch e.g. with "`git checkout -b sdkRoll origin`". |
| 21 | 1. Pull-down the auto-roll CL with "`git cl patch <patch-Id> && gclient sync`". |
| 22 | 1. Clear the CL metadata with "`git cl issue 0`". |
| 23 | 1. Make any necessary modifications for compatibility with the new SDK. |
| 24 | 1. Commit the changes and run "`git cl upload`" to upload a new CL. |
| 25 | 1. Edit the CL description, which will include the git commit description from the auto-roller CL, making it easy to provide a consistent description. |
| 26 | 1. Note that if the auto-roller is blocked for a long time then it may be easier to fix the most-recent failed roll, and roll from there, to avoid having to deal with several different causes of breakage in a single roll! |
| 27 | 1. **FYI waterfall:** Keep our bots on the [FYI waterfall](https://ci.chromium.org/p/chromium/g/chromium.fyi/console) green. |
| 28 | 1. FYI bots don't block the CQ, but still provide early-warning of regressions. |
| 29 | 1. They're also our staging-ground for bringing complex test suites to the CQ/waterfall. |
| 30 | |
| 31 | While the Gardener takes primary responsibility for each of these areas during their rotation, that does not mean that they must do all the work - if another teammate happens to have started fixing the SDK roll, un-breaking the bots, or sending you CLs to fix our Debug builder (look, ma! No try-bot!), then lucky you, your Gardening job is done. :) |
| 32 | |
| 33 | ## Optional Gardener Tasks |
| 34 | |
| 35 | The waterfall is green, the try-bots reliable, SDK is rolling and pigs soar majestically in the sky. Fear not, gentle Gardener, you still have a valuable role to play! |
| 36 | |
| 37 | * Look for tests that have been filtered under Fuchsia, and diagnose them. |
| 38 | * File a new bug, or upate the filter to refer to existing bugs, as appropriate. |