1Android RoboCop Documentation 2=========================== 3 4### Contents ### 5 6* [What does a Android RoboCop do?](#what_is_a_robocop) 7* [Android Autorollers](#autoroller_doc) 8* [View current and upcoming RoboCops](#view_current_upcoming_robocops) 9* [How to swap RoboCop shifts](#how_to_swap) 10 11 12<a name="what_is_a_robocop"></a> 13What does a Android RoboCop do? 14----------------------- 15 16The RoboCop has two primary jobs: 17 181) Monitor and approve the semi-autonomous [git merges](https://googleplex-android-review.git.corp.google.com/#/q/owner:31977622648%2540project.gserviceaccount.com+status:open) from Skia's repository into the Android source tree. See autoroller documentation <a href="#autoroller_doc">here</a> for details on how to interact with it. 19 202) Stay on top of incoming Android-related bugs in both the [Skia](https://bugs.chromium.org/p/skia/issues/list?can=2&q=OpSys%3DAndroid&sort=-id&colspec=ID+Type+Status+Priority+Owner+Summary&cells=tiles) and [Android](https://buganizer.corp.google.com/issues?q=assignee:skia-android-triage%20status:open) bug trackers. For Skia bugs, this means triaging and assigning all Android bugs that are currently unassigned. For Android, this means following the [Android guidelines](go/android-buganizer) to verifying that all Skia bugs are TL-triaged (if not reach out to djsollen@). 21 22The RoboCop's job is NOT to address issues in Perf and Gold. You'll get your chance when you are the general Skia sheriff. 23 24 25<a name="autoroller_doc"></a> 26Android Autorollers 27------------------- 28 29The Android autoroller into the master branch runs on [https://android-master-roll.skia.org](android-master-roll.skia.org) and is accessible only to Googlers.<br/> 30The autoroller's status is displayed on Skia's [status page](https://status.skia.org/). 31 32You can send the autoroller into dry run mode via the UI. The uploaded change will not autosubmit when it is in dry run mode. 33 34You can also stop the autoroller via the UI. This is useful in cases where a failure needs to be investigated and you do not want to waste TH resources by running unnecessary tests. 35 36If the autoroller displays an error in the UI then look for more detail in it's [cloud logs](https://pantheon.corp.google.com/logs/viewer?project=google.com:skia-buildbots&resource=logging_log%2Fname%2Fandroid-master-autoroll&logName=projects%2Fgoogle.com:skia-buildbots%2Flogs%2Fautoroll). 37 38If you need any more information about the autoroller please look at [skia:5538](https://bugs.chromium.org/p/skia/issues/detail?id=5538) or ask rmistry@ / skiabot@. 39 40We also have autorollers into release branches (also restricted only to Googlers): 41 42* [https://android-o-roll.skia.org](https://android-o-roll.skia.org) ([cloud logs](https://pantheon.corp.google.com/logs/viewer?project=google.com:skia-buildbots&resource=logging_log%2Fname%2Fandroid-o-autoroll&logName=projects%2Fgoogle.com:skia-buildbots%2Flogs%2Fautoroll)). 43 44Changes created by these rollers need to be manually approved.<br/> 45The changes created by the release rollers: 46 47* Include all authors of merged changes so that they can watch the roll. 48* Extracts all buganizer bugs of the form 'BUG=b/123' or 'Bug: b/456' and creates a single line in the merge change 'Bug: 123, 456'. 49* Collects all 'Test: ' lines and carries them over to the merge change. 50 51 52<a name="view_current_upcoming_robocops"></a> 53View current and upcoming RoboCops 54---------------------------------- 55 56The list of RoboCops is specified in the [skia-tree-status web app](http://skia-tree-status.appspot.com/robocop). The current RoboCop is highlighted in green. 57The banner on the top of the [status page](https://status.skia.org) also displays the current RoboCop. 58 59 60<a name="how_to_swap"></a> 61How to swap RoboCop shifts 62-------------------------- 63 64If you need to swap shifts with someone (because you are out sick or on vacation), please get approval from the person you want to swap with. Then send an email to skia-android@google.com and cc rmistry@. 65