Sheriffing/Schedule for Tasks performed by Code Sheriffs
Version: 3 (Last Updated 2019-09-25)
|Watch trees||Always||Watch the following trees for failures, classify them, do backouts and escalate infra issues:
Open them up to the oldest push with unclassified failures (excluding backfills and retriggers added >4h after the push) or running jobs.
|Email reading||Start of shift, every 30 minutes||Help other people by answering needinfo requests etc.|
|Read new, not suggested bugs||Start of shift||Get used to new frequent failures created since the last shift and which Treeherder doesn’t suggest. These are added at the top and further down.|
|Land patches and do uplifts to beta||Every 2h||Check for patches waiting to land (have keyword “checkin-needed” at Bugzilla) or to be uplifted from central to beta. Beta patches shall have landed and build and test coverage before 9am Pacific Time on Mondays and Thursdays when betas are built. Release Management might request to land more on short notice.|
|Merge integration trees (no central to autoland)|| Mo-Fr every 6h
Sa+Su: every 12h
|Merge autoland and mozilla-inbound to mozilla-central and mozilla-central to autoland if necessary|
|Merge central to inbound||Tuesdays + Thursdays with the 10am UTC merges||Merge central to inbound|
|central-as-beta simulations||Daily||Simulate the code in mozilla-central as mozilla-beta|
|beta-as-release simulation||Weekly during the Thursday night shift||Simulate the code in mozilla-beta as mozilla-release|
|version increase simulation||The first time beta simulations are done after the version number got increased (usually a Tuesday), later as needed - at least a week before the next version increase to verify fixes worked and no new issues have been added.||Simulate the code in mozilla-central with the next higher version number.|
|Merge mozilla-central to mozilla-beta||Daily if late in release cycle||After beta simulations without any existing perma failures, merge mozilla-central to mozilla-beta. Use the revisions from the beta simulations.
See dates in beta simulation document when this has to be done.
|Clean up list of bugs which don’t get suggested||Weekly||Check if bugs are still active or needed for beta. Preferable on the weekend when there is more time for this.